Loading notebook runner...
Module 8
Estimate a linear probability model with HC1 robust standard errors.
Related dataset
MODULE8_BINARY_OUTCOME_LPM
Estimated time
35 to 55 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_csv("/data/module-8/module8_binary_outcome_lpm.csv")
df.head()