Loading notebook runner...
Module 4
Use scipy to compute p-values and critical values from the t distribution.
Related dataset
GPA1
Estimated time
25 to 40 min
Packages
pandas, numpy, scipy
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/GPA1.DTA")
df.head()