/Econometrics-With-Python

Tutorials of econometrics featuring Python programming. This is a crash course for reviewing the most important concepts and techniques of basic econometrics, the theories are presented lightly without hustles of derivation and Python codes are straightforward.

Primary LanguageJupyter NotebookMIT LicenseMIT

Cover_Github_Repositories1

Econometrics With Python MIT License

[last updated in 10th July 2022]
These lecture notes are intended for econometrics training (originally used for new-hire training in the hedge fund that I was working in), suitable for university/grad students, data/quantitative analysts, junior business/economic/financial researchers and etc. The training are in two parts, the first part cover basic level and implementation in Python, the second part dive deeper into the econometric/statistical theory which is much more mathematical intensive.

This set of notes are rewritten from my MATLAB econometrics notes, which are outdated. I am still organizing the old materials.

The lectures notes are loosely based on several textbooks:

  1. Introduction to Econometrics, by Christopher Dougherty
  2. Introduction to Econometrics, by James H. Stock and Mark W. Watson
  3. Basic Econometrics, by Damodar N. Gujarati

covers_economtrics-min

Prerequisites

The first part is introductory level, it requires trainees have basic knowledge of statistics and probability theory. The second part require linear algebra.

And you would benefit more from the tutorials if you have some skills of:

  • NumPy
  • Matplotlib
  • Pandas

Contents

I strongly advise you to download all the files to view them on your PC, since nbviewer and Github has frequent rendering glitches.

Part I

Lecture 1 - Simple Linear Regression
Lecture 2 - Multiple Linear Regression, Multicollinearity and Heteroscedasticity
Lecture 3 - Practical Cases of Linear Regression
Lecture 4 - Dummy Variables
Lecture 5 - Nonlinear Regression
Lecture 6 - Qualitative Response Model
Lecture 7 - Model Specification
Lecture 8 - Identification and Simultaneous-Equation Models
Lecture 9 - Panel Data Analysis
Lecture 10 - Autocorrelation
Lecture 11 - Time Series: Basics
Lecture 12 - Time Series: Forecast

Part II

Lecture 1 - Geometry of OLS
[Lecture 2 - Statistical Properties of OLS]
[Lecture 3 - Hypothesis Test and Confidence Interval]

Screen Shots Demonstrations

截图01 截图02 截图03 截图04 截图06 截图07 截图08 截图09 截图10 截图11 截图12 截图13 截图14 截图15 截图16 截图17 截图01 截图02 截图03 截图04 截图05 截图06 截图07 截图08