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
fetchcomponents.adoI wonder if anyone is using the old fetchcomponents.ad written by Mehmet F. Dicle for accessing yaho…
IpfrakingI'm using Ipfraking to generate weights for my survey data. For some reason when the iteration fini…
P-value in two-sample t-testHello, I am currently working with a database with the purpose of comparing annual mammography read…
Diff-in-Diff with Multiple Treatments for Same UnitsHi everyone, Can you help me out with any helpful Stata code and/or even theoretical work that can …
composite index from binary variablesHi, I'm new to Statalist. I've a doubt about composite index construction approach starting from bin…
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