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
Generation of a new variable according to timeHello everyone, I have a time variable which is given as a difference. So if there is a starting d…
How to do OLS with a moderating variable, control variables and fixed effectsDear reader, For my thesis I am studying the influence of board gender diversity on firm performanc…
Extending gridlines in triplotHi, I am using triplot from SSC in STATA15. The triangular plot is ideal for my purposes, but diff…
Combining wordsHi Everyone, I have a simple question that the answer could be to do it on excel, but I am wonderin…
Combining two variables by variables namesMy variables are: country (Angola, Armenia, Azerbaizan....) and year (2004, 2006, 2009). Is it possi…
Subscribe to:
Post Comments (Atom)
0 Response to Multi level modelling cross level analysis
Post a Comment