I am investigating the effect of Human Development Index (country level Independant variable) on Negative experienced discrimination (dependant variable) in 807 participants with schizophrenia who completed a discrimination survey in 29 countries. My dependant variable is a count variable - total subscore of negative experienced discrimination is calculated by totalling up each time a participant endorsed negative discrimination on each item of the survey. I have concluded that i will model this using a negative binomial regression as there is over-dispersion therefore NBR is better than a poisson model. As the data is clustered at the country level, I also think i need to use a random intercept model which explicitly models the dependence of individual observations within clusters by using a country specific random intercept. I will then be adding other sociodemographic covariates into the model e.g age, gender, years of education, current employment, years since first contact with health services, ever had compulsory treatment, do you know your diagnosis and whether they agree with their diagnosis. Are these covariates all fixed effects? Can anyone help with the stata command that i need to build the model. So far i have this for the univariate model "xtnbreg negdisc HDI, re i(country) base" not sure what the command would look like for the multivariable model
Related Posts with Fixed effects vs random effect (NBM) and stata command
Mediation analysis and dealing with categorical variablesDear altruists, I have an independent variable "tob_smk", dependent variable "multimbd_cat" and "phy…
Dummy Variable Financial Expert with Panel DataHi Guys, I'm currently writing my thesis about the influence of the tenure of outside directors on …
Creating Dummy Variable each company-year with multiple observationsHi Guys, I'm currently writing my thesis about the influence of the tenure of outside directors on …
How to properly note down my regression?Hello all, I'm finishing up my bachelor's thesis but I'm running into one last issue. I do not unde…
Identifying a change in employer in panel dataHello everybody. I want to track when a group of individuals changes from one employer to another d…
Subscribe to:
Post Comments (Atom)
0 Response to Fixed effects vs random effect (NBM) and stata command
Post a Comment