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
How to do Mediation Analyses to SubsamplesHi Statalist Members, I am using the following code to run some mediation analyses (single mediator…
Keep only children and disregard adult children which start their own familyHello STATALIST community, I am a desperate student at the University of Konstanz in Germany and I …
using a loop to remove special characters and destring a variablemy data are a five point likert scale with 21 questions. The answers were recorded as string variabl…
What happen if we increase the tolerance and maximum number of iterations?When running STATA for panel data (especially for did_imputation),I was suggested by the code someti…
Confidence Interval with Graph DotDear all, I am trying to add confidence intervals to a graph dot showing the mean value of anti-imm…
Subscribe to:
Post Comments (Atom)
0 Response to Modified Poisson Regression using GLM: missing categories
Post a Comment