This readme file outlines the replication package and process of replicating the findings for the article: The complexity of employment and family life courses across 20th century Europe: More evidence for larger cross-national differences but little change across 1916-1966 birth cohorts by Zachary Van Winkle and Anette Fasang published in Demographic Research. The file was created 17 December 2020. Contents of the file: Folders: - 01_data (include folder 01_temp) - 02_do-files (includes files 00_master.do, 01_trajectories.do, 02_complexity.R, 03_main_analyses.do, 04_weighted_analyses.do, 05_gendered_analyses.do) - 03_logs - 04_graphs - 05_tables and Files: - readme.txt Accessing the Data: SHARE may be used for exclusively for scientific research, in accordance with EU and national data protection laws and SHARE conditions of use, free of charge following individual registration at: http://www.share-project.org/data-access/user-registration.html This study used data release 7.0.0 (see http://www.share-project.org/data-documentation/share-data-releases.html?L=) Software used: Stata version 15 R version 3.5.1 (2018-07-02) -- "Feather Spray" Steps to replicate results: 1) After unpacking the replication_4814.zip, download the compressed SHARE data and unpack the Stata files in the folder "01_data". The individual Stata datasets will be in wave-specific folders, named for example "sharew1_rel7-0-0_ALL_datasets_stata". 2) Open the "00_master.do" do-file in the "01_do-files" folder and change PATH on line 23 to correspond with the local computer (ususally starting with "\Users") and the network LETTER on line 24 (usually "C"). Execute this do-file. Stata will revert to version 15 for those with more recent versions. The do-file "01_trajectories.do" will automatically be executed, generating the sequence datasets in "01_data/01_temp". The do-file "01_trajectories" uses information on the timing and order of cohabitation and marriage spells as well as the year the the respondent left the parental home and birth dates of children to construct a person-year family life history data frame, which is subsequently reshaped into a wide family sequence data set. For work trajectories, the do-file uses information on the time and order of employment spells, education, and retirement to construct a person-year work life history data frame, which is subsequently reshaped into a wide work sequence data set. Both datasets also include information on respondents' gender, country of residence. Information on where respondents living in Germany resided in November of 1989 (east, west, or outside of Germany) is merged. 3) Open the "02_complexity.R" R script, for example in R or RStudio, and change "PATH" corresponding to LETTER:PATH in "00_master.do" on lines 16, 68, 73, and 98. Users should ensure that the packages foreign, TraMineR, TraMineRextras, WeightedCluster, and rio are installed. Execute the file, which will generate the analysis datasets needed in "01_data/01_temp". The R script "02_complexity.R" calculates the complexity index, the number of transitions, and longitudinal entropy for each sequence of the sequence datasets created in step 2 above. 4) In Stata, users should now either manually execute the do-files 03_main_analyses.do, 04_weighted_analyses.do, 05_gendered_analyses.do. Alternatively, users can execute lines 42-44 of the 00_master.do do-file. All analyses will be performed automatically. Graphs and tables found in the manuscript will be saved in the 04_graphs and 05_tables folders. Note that the intraclass correlations are automatically calculated but saved in the log file found in the 03_logs folder. Users will need to have the "blindschemes" package by Daniel Bischof (see https://danbischof.com/2015/02/04/stata-figure-schemes/) active in Stata for the graphs to look the same. The stata default scheme will hold the same information, but will come across as crowded. At the begining of the analysis do-files a cohort variable based on the year of birth and a country variable is created for labeling purposes. Note: If users have any questions or require additional information, please contact Zachary Van Winkle. Contact information is kept up to date on the website "www.zachary-vanwinkle.com".