Loading notebook runner...
Module 4
Assemble coefficient, uncertainty, p-value, fit, and interpretation into a report table.
Related dataset
CEOSAL2
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_stata("/data/CEOSAL2.DTA")
df.head()