Dear Stata General Chat,
I am currently setting up a Cox regression model using Age as the time component (Age of study entry and Age at failure). I would like to know if this is the code for setting Age_in and Age_out as a time-scale.
stset ageout, fail(outcome==1) enter(age_in)
then
stcox v1 v2 v3 vn...
Please let me know if this is the proper way to set it up or if there are suggestions/modifications needed to the code.
Respectfully,
Doug
I am currently setting up a Cox regression model using Age as the time component (Age of study entry and Age at failure). I would like to know if this is the code for setting Age_in and Age_out as a time-scale.
stset ageout, fail(outcome==1) enter(age_in)
then
stcox v1 v2 v3 vn...
Please let me know if this is the proper way to set it up or if there are suggestions/modifications needed to the code.
Respectfully,
Doug
Comment