Previous Page | Next Page

The PHREG Procedure

Syntax: PHREG Procedure

The following statements are available in PROC PHREG. Items within < > are optional.

PROC PHREG <options> ;
ASSESS keyword </options> ;
BASELINE <OUT=SAS-data-set> <COVARIATES=SAS-data-set> <keyword=name ...keyword=name > </options> ;
BAYES <options> ;
BY variables ;
CLASS variable <(options)> <...variable <(options)> > </options> ;
CONTRAST <’label’> effect values <,..., effect values> </options> ;
FREQ variable ;
HAZARDRATIO <’label’> variable </options> ;
ID variables ;
MODEL response <*censor(list)> = variables </options> ;
OUTPUT <OUT=SAS-data-set> <keyword=name ...keyword=name > </options> ;
programming statements ;
STRATA variable <(list)> <...variable <(list)>> < /option> ;
<label:>TEST equation1 <,..., equationk >< /options> ;
WEIGHT variable </option> ;

The PROC PHREG and MODEL statements are required. The CLASS statement, if present, must precede the MODEL statement, and the ASSESS or CONTRAST statement, if present, must come after the MODEL statement. The BAYES statement, that invokes a Bayesian analysis, is not compatible with the ASSESS, CONTRAST, ID, OUTPUT, and TEST statements, as well as a number of options in the PROC PHREG and MODEL statements. See the section Specifics for Bayesian Analysis for details.

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

Previous Page | Next Page | Top of Page