\[
= \frac{866}{15} = 57.73 \text{ grams}
\]
Calculate the Sample Standard Deviation (s):
To calculate \(s\), use the formula:
\[
s = \sqrt{\frac{\sum (x_i - \bar{x})^2}{n-1}}
\]
First, compute the deviations from the mean, square each, and then sum them up:
- \((52 - 57.73)^2 = 32.6729\)
- \((55 - 57.73)^2 = 7.4929\)
- \((61 - 57.73)^2 = 10.6329\)
- \((54 - 57.73)^2 = 13.9129\)
- \((58 - 57.73)^2 = 0.0729\)
- \((59 - 57.73)^2 = 1.6129\)
- \((62 - 57.73)^2 = 18.1929\)
- \((53 - 57.73)^2 = 22.3729\)
- \((56 - 57.73)^2 = 2.9929\)
- \((57 - 57.73)^2 = 0.5329\)
- \((60 - 57.73)^2 = 5.1129\)
- \((59 - 57.73)^2 = 1.6129\)
- \((61 - 57.73)^2 = 10.6329\)
- \((64 - 57.73)^2 = 39.3129\)
- \((58 - 57.73)^2 = 0.0729\)
Sum of squared deviations:
\[
\sum (x_i - \bar{x})^2 = 167.1204
\]
Now calculate \(s\):
\[
s = \sqrt{\frac{167.1204}{14}} = 3.46 \text{ grams}
\]
Compute the T-Statistic:
Using the t-test formula:
\[
t = \frac{\bar{x} - \mu}{s / \sqrt{n}} = \frac{57.73 - 60}{3.46 / \sqrt{15}} = -2.32
\]
Determine Degrees of Freedom:
\[
df = n - 1 = 15 - 1 = 14
\]
Calculate P-Value for a Two-Tailed Test:
Based on the t-statistic, look up or compute the p-value for \(|t| = 2.32\) with \(df = 14\). This value is approximately \(p = 0.036\).
Interpretation
T-Statistic: The negative value of the t-statistic (-2.32) indicates that the sample mean is less than the null hypothesis mean of 60 grams.
P-Value: The p-value of 0.036 is less than the chosen significance level of 0.05. This suggests that there is statistically significant evidence to reject the null hypothesis.
Therefore, based on the sample of 15 cookies, there is sufficient statistical evidence to conclude that the average weight of the bakery’s chocolate chip cookies is different from the claimed 60 grams.
Given the direction indicated by the t-statistic, it suggests that the cookies may, on average, weigh less than the claimed 60 grams.