Loading notebook runner...
Fundamentals of Python for Financial Econometrics
What if the same lag has a different effect in calm and stressed regimes, or the observed price change is an ordered category?
Related dataset
Ceteris Lab teaching sample
Estimated time
25 to 40 min
Packages
pandas, numpy, statsmodels, patsy
Expected output
A regression or inference table with coefficients, uncertainty, and short interpretation notes.
Learning goals
Common errors
Dataset path helper
import pandas as pd
df = pd.read_csv("/data/wage_sample.csv")
df.head()