Instituto Tecnológico Autónomo de México (ITAM)
Professor: Mauricio Romero
- E-mail: mtromero@itam.mx
- Syllabus
Slides
- Lecture 0 – Admin – native LaTeX file
- Lecture 1 – Intro to R – native LaTeX file
- Lecture 2 – Working with data in R – native LaTeX file
- Lecture 3 – Basics of programming – native LaTeX file
- Lecture 4 – Stats review – native LaTeX file
- Lecture 5 – Summarizing data – native LaTeX file
- Lecture 6 – Potential outcomes and the experimental ideal – native LaTeX file –Slides with notes
- Lecture 7 – OLS review – native LaTeX file – Slides with notes
- Lecture 8 – Beyond the basics of OLS– native LaTeX file– Slides with notes
- Lecture 9 – Panel Data– native LaTeX file– Slides with notes
- Lecture 10 – Difference-in-Differences – native LaTeX file– Slides with notes
- Lecture 11 – Instrumental Variables – native LaTeX file– Slides with notes
- Lecture 12 – Regression Discontinuity – native LaTeX file– Slides with notes
R Code
Project/Homework
- Taller 1
- Examen 1
- Taller 2
- Taller de preparación examen 2 (no hay que entregarlo)
- Examen 2
- Taller 3
- Taller de preparación examen 3 (no hay que entregarlo)
Recordings
- 05/08/2021 – Lecture 0 + most of lecture 1
- 10/08/2021 – End of lecture 1 + 50% lecture 2
- 12/08/2021 – End of lecture 2 + 20% lecture 3
- 18/08/2021 – Next 40% of lecture 3
- 20/08/2021 – Final 20% of lecture 3 + 10% lecture 4
- 24/08/2021 – Next 80% of lecture 4
- 26/08/2021 – Final 10% of lecture 4 + 50% lecture 5
- 31/08/2021 – Final 50% lecture 5
- 02/09/2021 – First 40% lecture 6
- 07/09/2021 – Next 40% lecture 6
- 09/09/2021 – Final 20% of lecture 6 + 10% of lecture 7
- 21/09/2021 – Next 30% of lecture 7
- 23/09/2021 – Next 30% of lecture 7
- 28/09/2021 – Next 30% of lecture 7
- 30/09/2021 – 33% of lecture 8
- 05/10/2021 – Next 33% of lecture 8
- 07/10/2021 – Next 33% of lecture 8
- 12/10/2021 – 50% of lecture 9
- 14/10/2021 – Next 50% of lecture 9+10% of Lecture 10
- 19/10/2021 – Repaso – Examen 2
- 26/10/2021 – Next 40% of Lecture 10
- 28/10/2021 – Final 50% of Lecture 10
- 04/11/2021 – First 50% of Lecture 11
- 05/08/2021 – Lecture 0 + most of lecture 1
- 10/08/2021 – End of lecture 1 + 50% lecture 2
- 12/08/2021 – End of lecture 2 + 20% lecture 3
- 18/08/2021 – Next 40% of lecture 3
- 20/08/2021 – Final 20% of lecture 3 + 10% lecture 4
- 24/08/2021 – Next 80% of lecture 4
- 26/08/2021 – Final 10% of lecture 4 + 50% lecture 5
- 31/08/2021 – Final 50% lecture 5
- 02/09/2021 – First 40% lecture 6
- 07/09/2021 – Next 40% lecture 6
- 09/09/2021 – Final 20% of lecture 6 + 10% of lecture 7
- 21/09/2021 – Next 30% of lecture 7
- 23/09/2021 – Next 30% of lecture 7
- 28/09/2021 – Next 30% of lecture 7
- 30/09/2021 – 33% of lecture 8
- 05/10/2021 – Next 33% of lecture 8
- 07/10/2021 – Next 33% of lecture 8
- 12/10/2021 – 50% of lecture 9
- 14/10/2021 – Next 50% of lecture 9+10% of Lecture 10
- 19/10/2021 – Repaso – Examen 2
- 26/10/2021 – Next 40% of Lecture 10
- 28/10/2021 – Final 50% of Lecture 10
- 04/11/2021 – First 50% of Lecture 11
- 09/11/2021 – Next 50% of Lecture 11
- 11/11/2021 – First 50% of Lecture 12
- 16/11/2021 – Final 50% of Lecture 12
- 18/11/2021 – Some papers
- 23/11/2021 – Repaso examen 3
- 25/11/2021 – Repaso examen 3
Other resources to learn econometrics
- Seeing Theory – A visual introduction to probability and statistics
- Nick Huntington-Klein’s class, animated plots, econometric/R resources, and Github repository
- Scott Cunningham’s Causal Inference: The Mixtape. A free textbook focusing on causal inference. Github repository
- Nick Huntington-Klein’s The Effect: An Introduction to Research Design and Causality
- Mostly Harmless Econometrics (MHE) website
- Pamela Jakiela and Owen Ozier’s Empirical Microeconomics class
- Grant McDermott’s Data Science for Economist class and Github repository
- SciencePo’s “Introduction to econometrics with R” and their Github repository
- A great compendium of easy-to-read papers on econometrics: https://www.aeaweb.org/journals/jep/classroom/econometrics
- EGAP’s methods guide (contains sample R code)
- J-PAL’s research resources and teaching resources
- The World Bank’s methods blog posts (and an updated version from 2020)
- NBER Summer Institute 2007 Methods Lectures
- Common statistical tests are linear models
- Asjad Naqvi’s repository with resources for difference-in-differences
- Andrew Goodman-Bacon and Pedro Sant’Anna: “New Developments in Difference-in-differences Estimators” at the Electronic Health Economics Colloquium on June 16, 2021
- Kyle Butts’s visual guide to Goodman-Bacon decomposition of TWFE
- Gary Chamberlain’s lecture notes (posted by Paul Goldsmith-Pinkham)
- Paul Goldsmith-Pinkham’s Applied Empirical Methods PhD Class
- Sarah Miller’s cheat sheets for RCTs, RDD, and DiD
R and programming resources
- R-Project.org and RStudio.com First install the latest version of R from R-Project. Then, install RStudio
- Some useful R guides and tutorials: swirl, Base R cheat sheet, R-bloggers, and R Studio’s resources, Kelsey Moty’s R Workshops at NYU CDSC Lab
- Jesse M. Shapiro and Matthew Gentzkow’s Code and Data for the Social Sciences: A Practitioner’s Guide
- Grant McDermott’s Data Science for Economist class
- Grant McDermott’s Efficient Simularion in R post
- Ljubica “LJ” Ristovska’s Language-Agnostic Guide to Programming for Economists
- TablesGenerator, to convert Excel tables to LaTeX
- DIME (at the World Bank) R-training course
- Monica Alexander workshop on social media data for population researchers
Stata resources
- IPA’s Stata training
- MITx: J-PAL-101: Evaluating Social Programs
- J-PAL data cleaning in Stata
- UCLA’s Stata resources
- Stata introduction by German Rodriguez
- Stata introduction by Oscar Torres-Reyna
Other useful resources
- Jesse M. Shapiro’s How to Give an Applied Micro Talk
- Rachael Meager’s Public Speaking for Academic Economists
- Kieran Healy’s Visualization: A Practical Introduction
- Jonathan A. Schwabish’s An Economist’s Guide to Visualizing Data
- A color scheme I like: http://www.mulinblog.com/a-color-palette-optimized-for-data-visualization/
- A couple of blogs on data visualization I like: Blog 1, Blog 2
- J-PAL’s research resouces (lots of Stata examples)
- J-PAL’s data visualization resources
- Alex Coppock’s note on visualizations for RCTs
- Layout Parser: an open-source deep-learning powered library, that provides a variety of tools for automatically processing document image data at scale.
Visual tour of OLS
- Ryan Safner’s shiny app
- Seeing theory interactive plot
- SETOSA interactive plots
- Manny Gimond’s intro guide to OLS in R
- SciencePo’s Shinny app
Assorted links
- Ayotzinapa documentary (on Netflix): https://www.netflix.com/title/81013509
- One of my favorite essays (it’s really a speech): http://agaviria.blogspot.com/2016/02/una-ultima-leccion.html
- Two visualizations of inequality: “Where are you in the income distribution?” and “Wealth shown to scale”