Dear Listers,
I am running relative survival analysis to explore disease status (yes vs. no) and have 4 categorical predictors in my model (age, sex, smoke and bmi). I am using stpm2 and would like to obtain 5-year relative survival associated with each predictor's categories.
i have 2 questions on this:
1) I am currently using meansurv as
stpm2 relapse i.sex i.age2 i.age3 i.age4 i.age5 i.smk2 i.smk3 i.bmi1 i.bmi3 i.bmi4, df(3) scale(hazard) bhazard(rate) eform tvc(agec2 agec3 agec4 agec5) dftvc(2)
g rs5 = 5
predict rs_sex1, surv timevar(rs5) at(sex 1)
predict rs_sex2, surv timevar(rs5) at(sex 2)
predict rs_age1, surv timevar(rs5) at(age 1)
etc...
I am using survival but in some example I have seen the use of meansurv - which one is appropriate in this case? what's teh main difference between surv and meansurv?
2) I noticed the estimated 5-year relative survival for the reference category of some predictors is identical - is this OK as it may reflect overall survival or am I doing something wrong?
for example age category 1 RS5= .45
and smoking category 1 RS5 = .45
Thanks in advance!
Related Posts with 5-year relative survival: stpm2
ridge parameterHi Forum! I have a simple question for you that could help me a lot: is there any stata command that…
Multivariate regression with Categorical variablesHi awesome people, I am working a multivariate regression consisting of a categorical (4 classes) i…
Influence of incorporating industry dummies in XTABOND2 commandDear stata users, For my thesis, I make use of the XTABOND2 command. My command is the following: A…
Using several loops togetherHi all, I am new in this forum so if this is not the proper place to post this question let me know…
Collinearity because of technical problem in Fixed Effects Panel RegressionHi, I am trying to look at the differences in income between African-Americans and White Americans.…
Subscribe to:
Post Comments (Atom)
0 Response to 5-year relative survival: stpm2
Post a Comment