In a random sample of n1 = 156 male Statistics students, there are x1 = 81 underclassmen. In a random sample of n2 = 320 female Statistics students, there are x2 = 221 underclassmen. The researcher would like to test the hypothesis that the percent of males who are underclassmen stats students is less than the percent of females who are underclassmen stats students. What is the p-value for the test of hypothesis? i.e. Find P(Z < test statistic). Enter your answer to 4 decimal places.

Respuesta :

Answer:

The p-value for the test of hypothesis is P(z<-3.617)=0.0002.

Step-by-step explanation:

Hypothesis test on the difference between proportions.

The claim is that the percent of males who are underclassmen stats students (π1) is less than the percent of females who are underclassmen stats students (π2).

Then, the null and alternative hypothesis are:

[tex]H_0: \pi_1-\pi_2=0\\\\H_a:\pi_1-\pi_2<0[/tex]

The male sample has a size n1=156. The sample proportion is p1=81/156=0.52.

The female sample has a size n2=221. The sample proportion in this case is p2=221/320=0.69.

The weigthed average of proportions p, needed to calculate the standard error, is:

[tex]p=\dfrac{n_1p_1+n_2p_2}{n_1+n_2}=\dfrac{81+221}{156+320}=\dfrac{302}{476}= 0.63[/tex]

The standard error for the difference in proportions is:

[tex]\sigma_{p1-p2}=\sqrt{\dfrac{p(1-p)}{n_1}+\dfrac{p(1-p)}{n_2}}=\sqrt{\dfrac{0.63*0.37}{156}+\dfrac{0.63*0.37}{320}}\\\\\\\sigma_{p1-p2}=\sqrt{\dfrac{0.2331}{156}+\dfrac{0.2331}{320}}=\sqrt{0.001503871+0.000728438}=\sqrt{0.002232308}\\\\\\\sigma_{p1-p2}=0.047[/tex]

Then, we can calculate the z-statistic as:

[tex]z=\dfrac{p_1-p_2}{\sigma_{p1-p2}}=\dfrac{0.52-0.69}{0.047}=\dfrac{-0.17}{0.047}=-3.617[/tex]

The P-value for this left tailed test is:

[tex]P-value = P(z<-3.617)=0.00015[/tex]

Answer:

[tex]z=\frac{0.519-0.691}{\sqrt{0.634(1-0.634)(\frac{1}{156}+\frac{1}{320})}}=-3.657[/tex]    

[tex]p_v =P(Z<-3.657)=0.0001[/tex]  

Step-by-step explanation:

Data given and notation  

[tex]X_{1}=81[/tex] represent the number of males underclassmen

[tex]X_{2}=221[/tex] represent the number of females underclassmen

[tex]n_{1}=156[/tex] sample of male

[tex]n_{2}=320[/tex] sample of female

[tex]p_{1}=\frac{81}{156}=0.519[/tex] represent the proportion of males underclassmen

[tex]p_{2}=\frac{221}{320}= 0.691[/tex] represent the proportion of females underclassmen

z would represent the statistic (variable of interest)  

[tex]p_v[/tex] represent the value for the test (variable of interest)  

Concepts and formulas to use  

We need to conduct a hypothesis in order to check if the percent of males who are underclassmen stats students is less than the percent of females who are underclassmen stats students   , the system of hypothesis would be:  

Null hypothesis:[tex]p_{1} \geq p_{2}[/tex]  

Alternative hypothesis:[tex]p_{1} < p_{2}[/tex]  

We need to apply a z test to compare proportions, and the statistic is given by:  

[tex]z=\frac{p_{1}-p_{2}}{\sqrt{\hat p (1-\hat p)(\frac{1}{n_{1}}+\frac{1}{n_{2}})}}[/tex]   (1)  

Where [tex]\hat p=\frac{X_{1}+X_{2}}{n_{1}+n_{2}}=\frac{81+221}{156+320}=0.634[/tex]  

Calculate the statistic  

Replacing in formula (1) the values obtained we got this:  

[tex]z=\frac{0.519-0.691}{\sqrt{0.634(1-0.634)(\frac{1}{156}+\frac{1}{320})}}=-3.657[/tex]    

Statistical decision

For this case we don't have a significance level provided [tex]\alpha[/tex], but we can calculate the p value for this test.    

Since is a one side test the p value would be:  

[tex]p_v =P(Z<-3.657)=0.0001[/tex]