Tuesday, May 31, 2011

2 Proportion Z-Test

P1= 3/19
P2= 6/21

H0:
P1 = P2
Ha:
P1P2

p = (p1 * n1 + p2 * n2) / (n1 + n2)
p = (3 + 6) / 40 = 0.225

Test for Independence
  • Random Sample
  • np=(40)(.225)=9
  • nq=(40)(1-.225)=31
Because nq is greater than 10, the date is said to be independent and therefore a 2 proportion z-test can be applied.

SE = sqrt{ p * ( 1 - p ) * [ (1/n1) + (1/n2) ] }
SE = sqrt{0.225(1-0.225) [(1/19)+(1/21)] }
SE = 0.132

z = (p1 - p2) / SE
z = [(3/19) - (6/21)] / 0.132
z = -0.968

p value: .1660= 16.60%

Results from the Survey

The results show that there are more students without jobs than with jobs and that the students without jobs are more likely to rate their stress level has high.



Student Survey

Using Google Docs, we made a survey asking students whether or not they had a job and what their stress level is.
Student Survey