Page 1 of 1

svyset compatibility with runmlwin

Posted: Mon Jul 18, 2022 3:38 pm
by ja175441
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!

Re: svyset compatibility with runmlwin

Posted: Tue Jul 19, 2022 12:31 pm
by ChrisCharlton
I asked George about this and he suggested that the weighting options in MLwiN might do what you want. Unfortunately we don't provide much documentation for this, but you can see how to specify them by looking at the options in the runmlwin help file, i.e.

Code: Select all

help runmlwin