Examples (CSCOXREG command)
CSCOXREG t BY a b c WITH x
/VARIABLES STATUS = dead(1)
/PLAN FILE=’c:\survey\myfile.csplan’.
- t is the time variable; a, b, and c are factors; x is a covariate.
- The status variable is dead with a value of 1 representing the terminal event.
- The complex sampling plan is given in the file c:\survey\myfile.csplan.
-
CSCOXREGwill fit the default model including the main effects for factors a, b, and c and the covariate x.