Hypothesis testing is a statistical tool that is used for the following purposes:
- Determining whether a result or model is statistically significant or not
- Ensuring that a result or model did not occur by chance
A statistical hypothesis is used to establish a relationship between data using a sample set of observations. We can call this relationship a result or a model. The goal of hypothesis testing is to eliminate cases where a result occurs by chance. A null hypothesis, on the other hand, establishes that the relationship is not statistically significant.
We typically start with a sample set of observations that consists of values associated with more than one variable. In the Basics of statistics section, we looked at properties of a single variable in isolation, except for Pearson's correlation methodology, where we measured the linear relationship...