One Sample t-Test
This lesson will focus on how to perform one sample t-tests in Python.
We'll cover the following...
One-sample t-test
A One sample t-test checks whether a population mean differs from the sample mean or not. We can use the function ttest_1samp
from the scipy.stats
module.
We will be using the Student Alcohol Consumption Dataset. We will take a sample from the data and find the mean grade. We will check if the population mean grade () differs from the sample mean grade () or not.
Null hypothesis ...
Ask