Two Sample t-Test
This lesson will focus on how to perform a two-sample t-test in Python.
We'll cover the following...
Two-sample t-test
A two-sample t-test checks whether means of two independent samples differ from each other. We can use the function ttest_ind
from the scipy.stats
module to perform the two-sample t-test.
We will be using the Student Alcohol Consumption Dataset. We will divide the data into two groups based on alcohol consumption. Then we will find the mean grade for both groups. We will check if the mean grades for both groups differ from each other or not.
Null hypothesis ...
Access this course and 1400+ top-rated courses and projects.