I want to examine the effect of educational attainment(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 this question makes sense, I am quite new to multilevel analysis.
Related Posts with Multi level modelling cross level analysis
Stata compatabilityApologies for what is probably a very basic question - am new user! I have started doing quite a lot…
different count problems within variablesHi there! The forum already helped me a great deal (thx especially to Nick Cox!). However I am now …
Interpreting the intercept in the random-effects modelConsider the model yit = a + bXit + ci + eit Using a fixed effect model, the constant term a canno…
Can I take log and lag on my independent variables in a regression?Hello, Please can someone answer me if it is possible to take log and lag (both at the same time) on…
help with foreach using 2 variable lists to generate a new variableHello all. I am trying to use foreach to generate a new variable based on multiple variables from 2 …
Subscribe to:
Post Comments (Atom)
0 Response to Multi level modelling cross level analysis
Post a Comment