Semi-parametric procedure analysis

Earlier, we introduced the concept of the semi-parametric model and the advantages of using PROC PHREG. Let's conduct a semi-parametric analysis on our survival data. We will use the stepwise methodology (selection option) to introduce the covariates in the model and give inclusion (slentry option) and exclusion criteria (slstay option) to control which covariate can enter the model and on what basis the covariate should be retained in the model. We also add an assess statement to test the proportional hazard (PH option) and linearity assumption (resample option) for the Cox regression model.

Here is the code for the PROC PHREG stepwise regression:

PROC PHREG Data=Survival_Analysis Plots=survival; Model ...

Get SAS for Finance now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.