Search⌘ K
AI Features

Paired t-Test

Explore how to use the paired t-test to compare means of the same sample at two time points. Understand hypothesis setting, significance levels, and interpretation of p-values to test if performance differences are statistically significant.

We'll cover the following...

Paired t-test

A paired t-test checks whether the means of the same sample differ at two different times. We can use the function ttest_rel from the scipy.stats module to perform the paired t-test.

We will check the mean of grades for two exams, G1 and G3. G1 is the result of the exam after the first ...