Answer:
Comparing the p value with the significance level given we see that so we can conclude that we FAIL to reject the null hypothesis
The confidence interval would be given by:
Step-by-step explanation:
Data given and notation
represent the mean for insurance
represent the mean withour insurance
represent the sample standard deviation for the insurance case
represent the sample standard deviation for the No insurance case
sample size for insurance
sample size for no insurance
t would represent the statistic (variable of interest)
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:
Alternative hypothesis:
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:
(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:
What is the p-value for this hypothesis test?
The degrees of freedom are given by:
Since is a bilateral test the p value would be:
Based on the p-value, what is your conclusion?
Comparing the p value with the significance level given we see that so we can conclude that we FAIL to reject the null hypothesis
The confidence interval would be given by: