Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2023_08_socedu_seg_exp

DOI

Authors: Marissa Thompson & Sam Trejo

Title: My school district isn't segregated: Experimental evidence on the effect of information on parental preferences regarding school segregation

Journal: Sociology of Education

Date: 2023

ReadMe Version: 01


This replication package contains data and code to reproduce the analysis, tables, and figures included in the paper.

Instructions: Executing the master script (_MAIN.do) will run the analysis and generate all figures and tables. Prior to running the file, users will need to change the global macros at the top of the Master script. Details on each of the file inputs and outputs can be found below. All analyses were run using Stata 17.


Description of do files:

  1. ~MAIN.do

    • Input: lucid_segregation_survey.dta
    • Output: (runs all other do files, produces all tables and figures)
  2. A___pca_tabA2.do

    • Input: lucid_segregation_survey.dta
    • Data Output: data_analytic_${date}.dta, data_full_${date}.dta
    • Table Output: tabA2.csv
  3. B___sumstat_tab1.do

    • Input: data_analytic_${date}.dta
    • Output: tab1.xlsx
  4. C___desc_tab2_tab3

    • Input: data_analytic_${date}.dta
    • Output: tab2.csv, tab3.csv
  5. D___effects_tab4_tab5_tabA6_tabA7_tabA8

    • Input: data_analytic_${date}.dta, data_full_${date}.dta
    • Output: tab4.csv, tab5.csv, tabA6.csv, tabA7.csv, tabA8.csv
  6. E___coefficient_plots.do

    • Input: data_analytic_${date}.dta
    • Output: fig3.png, figA3.png, figA5.png
  7. F___vbar_fig4_figA4.do

    • Input: data_analytic_${date}.dta
    • Output: fig4.png, figA4.png
  8. G___hbar_fig5.do

    • Input: data_analytic_${date}.dta
    • Output: fig5.png
  9. H___zip_tabA1_figA1

    • Input: tl_2019_us_sdu.dta, PDP05_202_USSchoolDistrictAll_119174520887.dta, PDP05_202_USSchoolDistrictAll_11917242922.dta, tl_2019_us_zcta510, grf19_lea_zcta5ce10
    • Output: tabA1.xlsx, figA1.png
  10. I___demo_tabA4

    • Input: data_analytic_${date}.dta
    • Output: tabA4.csv
  11. J___hist_figA2

    • Input: data_analytic_${date}.dta
    • Output: figA2.png

About

Data and code for Thompson & Trejo 2023, Sociology of Education.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages