X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fstatistics.texi;h=a4f03ca6dd52fcce3a1b6b8babd747c263a4633b;hb=36e519a81a4b2659596f9653f5eb10de2ffa7c2a;hp=6e8b5c67a41ed07093d8192aa9da0fe798135545;hpb=3d9f94e464bd3b760898914304d16cc9c3990f11;p=pspp diff --git a/doc/statistics.texi b/doc/statistics.texi index 6e8b5c67a4..a4f03ca6dd 100644 --- a/doc/statistics.texi +++ b/doc/statistics.texi @@ -732,14 +732,17 @@ The default is @subcmd{LISTWISE}. @cindex bivariate logistic regression @display -LOGISTIC REGRESSION [VARIABLES =] @var{dependent_var} WITH @var{var_list} +LOGISTIC REGRESSION [VARIABLES =] @var{dependent_var} WITH @var{predictors} + + [/CATEGORICAL = @var{categorical_predictors}] [@{/NOCONST | /ORIGIN | /NOORIGIN @}] [/PRINT = [SUMMARY] [DEFAULT] [CI(@var{confidence})] [ALL]] [/CRITERIA = [BCON(@var{min_delta})] [ITERATE(@var{max_interations})] - [LCON(@var{min_likelihood_delta})] [EPS(@var{min_epsilon})]] + [LCON(@var{min_likelihood_delta})] [EPS(@var{min_epsilon})] + [CUT(@var{cut_point})]] [/MISSING = @{INCLUDE|EXCLUDE@}] @end display @@ -763,14 +766,22 @@ Hence, the full model is + \dots + b_n {\bf x_n} } + +Predictor variables which are categorical in nature should be listed on the @subcmd{/CATEGORICAL} subcommand. +Simple variables as well as interactions between variables may be listed here. + If you want a model without the constant term @math{b_0}, use the keyword @subcmd{/ORIGIN}. @subcmd{/NOCONST} is a synonym for @subcmd{/ORIGIN}. An iterative Newton-Raphson procedure is used to fit the model. -The @subcmd{/CRITERIA} subcommand is used to specify the stopping criteria of the procedure. +The @subcmd{/CRITERIA} subcommand is used to specify the stopping criteria of the procedure, +and other parameters. +The value of @var{cut_point} is used in the classification table. It is the +threshold above which predicted values are considered to be 1. Values +of @var{cut_point} must lie in the range [0,1]. During iterations, if any one of the stopping criteria are satisfied, the procedure is considered complete. -The criteria are: +The stopping criteria are: @itemize @item The number of iterations exceeds @var{max_iterations}. The default value of @var{max_iterations} is 20. @@ -784,6 +795,7 @@ In other words, the probabilities are close to zero or one. The default value of @var{min_epsilon} is 0.00000001. @end itemize + The @subcmd{PRINT} subcommand controls the display of optional statistics. Currently there is one such option, @subcmd{CI}, which indicates that the confidence interval of the odds ratio should be displayed as well as its value.