aronpalk / da_case_studies

Codes for case studies for the Bekes-Kezdi Data Analysis textbook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

da_case_studies

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

How to use

Overview of data and code

Get data

Get data by datasets

Found an error or have a suggestion?

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!

Status (08 January, 2021)

  1. R -- All codes ready. Used for graphs in textbook. Minor edits happening.
  2. 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.
  3. Python -- Under preparation. Chapters 01-12 ready, chapters 13-24 are under development. Should be ready by early 2021.

Organization

  1. Each case study has a separate folder.
  2. Within case study folders, codes in different languages are simply stored together.
  3. Data should be downloaded and stored in a separate folder.

Code language versions

  1. R -- We used R 4.0.2.
  2. Stata -- We used version 15, allmost all code should work in version 13 up.
  3. Python -- We used Python 3.6.0.

How to run case studies

  1. R -- How to run code in R
  2. Stata -- How to run code in Stata
  3. Python -- How to run code in Python -- still in beta

About

Codes for case studies for the Bekes-Kezdi Data Analysis textbook


Languages

Language:Jupyter Notebook 88.7%Language:R 7.2%Language:Stata 4.1%Language:Python 0.0%