A recent health report revealed that a woman with insurance spends an average of 2.3 days in the hospital following a routine childbirth, while a woman without insurance spends an average of 1.9 days at the hospital. Two samples of 16 women each were used in both samples. The standard deviation of the first sample is equal to 0.6 day, and the standard deviation of the second sample is 0.3 day. At ???? =0.01, test the claim that the means are equal. Find the 99% confidence interval for the differences of the means and compare the result of the hypothesis test to the one for the confidence interval

Respuesta :

Answer:

[tex]t=\frac{2.3-1.9}{\sqrt{\frac{0.6^2}{16}+\frac{0.3^2}{16}}}}=2.385[/tex]  

[tex]p_v =2*P(t_{30}>2.385)=0.0236[/tex]

Comparing the p value with the significance level given [tex]\alpha=0.01[/tex] we see that [tex]p_v>\alpha[/tex] so we can conclude that we FAIL to reject the null hypothesis

The confidence interval would be given by:

[tex] (2.3 -1.9) - 2.75*\sqrt{\frac{0.6^2}{16}+\frac{0.3^2}{16}}}=-0.0611 [/tex]

[tex] (2.3 -1.9) + 2.75* \sqrt{\frac{0.6^2}{16}+\frac{0.3^2}{16}}}=0.861 [/tex]

Step-by-step explanation:

Data given and notation

[tex]\bar X_{insurance}=2.3[/tex] represent the mean for insurance

[tex]\bar X_{No. ins}=1.9[/tex] represent the mean withour insurance

[tex]s_{Insurance}=0.6[/tex] represent the sample standard deviation for the insurance case

[tex]s_{No. Ins}=0.3[/tex] represent the sample standard deviation for the No insurance case

[tex]n_{Insurance}=16[/tex] sample size for insurance

[tex]n_{No. Iss}=16[/tex] sample size for no insurance

t would represent the statistic (variable of interest)

[tex]\alpha=0.01[/tex] significance level provided

Develop the null and alternative hypotheses for this study?

We need to conduct a hypothesis in order to check if the means for the two groups are different, the system of hypothesis would be:

Null hypothesis:[tex]\mu_{Insu}=\mu_{No. Ins}[/tex]

Alternative hypothesis:[tex]\mu_{Ins} \neq \mu_{No. Ins}[/tex]

Since we know the population deviations for each group, for this case is better apply a z test to compare means, and the statistic is given by:

[tex]t=\frac{\bar X_{Ins}-\bar X_{No.Ins}}{\sqrt{\frac{s^2_{Ins}}{n_{Ins}}+\frac{s^2_{No. Ins}}{n_{No. Ins}}}}[/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 value of the test statistic for this hypothesis testing.

Since we have all the values we can replace in formula (1) like this:

[tex]t=\frac{2.3-1.9}{\sqrt{\frac{0.6^2}{16}+\frac{0.3^2}{16}}}}=2.385[/tex]  

What is the p-value for this hypothesis test?

The degrees of freedom are given by:

[tex] df = n_{ins} +n_{No Ins}-2=16+16-2 =30[/tex]

Since is a bilateral test the p value would be:

[tex]p_v =2*P(t_{30}>2.385)=0.0236[/tex]

Based on the p-value, what is your conclusion?

Comparing the p value with the significance level given [tex]\alpha=0.01[/tex] we see that [tex]p_v>\alpha[/tex] so we can conclude that we FAIL to reject the null hypothesis

The confidence interval would be given by:

[tex] (2.3 -1.9) - 2.75*\sqrt{\frac{0.6^2}{16}+\frac{0.3^2}{16}}}=-0.0611 [/tex]

[tex] (2.3 -1.9) + 2.75* \sqrt{\frac{0.6^2}{16}+\frac{0.3^2}{16}}}=0.861 [/tex]