Answer:
The null hypothesis is
The alternate hypothesis is
The pvalue of the test is 0.03 < 0.05, which means that we have enough evidence to accept the alternative hypothesis that he proportion of people who wear life vests while riding a jet ski is not the same as the proportion of people who wear life vests while riding in a boat.
Explanation:
Before testing the null hypothesis, we need to understand the Central Limit Theorem and subtraction of normal variables.
Central Limit Theorem
The Central Limit Theorem estabilishes that, for a normally distributed random variable X, with mean
and standard deviation
, the sampling distribution of the sample means with size n can be approximated to a normal distribution with mean
and standard deviation
.
For a skewed variable, the Central Limit Theorem can also be applied, as long as n is at least 30.
For a proportion p in a sample of size n, the sampling distribution of the sample proportion will be approximately normal with mean
and standard deviation
Subtraction between normal variables:
When two normal variables are subtracted, the mean is the difference of the means, while the standard deviation is the square root of the sum of the variances.
Out of 500 randomly selected people who rode a jet ski, 85% wore life vests.
This means that
Out of 250 randomly selected boaters, 90.4% wore life vests.
This means that
Test the claim that the proportion of people who wear life vests while riding a jet ski is not the same as the proportion of people who wear life vests while riding in a boat.
At the null hypothesis, we test that the proportions are the same, that is, the subtraction between them is zero. So
At the alternate hypothesis, we test that the proportions are different, that is, the subtraction between them is different of zero. So
The test statistic is:
In which X is the sample mean,
is the value tested at the null hypothesis and s is the standard error.
0 is tested at the null hypothesis:
This means that
From the two samples, we have that:
Test statistic:
Pvalue of the test and decision:
The pvalue of the test is the probability that the difference differs from 0 by at least 0.054, which is P(|Z| > 2.17), which is 2 multiplied by the pvalue of z = -2.17
Looking at the z-table, z = -2.17 has a pvalue of 0.015
2*0.015 = 0.03
The pvalue of the test is 0.03 < 0.05, which means that we have enough evidence to accept the alternative hypothesis that he proportion of people who wear life vests while riding a jet ski is not the same as the proportion of people who wear life vests while riding in a boat.