Closed ghost closed 9 months ago
A way to do this is explained in the answer to https://github.com/chjackson/msm/issues/50 .
Duplicate of #50
Subject-specific weights are now implemented in https://github.com/chjackson/msm/commit/4e1910d1c5f15f4702e21b77a40a236de456bd63 and subsequent commits.
Dear Prof. Jackson,
Thank you for providing the msm package! I am a postgraduate social science student. I am using social survey data and the msm package to analyse health state transition probabilities. I would like to apply social science survey weights to the msm package, but am unsure how to apply it. I was wondering if the package has a function to apply the weights, or some other way to handle it! Thanks again for your work!
Best wishes,
Wanying