I want to examine the effect of education(xvar) on prejudice(yvar) (both 1. level variables) moderatet by current regimetype in the country(xvar) (2. level variable).
I am using the most recent data from the World Value Survey to examine the effects of the interaction, my problem is the following:
In order to assign every country a regimescore I have used the Freedomhouse reports from 2012/13 to generate a new "regimetype" variable, and assigned every observation in the data set with the appropriate score (from 1 to 7). My problem is then: how do i aggregate the scores from each observation, to make it a group level variable? Or is it possible just to run the mixed command like
- mixed prejudice(yvar) c.education(xvar)##c.regimetype(xvar2)||regimetype :
I hope the question makes sense.
Related Posts with Multi level modelling cross level analysis
Merging two datasetsHello! I am working with survey data and want to merge two datasets. One dataset has biographical in…
Problem with highly skewed independent variables and many zerosDear members, I have a binary dependent variable and want to estimate either a logistic regression …
Problems Stating a simultaneous GMM 3sls Model using MoptimzeApologies fore the long post that would follow, but I am having error estimating cluster robust 3SLS…
Excluding samplesHi all, I have a problem with bootstrap. In particular I have a variable containing a lot of zeros.…
how can I obtain survival ratio?When I conduct "streg", I always get hazard ratio. However, I would like to obtain survival ratio. I…
Subscribe to:
Post Comments (Atom)
0 Response to Multi level modelling cross level analysis
Post a Comment