Respuesta :
Answer:
(a) [tex]H_o:\mu_1 = \mu_2[/tex] [tex]H_a:\mu_1 > \mu_2[/tex]
(b) [tex]t = 0.74[/tex]
(c) [tex]p =0.2331[/tex]
(d) [tex]CI = (-2.095,4.095)[/tex]
Step-by-step explanation:
Given
[tex]\bar x_1=21,\ s_1=4,\ n_1=12,\\ \bar x_2=20,\ s_2=3,\ n_2=15[/tex]
Solving (a): The hypotheses
The test is right-tailed, means that the alternate hypothesis will contain greater than sign.
So, we have:
[tex]H_o:\mu_1 = \mu_2[/tex]
[tex]H_a:\mu_1 > \mu_2[/tex]
Solving (b); The test statistic (t)
This is calculated as:
[tex]t = \frac{\bar x_1 - \bar x_2}{\sqrt{\frac{s_1^2(n_1 - 1) + s_2^2(n_2 - 1)}{n_1 + n_2 - 2} * (\frac{1}{n_1} + \frac{1}{n_2})}}[/tex]
So, we have:
[tex]t = \frac{21 - 20}{\sqrt{\frac{4^2(12 - 1) + 3^2(15 - 1)}{12 + 15 - 2} * (\frac{1}{12} + \frac{1}{15})}}[/tex]
[tex]t = \frac{1}{\sqrt{\frac{302}{25} * (0.15)}}[/tex]
[tex]t = \frac{1}{\sqrt{12.08 * 0.15}}[/tex]
[tex]t = \frac{1}{\sqrt{1.812}}[/tex]
[tex]t = \frac{1}{1.346}[/tex]
[tex]t = 0.74[/tex]
Solving (c): The P-value
First, we calculate the degrees of freedom
[tex]df = n_1 + n_2 -2[/tex]
[tex]df = 12+15 -2[/tex]
[tex]df = 25[/tex]
Using the t distribution, the p-value is:
[tex]p =TDIST(0.74,25)[/tex]
[tex]p =0.2331[/tex]
Solving (d): The 90% confidence interval
Calculate significance level
[tex]\alpha = 1 - CI[/tex]
[tex]\alpha = 1 - 90\%[/tex]
[tex]\alpha = 0.10[/tex]
Calculate the t value (t*)
[tex]t^* = (\alpha/2,df)[/tex]
[tex]t^* = (0.10/2,25)[/tex]
[tex]t^* = (0.05,25)[/tex]
[tex]t^* = 1.708[/tex]
The confidence interval is calculated using:
[tex]CI = (\bar x - \bar x_2) \± t^* *\sqrt{\frac{s_1^2(n_1 - 1) + s_2^2(n_2 - 1)}{n_1 + n_2 - 2} * (\frac{1}{n_1} + \frac{1}{n_2})}[/tex]
[tex]CI = (21 - 20) \± 1.708 *\sqrt{\frac{4^2(12 - 1) + 3^2(15 - 1)}{12 + 15 - 2} * (\frac{1}{12} + \frac{1}{15})}[/tex]
[tex]CI = 1 \± 1.708 *1.812[/tex]
[tex]CI = 1 \± 3.095[/tex]
Split
[tex]CI = 1 - 3.095 \ or\ 1 + 3.095[/tex]
[tex]CI = -2.095 \ or\ 4.095[/tex]
[tex]CI = (-2.095,4.095)[/tex]