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
Generate random integersHello Listers i want to make a mock dataset i would like to generate 2 integers at random 1) eithe…
how to descriptive datahello, please help me out. I have got a questionnaire, and then I use the selected data and get thei…
matching 'cases' to a 'reference group'Dear Listers I have a large data set. Here is a mock example: Code: set obs 1000 set seed 1234 g…
Calculation of industry growth and industry market concentration with a WRDS datasetDear community, for a university seminar project we would like to calculate the industry growth and…
Syntax for the * commentStata has two types of single-line comments: // and *. The comment // has identical syntax to the on…
Subscribe to:
Post Comments (Atom)
0 Response to Modified Poisson Regression using GLM: missing categories
Post a Comment