svyset compatibility with runmlwin
Posted: Mon Jul 18, 2022 3:38 pm
Hi there,
I am using data from the Millenium Cohort Study (MCS) to run some trajectory models through runmlwin. The MCS provide stata code to adjust for the clustering and sample design:
svyset sptn00 [pweight=""], strata(pttype2) fpc(nh2)
However, this doesn't seem compatible with runmlwin (Error message: runmlwin is not supported by svy with vce(linearized))
Do you have any suggestions for incorporating these adjustments into my model through runmlwin or is my best bet to use a different package? (like meglm)
Thank you in advance!
I am using data from the Millenium Cohort Study (MCS) to run some trajectory models through runmlwin. The MCS provide stata code to adjust for the clustering and sample design:
svyset sptn00 [pweight=""], strata(pttype2) fpc(nh2)
However, this doesn't seem compatible with runmlwin (Error message: runmlwin is not supported by svy with vce(linearized))
Do you have any suggestions for incorporating these adjustments into my model through runmlwin or is my best bet to use a different package? (like meglm)
Thank you in advance!