Loading notebook runner...
Module 4
Test whether two coefficients are equal using WAGE2.
Related dataset
WAGE2
Estimated time
25 to 40 min
Packages
pandas, numpy, statsmodels, patsy
Expected output
Printed Python results that can be compared with the lesson explanation.
Learning goals
Common errors
Dataset path helper
import pandas as pd
df = pd.read_stata("/data/WAGE2.DTA")
df.head()