Previous Page | Next Page

The LOGISTIC Procedure

Syntax: LOGISTIC Procedure

The following statements are available in PROC LOGISTIC:

PROC LOGISTIC <options> ;
BY variables ;
CLASS variable <(options)><variable <(options)>></ options> ;
CONTRAST ’label’ effect values<, effect values,></ options> ;
EXACT <’label’><INTERCEPT><effects></ options> ;
FREQ variable ;
<label:> MODEL events/trials=<effects></ options> ;
<label:> MODEL variable <(variable_options)>=<effects></ options> ;
OUTPUT <OUT=SAS-data-set><keyword=name <keyword=name>></ option> ;
ROC <’label’> <specification> </ options> ;
ROCCONTRAST <’label’><contrast></ options> ;
SCORE <options> ;
STRATA effects </ options> ;
<label:> TEST equation1 <,equation2,></ option> ;
UNITS independent1=list1 <independent2=list2 ></ option> ;
WEIGHT variable </ option> ;


The PROC LOGISTIC and MODEL statements are required. The CLASS statement (if specified) must precede the MODEL statement, and the CONTRAST, EXACT, and ROC statements (if specified) must follow the MODEL statement.

The PROC LOGISTIC, MODEL, and ROCCONTRAST statements can be specified at most once. If a FREQ or WEIGHT statement is specified more than once, the variable specified in the first instance is used. If a BY, OUTPUT, or UNITS statement is specified more than once, the last instance is used.

The rest of this section provides detailed syntax information for each of the preceding statements, beginning with the PROC LOGISTIC statement. The remaining statements are covered in alphabetical order.

Previous Page | Next Page | Top of Page