Loading notebook runner...
Module 4
Use R-squared values to compute the F statistic for valid exclusion restrictions.
Related dataset
BWGHT
Estimated time
25 to 40 min
Packages
pandas, numpy
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/BWGHT.DTA")
df.head()