### Interethnic Weak Ties Online and Out-Group Attitudes Among Dutch Ethnic Majority Adolescents This is the project page for the paper "Interethnic Weak Ties Online and Out-Group Attitudes Among Dutch Ethnic Majority Adolescents". You will find the code to generate the variables, the analyses, and the figures found in the paper. The code itself is relatively annotated. I also dumped the accepted version of the paper here, and it will be available (open access) as well. You will find links to the full (for which you can request access), reduced datasets (for which in some cases you have to request access), or the open data sets. This study uses four data sources. The second and third wave of the Dutch part of the "Children of Immigrant Survey in Four European Countries" (CILS4EU), the fourth/first wave of the Dutch continuation of the CILS4EU entitled the "Children of Immigarnts Survey in the Netherlands" (CILSNL), and the "Dutch Facebook Survey: Wave 1" (DFS). - You can find the full version of the CILS4EU here: https://search.gesis.org/research_data/ZA5353 - You can find the reduced version of the CILS4EU waves here: https://search.gesis.org/research_data/ZA5656 - You can find the full version of the fourth wave of the CILSNL here: https://easy.dans.knaw.nl/ui/datasets/id/easy-dataset:193118 - You can find the reduced version of the fourth wave of the CILSNL here: https://easy.dans.knaw.nl/ui/datasets/id/easy-dataset:193114 - You can find a reduced version (to retain anonymity) of the DFS wave 1 here: https://easy.dans.knaw.nl/ui/datasets/id/easy-dataset:78870 You can request/gain access to the reduced versions of the datasets through the repositories that contain agreggation of privacy-sensitive data. ### Code In this repository you will find the code used to generate the study variables, generate the descriptive and inferential analyses. - **2_prfb_vars.do**: generates the variables for the data used in the analyses. Input are the data I describe above, input may vary slightly based on the data releases. Output: **prejudice_analyses_data.dta** (analyses ready data), **figs1.txt** (data to generate Figure 1), **figs2.txt** (data to generate Figure 2). Code is relatively annotated. - **3_prfb_descriptives_analyses.do**: as input it takes **prejudice_analyses_data.dta** and with that you can generate all the analyses in the paper. Code is annotated too. - **4_prfb_figs.R**: code to generate the Figures (1-3) in the paper. It needs the **figs2.txt** and **figs1.txt** as input for the associated Figures. I included the output results of Tables 3 and 5 in the paper to reproduce Figure 3 in this project (**fig_lineffect.csv**). ### Data - **fig_lineffect.csv**: To reproduce Figure 3.