Answer:
If we compare the p value with a significance level given we see that so we can conclude that we FAIL to reject the null hypothesis, so there is not enough evidence to conclude that the mean for the data is significantly different from 86 days.
Step-by-step explanation:
Assuming the following problem: "In Hamilton County, Ohio the mean number of days needed to sell a home is 86 days (Cincinnati Multiple Listing Service, April, 2012). Data for the sale 40 of homes in a nearby county showed a sample mean of 80 days with a sample standard deviation of 20 days. Conduct a hypotheses test to determine whether the mean number of days until a home is sold is different than the Hamilton county mean of 86 days in the nearby county. "
1) Data given and notation
represent the sample mean
represent the sample standard deviation
sample size
represent the value that we want to test
represent the significance level for the hypothesis test.
z would represent the statistic (variable of interest)
represent the p value for the test (variable of interest)
2) State the null and alternative hypotheses.
We need to conduct a hypothesis in order to determine if the mean is different from 86, the system of hypothesis would be:
Null hypothesis:
Alternative hypothesis:
We don't know the population deviation, so for this case we can use the t test to compare the actual mean to the reference value, 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 if the mean is (higher, less or not equal) to an specified value".
3) Calculate the statistic
We can replace in formula (1) the info given like this:
4) Calculate the P-value
First we need to find the degrees of freedom given by:
Since is a two tailed test the p value would be:
In Excel we can use the following formula to find the p value "=2*T.DIST(-1.8974,39,TRUE)"
5) Conclusion
If we compare the p value with a significance level given we see that so we can conclude that we FAIL to reject the null hypothesis, so there is not enough evidence to conclude that the mean for the data is significantly different from 86 days.