Respuesta :
Answer:
a) [tex] (14.68 -18.77) - 2.39 \sqrt{\frac{11.87^2}{32}+\frac{16.79^2}{30}} =-12.968 [/tex]
[tex] (14.68 -18.77) + 2.39 \sqrt{\frac{11.87^2}{32}+\frac{16.79^2}{30}} =4.788 [/tex]
b) [tex]t=\frac{14.68-18.77}{\sqrt{\frac{11.87^2}{32}+\frac{16.79^2}{30}}}}=-1.10[/tex]
Step-by-step explanation:
Data given and notation
[tex]\bar X_{A}=14.68[/tex] represent the mean for Pirates
[tex]\bar X_{B}=18.77[/tex] represent the mean for Splash Mountain
[tex]s_{A}=11.87[/tex] represent the sample standard deviation for the sample Pirates
[tex]s_{B}=16.79[/tex] represent the sample standard deviation for the sample Slpash Mountain
[tex]n_{A}=32[/tex] sample size selected for Pirates
[tex]n_{B}=30[/tex] sample size selected for Splash Mountain
[tex]\alpha=0.02[/tex] represent the significance level for the hypothesis test.
t would represent the statistic (variable of interest)
[tex]p_v[/tex] represent the p value for the test (variable of interest)
Part a
The confidence interval would be given by:
[tex] (\bar X_A -\bar X_B) \pm t_{\alpha/2} \sqrt{\frac{s^2_{A}}{n_{A}}+\frac{s^2_{B}}{n_{B}}}[/tex]
The degrees of freedom are given by:
[tex] df = n_A +n_B -2 = 32+30-2 = 60[/tex]
Since we want 98% of confidence the significance level is [tex] \alpha =1-0.98 =0.02[/tex] and [tex] \alpha/2 =0.01[/tex], we can find in the t distribution with df =60 a critical value that accumulates 0.01 of the area on each tail and we got:
[tex] t_{\alpha/2}= 2.39[/tex]
And replacing we got for the confidence interval:
[tex] (14.68 -18.77) - 2.39 \sqrt{\frac{11.87^2}{32}+\frac{16.79^2}{30}} =-12.968 [/tex]
[tex] (14.68 -18.77) + 2.39 \sqrt{\frac{11.87^2}{32}+\frac{16.79^2}{30}} =4.788 [/tex]
Part b
State the null and alternative hypotheses.
We need to conduct a hypothesis in order to check if the means are equal, the system of hypothesis would be:
Null hypothesis:[tex]\mu_{A} = \mu_{B}[/tex]
Alternative hypothesis:[tex]\mu_{A} \neq \mu_{B}[/tex]
the statistic is given by:
[tex]t=\frac{\bar X_{A}-\bar X_{B}}{\sqrt{\frac{s^2_{A}}{n_{A}}+\frac{s^2_{B}}{n_{B}}}}[/tex] (1)
t-test: "Is used to compare group means. Is one of the most common tests and is used to determine whether the means of two groups are equal to each other".
Calculate the statistic
We can replace in formula (1) the info given like this:
[tex]t=\frac{14.68-18.77}{\sqrt{\frac{11.87^2}{32}+\frac{16.79^2}{30}}}}=-1.10[/tex]