Hello,
My data is the national health survey with a complex survey design. I want to analyse the association between the dietary score (DS in a continuous variable) and 7-year mortality with survival analysis. (age3cat, sex, higheduccat, wicat, region are confounders)
I want to check the assumption for survival analysis with Schoenfeld residual method in complex survey design (svy).
My syntax:
svy: stcox DS i.age3cat i.sex i.higheduccat i.wicat i.region
estat phtest
the state state:
invalid subcommand phtest
r(321);
I checked the state manual. It said that phtest cannot use with svy. However, my independent variable is the continuous variable. So, I c don't know other ways to test the assumption.
Thank you,
Chalobol Chalermsri
Related Posts with How can check the assumption for survival analysis with Schoenfeld residual method in Complex survey design
95% Crl for Median Odds RatioDear All, Can anyone tell me the stata command or module to calculte 95% Credible Interval (95%CrI) …
Compare parts of a stringDear statalists, I wanted to keep this question separate from the last topic where it was about ord…
Compare strings with different ordering of wordsDear statalists, I am not sure if this has been asked already as this is not easy to search for. I…
cutt-off missing dataDear statlisters, i have a data set with 1500 observation and 60 variables. the highest percentage o…
reshape data?Dear All, I find this question here (https://bbs.pinggu.org/thread-6924503-1-1.html). The data is C…
Subscribe to:
Post Comments (Atom)
0 Response to How can check the assumption for survival analysis with Schoenfeld residual method in Complex survey design
Post a Comment