The following statements are available in the SURVEYPHREG procedure. Items within < > are optional.
PROC SURVEYPHREG <options>;
BY variables;
CLASS variable <(options)> <…variable <(options)>> </ options>;
CLUSTER variables;
DOMAIN variable <( 'formatted-level-value' …'formatted-level-value' )> <variable <( 'formatted-level-value' …'formatted-level-value' )>*variable <( 'formatted-level-value' …'formatted-level-value' )> >;
ESTIMATE <'label'> estimate-specification </ options>;
FREQ variable;
HAZARDRATIO <'label'> variable </options>;
LSMEANS <model-effects> </ options>;
LSMESTIMATE model-effect lsmestimate-specification </ options>;
MARGINS effects </ options>;
MODEL response <*censor(list)> = effects </ options>;
MODEL (t1, t2) <*censor(list)> = effects </ options>;
NLOPTIONS <options>;
OUTPUT <OUT=SAS-data-set> <keyword=name …keyword=name> </ options>;
REPWEIGHTS variables </ options>;
SLICE model-effect </ options>;
STRATA variables </ option>;
STORE <OUT=>item-store-name </ LABEL='label'>;
TEST <model-effects> </ options>;
WEIGHT variable;
The PROC SURVEYPHREG and MODEL statements are required. The CLASS statement, if present, must precede the MODEL statement.
The following sections describe the PROC SURVEYPHREG statement and then describe the other statements in alphabetical order.
The ESTIMATE, LSMEANS, LSMESTIMATE, MARGINS, SLICE, STORE, and TEST statements are also available in other procedures. Summary descriptions of functionality and syntax for these statements are provided in this chapter, and you can find full documentation about them in Chapter 20, Shared Concepts and Topics.