In: Statistics and Probability
a. Use an equation editor to formulate the null and alternative hypothesis to test the following claim:
“The average life expectancy for all countries is not 68.9 years.”
b. From the AllCountries data, do your best to randomly select 10 of the 213 life expectancies listed. List the 10 values you selected below. (You can use the 10 values from Graded Problem Set 3 if you’d like.)
Bermuda:80.6
Bulgaria: 74.5
Egypt, Arab Rep.: 71.1
Kora Rep: 81.5
Argentina: 76.2
Panama: 77.6
Canada: 81.4
Korea, Dem. Rep.:69.8
Belarus: 72.5
Belize: 73.9
c. Construct a randomization distribution in StatKey to test the above hypothesis. Take at least 1000 samples. Take a screenshot of your StatKey page, and paste it below. (Your graph will differ from other students.)
d. Find and interpret the p-value in regards to the hypothesis and claim.
I have randomly selected the 10 life expectancies from the data set and hopefully, you don't need anything else from the dataset
(a) The hypothesis being tested is:
H0: µ = 68.9
Ha: µ ≠ 68.9
(b)
Bermuda:80.6
Bulgaria: 74.5
Egypt, Arab Rep.: 71.1
Kora Rep: 81.5
Argentina: 76.2
Panama: 77.6
Canada: 81.4
Korea, Dem. Rep.:69.8
Belarus: 72.5
Belize: 73.9
(c) The Statkey output is:
(d) t = (68.909 - 68.9)/1.286 = 0.007
The p-value is 0.9946.
Since the p-value (0.9946) is greater than the significance level (0.05), we fail to reject the null hypothesis.
Therefore, we cannot conclude that the average life expectancy for all countries is not 68.9 years.