Loading notebook runner...
Module 3
Estimate college GPA on high-school GPA and ACT when the GPA1 file is installed.
Related dataset
GPA1
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/GPA1.DTA")
df.head()