In this section, we will perform hypothesis testing to answer this question: "does alcohol consumption affect academic performance?".
We will cover the following topics:
- A null hypothesis testing framework
- Performing a test for the equality of population variances
- Performing a t-test for the equality of population means
We will be using these results to answer the question that we proposed. We will use the Jupyter Notebook and conduct a brief review of the following steps, which we usually follow when we use hypothesis testing to answer a question:
- We will set up two competing hypotheses; one is called the null hypothesis and the other is called the alternative hypothesis. What determines these hypotheses is the type of question that we would like to answer.
- We will set in advance a significance level, called alpha. The most common alpha value...