Answer:
A. The null hypothesis is
.
The alternative hypothesis is
![H_a: \mu > 130](https://img.qammunity.org/2022/formulas/mathematics/college/8s88adtid1ayxastlgw9dhu7s50e9ed1zg.png)
B. The value of the test statistic is
![t = 1](https://img.qammunity.org/2022/formulas/mathematics/high-school/1mi7r3vzzjihc2yd6ninpzbu9jditwfq2f.png)
C. The p-value is of 0.1636.
D. The critical value is
![t_c = 1.711](https://img.qammunity.org/2022/formulas/mathematics/college/9xtsr7tw99e544cmjqtnqu3ctr8capyrtc.png)
Explanation:
Question a:
Customers at Costco spend an average of $130 per trip (The Wall Street Journal, October 6, 2010). One of Costco's rivals would like to determine whether its customers spend more per trip.
At the null hypothesis, we test if the mean is the same as Costco's, that is:
![H_0: \mu = 130](https://img.qammunity.org/2022/formulas/mathematics/college/5cm159werhfvylm4dkjiy1o6ifx8qm28zo.png)
At the alternative hypothesis, we test if the mean is more than 130, that is:
![H_a: \mu > 130](https://img.qammunity.org/2022/formulas/mathematics/college/8s88adtid1ayxastlgw9dhu7s50e9ed1zg.png)
B. Calculate the value of the test statistic.
The test statistic is:
We have the standard deviation for the sample, so the t-distribution is used to solve this question.
![t = (X - \mu)/((s)/(√(n)))](https://img.qammunity.org/2022/formulas/mathematics/college/rek1g7wny8ng2ts5xbh50hztgds93wm35a.png)
In which X is the sample mean,
is the value tested at the null hypothesis, s is the standard deviation and n is the size of the sample.
130 is tested at the null hypothesis:
This means that
![\mu = 130](https://img.qammunity.org/2022/formulas/mathematics/college/824gapyhd6u00ahmgt0h4x8cf3dajut2ai.png)
A survey of the receipts of 25 customers found that the sample mean was $135.25. Assume that the population standard deviation is $10.50 and that spending follows a normal distribution.
This means that
![n = 25, X = 135.25, s = 10.50](https://img.qammunity.org/2022/formulas/mathematics/college/71gdnj0f1xbssz0v23l9pmuuc6yo3uyi4g.png)
Then
![t = (X - \mu)/((s)/(√(n)))](https://img.qammunity.org/2022/formulas/mathematics/college/rek1g7wny8ng2ts5xbh50hztgds93wm35a.png)
![t = (135.25 - 130)/((10.50)/(√(25)))](https://img.qammunity.org/2022/formulas/mathematics/college/8ipqe7ju2rljllg20ue7f9h5h91xu3w0zf.png)
![t = 1](https://img.qammunity.org/2022/formulas/mathematics/high-school/1mi7r3vzzjihc2yd6ninpzbu9jditwfq2f.png)
The value of the test statistic is
![t = 1](https://img.qammunity.org/2022/formulas/mathematics/high-school/1mi7r3vzzjihc2yd6ninpzbu9jditwfq2f.png)
C. Calculate the p-value.
Test if the mean is more than a value, so a right-tailed test.
Sample of 25, so 25 - 1 = 24 degrees of freedom.
Test statistic of t = 1.
Using a t-distribution calculator, the p-value is of 0.1636.
D. Calculate the critical value
24 df, using the standard 0.05 significance level.
Using a critical value calculator, the critical value is
![t_c = 1.711](https://img.qammunity.org/2022/formulas/mathematics/college/9xtsr7tw99e544cmjqtnqu3ctr8capyrtc.png)