R, Python and Stata code for
Data Analysis for Business, Economics, and Policy
by Gábor Békés (CEU) and Gábor Kézdi (U. Michigan)
Forthcoming in January 2021 by Cambridge University Press
gabors-data-analysis.com
Awesome, we know there may be errors. Or just much better ways to do a procedure.
To make a suggestion, please open a github issue
here with a title containing the case study name. Cheers!
- R -- All codes ready. Used for graphs in textbook. Minor edits happening.
- Stata -- All codes ready. In the lack of machine learning capabilities, no code for chapters 15,16,17, some limitations for chapter 18. Minor edits happening.
- Python -- Under preparation. Chapters 01-12 ready, chapters 13-24 are under development. Should be ready by early 2021.
- Each case study has a separate folder.
- Within case study folders, codes in different languages are simply stored together.
- Data should be downloaded and stored in a separate folder.
- R -- We used R 4.0.2.
- Stata -- We used version 15, allmost all code should work in version 13 up.
- Python -- We used Python 3.6.0.
- R -- How to run code in R
- Stata -- How to run code in Stata
- Python -- How to run code in Python -- still in beta