The following statements are available in PROC SURVEYPHREG. Items within < > are optional.
The PROC SURVEYPHREG and MODEL statements are required. The CLASS statement, if present, must precede the MODEL statement.
The MODEL statement specifies the analysis model. The CLASS statement specifies the categorical variables. The STRATA statement lists the variables that form the strata in a stratified sample design. The CLUSTER statement specifies cluster identification variables in a clustered sample design. The WEIGHT statement names the sampling weight variable. The NLOPTIONS statement specifies the optimization techniques. The REPWEIGHTS statement names replicate weight variables for BRR or jackknife variance estimation. The DOMAIN statement lists the variables that define domains for subpopulation analysis. The BY statement requests completely separate analyses of groups defined by the BY variables.
The rest of this section provides detailed syntax information for each statement, beginning with the PROC SURVEYPHREG statement. The remaining statements are covered in alphabetical order.
The ESTIMATE, LSMEANS, LSMESTIMATE, 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 19, Shared Concepts and Topics.