State the null hypothesis and alternative hypothesis
Choose the appropriate statistical test
Calculate the test statistic from the sample data
Determine the degrees of freedom if required
Use the test statistic and distribution to find the p value
Compute the p value with statistical software, a calculator, or a p value table
Compare the p value to the chosen significance level if needed
