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
coefplot for two RegressionsAll, I am trying to plot coefficients for two regressions in the same plot. using the following code…
Looping over all string variables in datasetI have a dataset with a large number of variables (500+) and I am just realizing now that for many (…
pvar for stata 16 and 17Hello, i downloaded the pvar package from abrigo 2016, but when i was trying to use the command pvar…
Issues with "outreg2" sum(log)Hello everyone, I have an issue trying to use the "outreg2" command in Stata. My code is the follow…
Betta coefficient changingDear all as you can see below the beta coefficients if leasehold change when adding a variable. How …
Subscribe to:
Post Comments (Atom)
0 Response to Modified Poisson Regression using GLM: missing categories
Post a Comment