================================================================= Replication Files for Wittemann, Vanessa (2023). Educational reproduction in Sweden: A replication of Skopek and Leopold 2020 using Swedish data In: Demographic Research. ================================================================= April 05, 2023. This package contains complete Stata syntax (version 17.0) to replicate the study. --------------------------------------------- Replicate the study in 7 steps --------------------------------------------- 1. Unzip "Wittemann_2023_Educational_reproduction.zip". 2. get data (GGS; SHARE, ESS). 2.1 register as a data user at the Generations and Gender Programme. (https://www.ggp-i.org/data/browse-the-data/) and download wave 1 for Sweden (GGS_Wave1_Sweden_V.4.3.dta). Variables used: arid - individual identification number aweight - weight asex - sex aage - age abyear - year of birth aeduc - highest education respondent (ISCED) a106a_1 - place of birth a5115 - mothers highest education (ISCED) a5113 - fathers highest education (ISCED) a512 - mothers year of birth a532 - fathers year of birth a513a - mother born in country of interview yes/no a533a - father born in country of interview yes/no a5106a_b - number of brothers a5106a_s - number of sisters additionally for fetility data: numallchild - number of children a105 - born in country of interview 2.2 register as a user at the website of the Survey of Health, Aging and Retirement in Europe. (https://share-eric.eu/) and download Swedish datasets of wave 1. Share is stored in several semantic sub-datasets. You will need (sharew1_rel7-1-0_ch.dta; sharew1_rel7-1-0_dn.dta; sharew1_rel7-1-0_gv_isced.dta; and sharew1_rel7-1-0_gv_weights.dta). Variables used: mergeid - individual identification number hhid1 - household identification number mergeidp1 - partner identifier coupleid1 - couple identifier country - country identifier sharew1_rel7-1-0_dn.dta: dn042_ - sex dn003_ - year of birth dn004_ - born in country of interview dn010_ - highest school degree obtained dn012d5 - further education: country specific category 5 sharew1_rel7-1-0_ch.dta: ch001_ - number of children ch002_ - natural children sharew1_rel7-1-0_gv_weights.dta: cciw_w1 - calibrated weight sharew1_rel7-1-0_gv_isced.dta: isced1997_r - highest education respontent (ISCED) 2.3 register as a user at European Social Survey (https://www.europeansocialsurvey.org/data/) and download wave 3 (ESS3e03_7.dta). variables used: idno - individual identification number pspwght - weight gndr - sex yrbrn - year of birth bthcld - ever given birth to a child - yes/no nbthcld - number of children ever given birth to brncntr - born in country of interview edlvase - highest level of education (swedish) edulvla - highest level of educatio (ISCED) age - age 3. store all data files (Stata format, .dta) in the data folder provided of this project. 4. store the ado file (sharetom5.ado) and the respective help file (sharetom5.hlp) in the provided ado folder of this project. 5. open the do-file "config.do". - set the path to your working directory in global macro "workdir". 6. run the do-file "_PROJECT_MASTER_.do" to replicate the whole project. 7. Check folder "log-files" in your working directory for tables and figures.