I want to know the effect of selected background characteristics on intimate partner violence among women in 35 low and middle-income countries using demographic and health survey (DHS) data. To account for fixed effects of the surveys, I generated variable - survey, assigned a code to each survey and included i.survey in the model. The relative risks of IPV were derived using modified Poisson regression which was estimated via a glm command.
my code is: glm sexvio i.age i.literacy i.occupa i.survey, link(log) family(poisson) eform
**this code worked well until I introduced the svy command- see below
svy: glm sexvio i.age i.literacy i.occupa i.survey, link(log) family(poisson) eform
aside from the reference category, the output missed out information on three surveys out of 35. there was no information on why they were missed.
Pls, how can I solve this problem?
Related Posts with Modified Poisson Regression using GLM: missing categories
Confusion about how to keep one row of data for each student with the most number of classes taken in a programI am using Stata 15.1 for Windows. I would like to keep a certain student in the program that he co…
Weighting without knowing psuDear Stata users, I want to conduct some cross-sectional analysis with data from the South African …
-mimrgns- and -marginsplot-The help file for mimrgns states that while "[i]n principle, marginsplot works after mimrgns […], th…
Way to identify first successful loop iteration?Hi Stata, I have a loop: forv x = 1/100{ cap{ [stata_commands] [if first successful iteration, exe…
Use past quarter average of data to regress with next quarter data.Hello all, I am a newbie to STATA and struggling with a peculiar problem. Hoping for some insight f…
Subscribe to:
Post Comments (Atom)
0 Response to Modified Poisson Regression using GLM: missing categories
Post a Comment