/************************************************************************/ /* */ /* */ /* %ADJ_SURV calculates the direct adjusted survival probabilities */ /* for K treatment groups at predetermined time points, based on */ /* a regular Cox model (Model 1) or a stratified Cox regression model */ /* (Model 2). */ /* */ /* Macro parameters: */ /* inputdata - the input sas data name; */ /* time - the survival time variable; */ /* event - the event indicator; */ /* group - the treatment group variable, */ /* which must take values 1,...,K for K groups. */ /* covlist - a list of covariate names; */ /* model - 1 if a stratified Cox model is selected, */ /* 2 if a regular Cox model is selected; */ /* outdata - the output sas data name. */ /* */ /* The output dataset contains: */ /* time - the event times */ /* survi, i=1,...,K */ /* sei, i=1,...,K */ /* se_ij, 1<=i