Canvas: Tour a Reproducible Stata Workflow
- Due No Due Date
- Points 0
- Submitting a text entry box
Here it is! A behind the scenes look at a reproducible workflow in Stata. A few caveats before you begin:
- I'm not perfect either.
- This is not meant to be a "how to". It's a tour of things you can do to improve efficiency, reduce errors, and enhance communication with coauthors and your future self after having to take a project hiatus (you know that feeling when you come back after a 2 week grading black hole and you don't remember what the heck you were doing?). For more of a how to these resources may help:
- Stata to LaTeX guide (for Overleaf users)
- SSCC Guide to Publication Quality Tables
- All SSCC Guides for Stata
- The Workflow of Data Analysis Using Stata (full book)
- I don't recommend you upend your entire workflow for an existing project now. There is time to adopt these changes gradually. Each new project you begin is a new opportunity for process improvement. I will leave the playlist for this live. Just save the link. My youtube library is not publicly listed.
These files belong to my project Demographics of Aging in Place.
Here is the companion Methods Report.
And here are the do files I tour with you in the playlist below. The data is from iPUMS USA and variables are discussed in the methods report. I have not posted it here because it is very large. If you choose to actually download data and replicate, please note that the run times for some files may be very long depending on your computer.
- 0_master.do
- 1_dataprep_v6.do
- 1b_singlerace_2018.do (This is not a file I wrote - the source is here)
- 2_policyvariation.do
- 3_descriptives_v2.do
- 4_covars_globals.do
- 5_logits.do