Skip to main content

Section 7.2 Steps in Hypothesis Testing
 1 
This section is adapted from David M. Lane. "Steps in Hypothesis Testing." Online Statistics Education: A Multimedia Course of Study. https://onlinestatbook.com/2/logic_of_hypothesis_testing/steps.html

There’s much to learn about hypothesis testing, but before going any further, here’s an overview of the four basic steps of any hypothesis test. Some of the details won’t make sense yet, but we’ll explain them in more detail in the following sections.
  1. The first step is to specify the null hypothesis. For a two-tailed test, the null hypothesis is typically that a parameter equals zero although there are exceptions. A typical null hypothesis is \(\mu_1 - \mu_2 = 0\) which is equivalent to \(\mu_1 = \mu_2\text{.}\) For a one-tailed test, the null hypothesis is either that a parameter is greater than or equal to zero or that a parameter is less than or equal to zero. If the prediction is that \(\mu_1\) is larger than \(\mu_2\text{,}\) then the null hypothesis (the reverse of the prediction) is \(\mu_2 - \mu_1 \geq 0\text{.}\) This is equivalent to \(\mu_1 \leq \mu_2\text{.}\)
  2. The second step is to specify the \(\alpha\) level which is also known as the significance level. Typical values are 0.05 and 0.01.
  3. The third step is to compute the probability value (also known as the p value). This is the probability of obtaining a sample statistic as different or more different from the parameter specified in the null hypothesis given that the null hypothesis is true.
  4. Finally, compare the probability value with the \(\alpha\) level. If the probability value is lower then you reject the null hypothesis. Keep in mind that rejecting the null hypothesis is not an all-or-none decision. The lower the probability value, the more confidence you can have that the null hypothesis is false. However, if your probability value is higher than the conventional \(\alpha\) level of 0.05, most scientists will consider your findings inconclusive. Failure to reject the null hypothesis does not constitute support for the null hypothesis. It just means you do not have sufficiently strong data to reject it.