Support #1696
open
random effects logistic regression models and weighting
Added by Zohra Ansari-Thomas over 2 years ago.
Updated over 1 year ago.
Description
Hello,
I am attempting to run a random effects logistic regression model using waves 1-10 of the UKHLS, and am running into some issues with how to take into account the longitudinal weighting, strata, psu, as well as clustering by PIDP or allowing for random intercepts by PIDP to account for the longitudinal design of the study. I am using Stata
I can svy set my data to account for the longitudinal weights (indinus_lw), the psu, and the strata, but I am not sure how to account for the clustering by PIDP. I am using the svy: melogit command.
Any advice would be much appreciated, thank you!
- Status changed from New to In Progress
- Assignee set to Olena Kaminska
- % Done changed from 0 to 10
- Private changed from Yes to No
Many thanks for your enquiry. The Understanding Society team is looking into it and we will get back to you as soon as we can.
We aim to respond to simple queries within 48 hours and more complex issues within 7 working days.
Best wishes,
Understanding Society User Support Team
Dear Zohra,
In multilevel modelling you can have a few levels, the highest of which will be PSU as a clustering variable, and you can use individuals at a lower level.
Hope this helps,
Olena
- Status changed from In Progress to Feedback
- % Done changed from 10 to 80
- Status changed from Feedback to Resolved
- % Done changed from 80 to 100
Also available in: Atom
PDF