Structural Sexism and Early Childbearing
Summary
This page provides STATA .do files for creating the dataset and analysis for the article “How Sexism in Institutions and Everyday Interactions Shapes Early Childbearing” by Jessica Su and Kelly Musick.
How to create the dataset and replicate the analyses:
- Access and download raw data files.This study uses restricted data from the National Longitudinal Study of Adolescent to Adult Health (Add Health). The extensive restricted-use data, available by contractual agreement, contains data for all study participants and will be distributed only to certified researchers who commit themselves to maintaining limited access. To be eligible to enter into a contract, researchers must have an IRB-approval letter, security plan for handling and storing sensitive data, and sign a data-use contract agreeing to keep the data confidential.To learn more about the restricted-use data and how to apply for restricted-use data, please access the CPC Data Portal: https://data.cpc.unc.edu/projects/2/view
- Download the .do files posted on this site.
- Set up folders
- Wave 1 (include the following Add Health data files: allwave1, context1, Homewt, w1homewc)
- Wave 4 (include the following Add Health data files: wave4, sect18)
- Wave 5 (include the following Add Health data files: wave5, W1_5GRP)
- Constructed (include the following Add Health data files: famst)
- Raw data (empty; this will be populated after running 1_sas_dta.do)
- Clean data (empty; this will be populated after running .do files 2-6)
- Log files (empty; this will be populated after running .do files 1-6)
- Do files (include the .do files 0-7 posted on this site)
- Update global file paths in the .do files. These are found in the first 20 lines of code in the .do files.
- Wave 1 (global w1path in 1_sas_dta.do)
- Wave 4 (global w4path in 1_sas_dta.do)
- Wave 5 (global w5path in 1_sas_dta.do)
- Constructed (global construc in 1_sas_dta.do)
- Raw data (global raw in 1_sas_dta.do and 2_clean_data.do)
- Clean data (global data in .do files 2 through 7)
- Log files (global log in .do files 1 through 7)
- Do files (global do in .do files 0 through 7)
- Run 0_master.do to run files in order, from 1-7, to replicate the results.
Citation
Please cite the original article in any research reports, papers, or publications that benefit from this code:
Su, Jessica H. and Kelly Musick (2024). How Sexism in Institutions and Everyday Interactions Shapes Early Childbearing. American Sociological Review. https://doi.org/10.1177/00031224241291602