Answer:
The p-value of the test is 0.0088 < 0.05, which means that at the 0.05 significance level, we can conclude that there is a difference in the proportion of vines infested using Pernod 5 as opposed to Action.
Explanation:
Before testing the hypothesis, we need to understand the central limit theorem and subtraction of normal variables.
Central Limit Theorem
The Central Limit Theorem establishes 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.
Pernod 5:
23 out of 390, so:
Action:
46 out of 420, so:
Test if there is a difference in proportions:
At the null hypothesis, we test if there is not a difference, that is, the subtraction of the proportions is 0. So
At the alternative hypothesis, we test if there is a difference, that is, the subtraction of the proportions is different of 0. 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 samples:
Value of the test statistic:
P-value of the test and decision:
The p-value of the test is the probability of a difference in proportions of at least 0.0505 to either side, which is P(|z| > 2.62), that is, 2 multiplied by the p-value of z = -2.62.
Looking at the z-table, z = -2.62 has a p-value of 0.0044.
2*0.0044 = 0.0088
The p-value of the test is 0.0088 < 0.05, which means that at the 0.05 significance level, we can conclude that there is a difference in the proportion of vines infested using Pernod 5 as opposed to Action.