“… all models are approximations. Essentially, all models are wrong, but some are useful. However, the approximate nature of the model must always be borne in mind…” – George Box
Free Material
Software
- A short STATA primer that I wrote for a class of second-year undergraduate students when I was a TA.
- A Very Short Introduction to R and RStudio by Christoph Hanck, Martin Arnold, Alexander Gerber, and Martin Schmelzer. This is part of a general free online textbook called Introduction to Econometrics with R.
- Introduction to Python at Kaggle.com
Time series forecasting
Bayesian Econometrics
I taught a Ph.D. level, Introduction to Bayesian Econometrics in Julia. Topics include
- What is Bayesian Econometrics?
- Introduction to Monte Carlo Sampling
- Markov chain Monte Carlo (MCMC)
- Linear Regression with Normally distributed errors
- Linear Regression with Student’s t-distributed errors
- Vector Autoregressions
- State-space models
For more content, I recommend the free notes on Bayesian Macroeconometrics by Joshua Chan.
Algorithms for State Space Models
- The Kalman Filter with the estimation of an unobserved components model in MATLAB.
- Durbin and Koopman Simulation Smoother with the estimation of an unobserved components model in MATLAB.
- Precision Sampler with the estimation of an unobserved components model – MATLAB code is provided by Joshua Chan here.
Recommended Textbooks
Introduction to Classical Econometrics
- Introduction to Econometrics by James Stock and Mark Watson
- I recommend this book to anyone who is taking their first course in econometrics. It is by far the nicest introduction to econometrics that I’ve come across. They also have a complete list of solutions to odd-numbered exercises.
Introduction to Bayesian Econometrics
- Bayesian Econometrics by Gary Koop
- This textbook is a classic in Bayesian econometrics. It is self-contained and focuses on fundamental models. Gary also provides each of the programs and data sets used in the chapters on the website. I recommend it to anyone who wants to learn the basics of Bayesian Econometrics.
- Bayesian Econometric Methods (Econometric Exercises) 2nd Edition, by Joshua CC Chan, Gary Koop, Dale Poirier and Justin Tobias
- This textbook contains over 100 exercises and solutions on most topics in Bayesian statistics. It’s an excellent complement to Gary’s book “Bayesian Econometrics”. It also has MATLAB code on the website. I recommend it to anyone who wants to learn how to solve Bayesian models.
Time Series Analysis
- Applied Econometric Time Series by Walt Enders
- This is the standard textbook for applied macroeconometrics courses at most universities. It provides a good introduction for basic ideas in time series analysis. One weakness is that it doesn’t provide any insight on how to code the models; which is an important skill to have.