From: Paul K. <pki...@us...> - 2005-11-01 15:39:54
|
Update of /cvsroot/octave/octave-forge/main/optim In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9317 Modified Files: polyconf.m Log Message: Clarify docs for control parameter 1-alpha Index: polyconf.m =================================================================== RCS file: /cvsroot/octave/octave-forge/main/optim/polyconf.m,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- polyconf.m 8 Sep 2005 02:00:18 -0000 1.5 +++ polyconf.m 1 Nov 2005 15:39:44 -0000 1.6 @@ -19,9 +19,10 @@ ## ## polyconf(...,1-alpha) ## -## The width of the prediction interval. The default is .05 for -## a 95% prediction interval, or erfc(1/sqrt(2)) for a one -## standard deviation confidence interval. +## Control the width of the interval. If asking for the prediction +## interval 'pi', the default is .05 for the 95% prediction interval. +## If asking for the confidence interval 'ci', the default is +## erfc(1/sqrt(2)) for a one standard deviation confidence interval. ## ## Example: ## [p,s] = polyfit(x,y,1); @@ -98,9 +99,10 @@ ## ## confidence(...,1-alpha) ## -## The width of the confidence interval. The default is .05 for -## a 95% prediction interval, or erfc(1/sqrt(2)) for a one -## standard deviation confidence interval. +## Control the width of the interval. If asking for the prediction +## interval 'pi', the default is .05 for the 95% prediction interval. +## If asking for the confidence interval 'ci', the default is +## erfc(1/sqrt(2)) for a one standard deviation confidence interval. ## ## Confidence intervals for linear system are given by: ## x' p +/- sqrt( Finv(1-a,1,df) var(x' p) ) |