In: Statistics and Probability
According to a recent study annual per capita consumption of milk in the United States is 23.8 gallons. Being from the Midwest, you believe milk consumption is higher there and wish to test your hypothesis. A sample of 14 individuals from the Midwestern town of Webster City was selected and then each person's milk consumption was entered into the Microsoft Excel Online file below. Use the data to set up your spreadsheet and test your hypothesis.
Gallons of Milk |
28.9 |
23.84 |
25.25 |
21.1 |
17.52 |
19.61 |
19.83 |
26.18 |
34.97 |
30 |
28.59 |
20.57 |
26.94 |
27.24 |
1. What is a point estimate of the difference between mean annual consumption in Webster City and the national mean?
2. At ? = 0.05, test for a significant difference by completing the following:
Calculate the value of the test statistic (2 decimals).
The p-value is
Solution :
here our hypothesis will be
H0 : there is not significant difference between mean annual consumption in Webster City and the national mean.
H1 : there is significant difference between mean annual consumption in Webster City and the national mean.
sample size(n) =14
enter data in excel as:
Gallons of Milk |
28.9 |
23.84 |
25.25 |
21.1 |
17.52 |
19.61 |
19.83 |
26.18 |
34.97 |
30 |
28.59 |
20.57 |
26.94 |
27.24 |
µ = | 23.8 | (Population Mean) | ||
n= | 14 | (Sample Size) | ||
d.f.= | n-1 = 13 | (Degree of Freedom) | ||
sample mean = | 25.03857143 | |||
standard deviation(sd)= | 4.888181756 | |||
standard error= | 1.306421527 | |||
point estimate of the difference between mean annual consumption in Webster City and the national mean | = | 1.238571 |
t-statistic = | 0.948064161 |
P-value = | 0.180194213 |
since p-value is greater than 0.05 |
we do not reject Null Hypothesis (Ho) and conclude that there is not significant difference between mean annual consumption in Webster City and the national mean. |
steps and formule: