In: Statistics and Probability
using this data set, use statkey to show if theres a correlation between age and alcohol consumpion please? shown appropriate form of graphs and or calculations. Alcohol consumption key is 1= regular drinker. 2= not regular drinker
| Age |
| 21 |
| 19 |
| 34 |
| 19 |
| 19 |
| 21 |
| 24 |
| 20 |
| 20 |
| 18 |
| 18 |
| 18 |
| 18 |
| 18 |
| 19 |
| 20 |
| 19 |
| 20 |
| 18 |
| 19 |
| 19 |
| 20 |
| 18 |
| 19 |
| 19 |
| 20 |
| 19 |
| 22 |
| 22 |
| 45 |
| 23 |
| 19 |
| 21 |
| 20 |
| 23 |
| 20 |
| 20 |
| 19 |
| 19 |
| 18 |
| 20 |
| 22 |
| 28 |
| 26 |
| 20 |
| 19 |
| 19 |
| 23 |
| 19 |
| 22 |
| 19 |
| 19 |
| 20 |
| 23 |
| 18 |
| 19 |
| 19 |
| 20 |
| 23 |
| 21 |
| 20 |
| 22 |
| 28 |
| 18 |
| 20 |
| 21 |
| 41 |
| 18 |
| 20 |
| 18 |
| 20 |
| 19 |
| 18 |
| 20 |
| 20 |
| 22 |
| 20 |
| 20 |
| 19 |
| 25 |
| Alcohol |
| 2 |
| 2 |
| 2 |
| 2 |
| 2 |
| 2 |
| 2 |
| 1 |
| 2 |
| 1 |
| 2 |
| 1 |
| 1 |
| 2 |
| 2 |
| 1 |
| 2 |
| 2 |
| 1 |
| 1 |
| 1 |
| 2 |
| 1 |
| 1 |
| 1 |
| 2 |
| 2 |
| 1 |
| 1 |
| 2 |
| 1 |
| 2 |
| 2 |
| 1 |
| 1 |
| 2 |
| 1 |
| 2 |
| 1 |
| 1 |
| 1 |
| 1 |
| 2 |
| 1 |
| 2 |
| 1 |
| 2 |
| 1 |
| 1 |
| 1 |
| 1 |
| 2 |
| 2 |
| 2 |
| 2 |
| 2 |
| 1 |
| 1 |
| 1 |
| 2 |
| 1 |
| 1 |
| 1 |
| 1 |
| 1 |
| 1 |
| 2 |
| 1 |
| 1 |
| 1 |
| 1 |
| 1 |
| 1 |
| 1 |
| 1 |
| 2 |
| 1 |
| 1 |
| 1 |
| 2 |
The StatKey output is:

The hypothesis being tested is:
H0: r = 0
Ha: r ≠ 0
The p-value is 0.050.
Since the p-value (0.050) is equal than the significance level (0.05), we can reject the null hypothesis.
Therefore, we can conclude that there is a correlation between age and alcohol consumption.