X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fregression.texi;h=de639352d001fc6d0194b66e9371333278d3136b;hb=2b34727c23cb4c291f2fc8b52a29619957f2e06a;hp=e362c7fef139a3df806109729903a6c6437a5e61;hpb=1b1837591924226078c96db15888b68beec2ef6d;p=pspp diff --git a/doc/regression.texi b/doc/regression.texi index e362c7fef1..de639352d0 100644 --- a/doc/regression.texi +++ b/doc/regression.texi @@ -20,7 +20,7 @@ the @math{k}th explanatory variable. @item The dependent variable @math{Y} has the following relationship to the explanatory variables: -@math{Y_i = b_0 + b_1 X_{1i} + ... + b_k X_{ki} + Z_i} +@math{Y_i = b_0 + b_1 X_{1i} + ... + b_k X_{ki} + Z_i} where @math{b_0, b_1, @dots{}, b_k} are unknown coefficients, and @math{Z_1,@dots{},Z_n} are independent, normally distributed @dfn{noise} terms with mean zero and common variance. @@ -45,7 +45,7 @@ linear model. REGRESSION /VARIABLES=@var{var_list} /DEPENDENT=@var{var_list} - /STATISTICS=@{ALL, DEFAULTS, R, COEFF, ANOVA, BCOV@} + /STATISTICS=@{ALL, DEFAULTS, R, COEFF, ANOVA, BCOV, CI[@var{conf}]@} /SAVE=@{PRED, RESID@} @end display @@ -61,9 +61,10 @@ are treated as explanatory variables in the linear model. All other subcommands are optional: -The @subcmd{STATISTICS} subcommand specifies the statistics to be displayed: +The @subcmd{STATISTICS} subcommand specifies which statistics are to be displayed. +The following keywords are accepted: -@table @code +@table @subcmd @item ALL All of the statistics below. @item R @@ -71,19 +72,31 @@ The ratio of the sums of squares due to the model to the total sums of squares for the dependent variable. @item COEFF A table containing the estimated model coefficients and their standard errors. +@item CI (@var{conf}) +This item is only relevant if COEFF has also been selected. It specifies that the +confidence interval for the coefficients should be printed. The optional value @var{conf}, +which must be in parentheses, is the desired confidence level expressed as a percentage. @item ANOVA Analysis of variance table for the model. @item BCOV The covariance matrix for the estimated model coefficients. +@item DEFAULT +The same as if R, COEFF, and ANOVA had been selected. +This is what you get if the /STATISTICS command is not specified, +or if it is specified without any parameters. @end table The @subcmd{SAVE} subcommand causes @pspp{} to save the residuals or predicted values from the fitted model to the active dataset. @pspp{} will store the residuals in a variable -called RES1 if no such variable exists, RES2 if RES1 already exists, -RES3 if RES1 and RES2 already exist, etc. It will choose the name of -the variable for the predicted values similarly, but with PRED as a +called @samp{RES1} if no such variable exists, @samp{RES2} if @samp{RES1} +already exists, +@samp{RES3} if @samp{RES1} and @samp{RES2} already exist, etc. It will +choose the name of +the variable for the predicted values similarly, but with @samp{PRED} as a prefix. +When @subcmd{SAVE} is used, @pspp{} ignores @cmd{TEMPORARY}, treating +temporary transformations as permanent. @node Examples @subsection Examples