Project

General

Profile

Support #1696

random effects logistic regression models and weighting

Added by Zohra Ansari-Thomas almost 2 years ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Category:
-
Start date:
05/09/2022
% Done:

100%


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!

Also available in: Atom PDF