Respuesta :
Answer:
Responds to my friend
Decision rule
Fail to reject the null hypothesis
Conclusion
There is no sufficient evidence to conclude that the proportion of residents in California who are vegetarians is higher than the proportion in New Hampshire who are vegetarian
Step-by-step explanation:
Here we are going to consider this question
For example, you may believe that the proportion of adults in California who are vegetarians is more than the proportion of adults in New Hampshire who are vegetarians. In two independent polls, you may find that 109 out of 380 California residents are vegetarians and 39 out of 205 New Hampshire residents are vegetarians.
Here we are going to be solving the hypothesis test problem and we will be making use of the p-value method
From the question the we are told that
The first sample size is [tex]n_1 = 380[/tex]
The second sample size is [tex]n_2 = 205[/tex]
The number of California residents that are vegetarian is [tex]k = 109[/tex]
The number of New Hampshire resident that are veterinarian is [tex]u = 39[/tex]
Generally the sample proportion for California residents is
[tex]\^ p_1 = \frac{k}{n_1}[/tex]
=> [tex]\^ p_1 =\frac{109}{380}[/tex]
=> [tex]\^ p_1 = 0.2868 [/tex]
Generally the sample proportion for New Hampshire residents is
[tex]\^ p_2 = \frac{39}{205}[/tex]
=> [tex]\^ p_2 = 0.1902 [/tex]
The null hypothesis is [tex]H_o : p_1 -p_2 = 0[/tex]
The alternative hypothesis is [tex]H_a : p_1 -p_2 > 0[/tex]
Generally the test statistics is mathematically represented as
[tex]t = \frac{(\^ p_1 - \^ p_2 ) -0}{\sqrt{ \frac{\^ p_1 (1-\^p_1 )}{n_1} + \frac{\^ p_2 (1- \^p_2)}{n_2} } }[/tex]
=> [tex]t = \frac{( 0.2868 - 0.1902) -0}{\sqrt{ \frac{0.2868 (1-0.2868 )}{380} + \frac{0.1902(1- 0.1902)}{205} } }[/tex]
=> [tex]t = 0.036[/tex]
Generally the degree of freedom is mathematically represented as
[tex]df = n_1 + n_2 -2[/tex]
=> [tex]df = 380 + 205 -2[/tex]
=> [tex]df = 583/tex]
Generally the probability of [tex]t = 0.036[/tex] at a degree of freedom of [tex]df = 583/tex] from the t- distribution table is
[tex]p-value = P(t > 0.036) = 0.48564732[/tex]
Let take the level of significance to be [tex]\alpha = 0.05[/tex]
So from the values obtained we see that [tex]p-value > \alpha[/tex] hence the decision rule is
Fail to reject the null hypothesis
The conclusion is
There is no sufficient evidence to conclude that the proportion of residents in California who are vegetarians is higher than the proportion in New Hampshire who are vegetarian