The SURVEYLOGISTIC Procedure

Syntax: SURVEYLOGISTIC Procedure

The following statements are available in the SURVEYLOGISTIC procedure:

  • PROC SURVEYLOGISTIC <options>;

  • BY variables;

  • CLASS variable <(v-options)> <variable <(v-options)> …> </ v-options>;

  • CLUSTER variables;

  • CONTRAST 'label'   effect values <, …effect values> </ options>;

  • DOMAIN variables <variable*variable variable*variable*variable …>;

  • EFFECT name = effect-type (variables </ options>);

  • ESTIMATE <'label'> estimate-specification </ options>;

  • FREQ variable;

  • LSMEANS <model-effects> </ options>;

  • LSMESTIMATE model-effect lsmestimate-specification </ options>;

  • MODEL events/trials = <effects </ options>>;

  • MODEL variable <(v-options)> = <effects> </ options>;

  • OUTPUT <OUT=SAS-data-set> <options> </ option>;

  • REPWEIGHTS variables </ options>;

  • SLICE model-effect </ options>;

  • STORE <OUT=>item-store-name </ LABEL='label'>;

  • STRATA variables </ option>;

  • <label:> TEST equation1 <,, equationk> </ options>;

  • UNITS independent1 = list1 <…independentk = listk> </ option>;

  • WEIGHT variable;

The PROC SURVEYLOGISTIC and MODEL statements are required.

The CLASS, CLUSTER, CONTRAST, EFFECT, ESTIMATE, LSMEANS, LSMESTIMATE, REPWEIGHTS, SLICE, STRATA, TEST statements can appear multiple times. You should use only one of each following statements: MODEL, WEIGHT, STORE, OUTPUT, and UNITS.

The CLASS statement (if used) must precede the MODEL statement, and the CONTRAST statement (if used) must follow the MODEL statement.

The rest of this section provides detailed syntax information for each of the preceding statements, except the EFFECT , ESTIMATE , LSMEANS , LSMESTIMATE , SLICE , STORE statements. These statements are also available in many other procedures. Summary descriptions of functionality and syntax for these statements are shown in this chapter, and full documentation about them is available in Chapter 19: Shared Concepts and Topics.

The syntax descriptions begin with the PROC SURVEYLOGISTIC statement; the remaining statements are covered in alphabetical order.