An empirical test of dynamic group conflict theory
In order to test these hypotheses, we will perform an aggregate data analysis at country level. Specifically, we will calculate the attitude change between 2002 and 2007 for every country and link these changes to relevant context indicators of change in economic conditions and minority group size.
Exercise 4.1: Constructing an aggregate data set
Before we can test the hypotheses formulated above, an aggregate dataset needs to be constructed. The aggregate dataset should contain 17 records (one for each country), providing information about attitude change as well as about relevant context variables. We will construct such a dataset in two steps.
Step 1: Construct a variable containing information on attitude change between 2002 and 2007.
Create a dataset containing the country means on the REJECT scale for ESS round 1. This aggregate should contain 17 observations, one for each country (hint: make use of the AGGREGATE statement). Then, create a second aggregate dataset containing the country means for ESS round 3. Merge these two datasets into one file by means of the ‘MATCH FILES’ statement. Finally, compute a new variable, ‘REJECT_CHANGE’, which is the difference between the 2006/7 and the 2002/3 average. Save the newly created dataset.
*Weight data, create temporary dataset, aggregate, match files, compute change and save output. *Please do not forget to change the path 'C:\'.
Step 2: Merge the information on attitude change with context data
- Cntry: 2-character country codes.
- Flowcap: the inflow of immigrants into the country per 1,000 habitants. The figures refer to yearly gross inflows, averaged over the period 2001-2005 (source: OECD). High numbers are indicative of a strongly increasing immigrant population.
- Gdp_growth: the yearly real growth rate of the GDP, averaged over the period between 2001 and 2005 (source: Eurostat). High scores reflect strong economic growth and improving economic conditions.
- Unemp_change: the evolution in harmonised unemployment rates between 2001 and 2005 (source: Eurostat). Positive figures are indicative of increasing unemployment figures.
While flowcap measures changes in immigrant group size, gdp_growth and unemp_change reflect changes in economic conditions. Note that some missing values are included.
Merge ‘context.sav’ with the dataset containing the information on attitude change.
*Merge ‘context_sav’ with the dataset containing the information on attitude change. *Please do not forget to change the path 'C:\'.