Respuesta :
Answer:
a) The p-value of the test is 0.0076 < 0.05, which means that there is evidence of a difference between males and females in the proportion who said they prefer window tinting as a luxury upgrade at the 0.05.
b) The null hypothesis is [tex]H_0: \pi_1 - \pi_2 = 0[/tex] and the alternate hypothesis is [tex]H_1: \pi_1 - \pi_2 \neq 0[/tex].
Step-by-step 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 [tex]\mu[/tex] and standard deviation [tex]\sigma[/tex], the sampling distribution of the sample means with size n can be approximated to a normal distribution with mean [tex]\mu[/tex] and standard deviation [tex]s = \frac{\sigma}{\sqrt{n}}[/tex].
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 [tex]\mu = p[/tex] and standard deviation [tex]s = \sqrt{\frac{p(1-p)}{n}}[/tex]
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.
Females:
49% from a sample of 600. So
[tex]\pi_1 = 0.49, s_{\pi_1} = \sqrt{\frac{0.49*0.51}{600}} = 0.0204[/tex]
Males:
41% from a sample of 500. So
[tex]\pi_2 = 0.41, s_{\pi_2} = \sqrt{\frac{0.41*0.59}{500}} = 0.022[/tex]
Test if there is a difference between males and females in the proportion who said they prefer window tinting as a luxury upgrade.
From here, question b can already be answered.
At the null hypothesis we test if there is no difference, that is, the subtraction of the proportions is 0. So
[tex]H_0: \pi_1 - \pi_2 = 0[/tex]
At the alternate hypothesis, we test if there is a difference, that is, the subtraction of the proportions is different of 0. So
[tex]H_1: \pi_1 - \pi_2 \neq 0[/tex]
The test statistic is:
[tex]z = \frac{X - \mu}{s}[/tex]
In which X is the sample mean, [tex]\mu[/tex] is the value tested at the null hypothesis, and s is the standard error.
0 is tested at the null hypothesis:
This means that [tex]\mu = 0[/tex]
From the two samples:
[tex]X = \pi_1 - \pi_2 = 0.49 - 0.41 = 0.08[/tex]
[tex]s = \sqrt{s_{\pi_1}^2 + s_{\pi_2}^2} = \sqrt{0.0204^2 + 0.022^2} = 0.03[/tex]
Value of the test statistic:
[tex]z = \frac{X - \mu}{s}[/tex]
[tex]z = \frac{0.08 - 0}{0.03}[/tex]
[tex]z = 2.67[/tex]
Question a:
P-value of the test and decision:
The p-value of the test is the probability that the sample proportion differs from 0 by at least 0.08, which is P(|Z| > 2.670, which is 2 multiplied by the p-value of Z = -2.67.
Looking at the z-table, Z = -2.67 has a p-value of 0.0038.
2*0.0038 = 0.0076
The p-value of the test is 0.0076 < 0.05, which means that there is evidence of a difference between males and females in the proportion who said they prefer window tinting as a luxury upgrade at the 0.05.