Respuesta :
Answer:
a) Null hypothesis: [tex]\mu_d= 0[/tex]
Alternative hypothesis: [tex]\mu_d \neq 0[/tex]
b) [tex]t=\frac{\bar d -0}{\frac{s_d}{\sqrt{n}}}=\frac{850 -0}{\frac{1123}{\sqrt{42}}}=4.905[/tex]
The next step is calculate the degrees of freedom given by:
[tex]df=n-1=42-1=41[/tex]
Now we can calculate the p value, since we have a left tailed test the p value is given by:
[tex]p_v =2*P(t_{(41)}>4.905) =0.000015[/tex]
So the p value is lower than any significance level given, so then we can conclude that we can reject the null hypothesis that the difference between he two groups are equal.
Step-by-step explanation:
Assuming the following questions:
We assume the following data: [tex] n = 42 ,\bar d= 850 , s_d = 1123[/tex]
Previous concepts
A paired t-test is used to compare two population means where you have two samples in which observations in one sample can be paired with observations in the other sample. For example if we have Before-and-after observations (This problem) we can use it.
a. Formulate the null and alternative hypotheses to test for no difference between the population mean credit card charges for groceries and the population mean credit card charges for dining out.
The system of hypothesis for this case are:
Null hypothesis: [tex]\mu_2- \mu_1 = 0[/tex]
Alternative hypothesis: [tex]\mu_2 -\mu_1 \neq 0[/tex]
Or equivalently
Null hypothesis: [tex]\mu_d= 0[/tex]
Alternative hypothesis: [tex]\mu_d \neq 0[/tex]
b. Use a .05 level of significance. Can you conclude that the population means differ? What is the p-value?
[tex]t=\frac{\bar d -0}{\frac{s_d}{\sqrt{n}}}=\frac{850 -0}{\frac{1123}{\sqrt{42}}}=4.905[/tex]
The next step is calculate the degrees of freedom given by:
[tex]df=n-1=42-1=41[/tex]
Now we can calculate the p value, since we have a left tailed test the p value is given by:
[tex]p_v =2*P(t_{(41)}>4.905) =0.000015[/tex]
So the p value is lower than any significance level given, so then we can conclude that we can reject the null hypothesis that the difference between he two groups are equal.