* Read me.txt * Created on 5.4.2016 at 10:14AM EST, Kate H. Choi ******************************************************************************************************** * Datasets downloaded from the CDC --> NCHS * We downloaded two datasets from the CDC/NCHS/NSFG website. * They are: NSFG2006_21010.dta and NSFG2011_2013.dta * The NSFG2006_2010 and NSFG2011_2013 are public datasets, with no need for registration. * They can be downloaded from the CDC/NCHS/NSFG website. * Description of how we downloaded and saved the NSFG2006_2010.dta (1) Vist: http://www.cdc.gov/nchs/nsfg/index.htm (2) Click on Questionnaires,Datasets, and Related Documentation in the left menu (3) Double click on 2006-2010 NSFG (4) Go to the section "Downloadable Datasets" (5) Click Female Respondent Datafiles (6) Data User's Agreement will appear --> Click on I Accept these Terms (7) Parent Folder for all NSFG datasets will appear (a) Right click on 2006_2010_FemResp.dat and Save As "NSFG2006_2010.dat" and Download (b) Double Click on stata\ (c) Right click on 2006_2010_FemRespSetup.dct; Select Save As; Download as "2006_2010_FemResp.dct" (d) Right click on 2006_2010_FemRespSetup.do; Select Save As; Download as "2006_2010_FemResp.do" (8) Open 2006_2010_FemResp.do (9) Go to File Specifications (10) Edit: local raw_data "data-filename" --> "C:\Users\KateH\Dropbox\Hamilton_Choi\R&R\Data\NSFG2006_2010.dat" local dict "dictionary-filename" --> "C:\Users\KateH\Dropbox\Hamilton_Choi\R&R\Data\NSFG2006_2010.dct" local outfile "stata-datafile" --> "C:\Users\KateH\Dropbox\Hamilton_Choi\R&R\Data\NSFG2006_2010.dta" (11) Press run (12) Press save * Description of how we downloaded and saved the NSFG2011_2013.dta (1) Visted: http://www.cdc.gov/nchs/nsfg/index.htm (2) Click on Questionnaires,Datasets, and Related Documentation in the left menu (3) Double click on 2011-2013 NSFG (4) Go to the section "Downloadable Datasets" (5) Click Female Respondent Datafiles (6) Data User's Agreement will appear --> Click on I Accept these Terms (7) Parent Folder for all NSFG datasets will appear (a) Right click on 2011_2013_FemResp.dat and Save As "NSFG2011_2013.dat" and Download (b) Double Click on stata\ (c) Right click on 2011_2013_FemRespSetup.dct; Select Save As; Download as "2011_2013_FemResp.dct" (d) Right click on 2011_2013_FemRespSetup.do; Select Save As; Download as "2011_2013_FemResp.do" (8) Open 2011_2013_FemResp.do (9) Go to File Specifications (10) Edit: local raw_data "data-filename" --> "C:\Users\KateH\Dropbox\Hamilton_Choi\R&R\Data\NSFG2011_2013.dat" local dict "dictionary-filename" --> "C:\Users\KateH\Dropbox\Hamilton_Choi\R&R\Data\NSFG2011_2013.dct" local outfile "stata-datafile" --> "C:\Users\KateH\Dropbox\Hamilton_Choi\R&R\Data\NSFG2011_2013.dta" (11) Press run (12) Press save * These steps will generate NSFG2006_2010.dta and NSFG2011_2013.dta ****************************************************************************************************************** * Starting from this point, all analytical steps are detailed in Manuscript_2891_A.do and Manuscript_2891_A.log. * ONCE NSFG2006_2010.dta and NSFG2011_2013.dta are obtained, we construct the NSFG2006_2010A.dta and NSFG2011_2013A.dta * NSFG2006_2010A.dta adds the variable YEAR (capturing YEAR of SURVEY) to the NSFG_2006_2010.dta * NSFG2011_2013A.dta adds the variable YEAR (capturing YEAR of Survey) to the NSFG_2011_2013.dta * These two datasets were sorted by YEAR CASEID and merged using YEAR CASEID to generate the NSFG2006_2013A.dta * NSFG2006_2013A.dta has 17,880 female respondents. * Using NSFG2006_2013A.dta, we construct our measures; impose sampling restrictions; and save the implemented changes in NSFG2006_2013B.dta * Program files: Manuscript_2891_ReplicateA.do is the do-file listing the analytical steps after the construction of NSFG2006_2010.dta and NSFG2011_2013.dta. * Log files: Manuscript_2891_A.txt file is the log-file listing the analytical steps taken the obtain the results in our analysis and the results