Loading notebook runner...
Module 3
Calculate variance inflation factors for education, experience, and tenure.
Related dataset
WAGE1
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/WAGE1.DTA")
df.head()