Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

at a 0.10 significance level. p1? p2? the over all Sample Proportion? H0? H1? th

ID: 2910106 • Letter: A

Question

at a 0.10 significance level.
p1?
p2?
the over all Sample Proportion?
H0?
H1?
the alternate hypothesis?
z?
critical z value?
p value?
is the null rejected or not? and why?

Discussions List View Topic View Thread Settings Help Option 2 Jose Acosta posted Aug 3, 2018 1:55 AM Subscribe When it comes to working out I believe you are more likely to work out if you purchase a gym membership. I polled my coworkers to see who worked out 3 or more times a week with a membership and those without. Below are both groups and the data obtained: Gym membership coworkers who worked out 3 or mor times a week: 13 Gym membership coworkers polled: 18 Non gym member coworkers who worked out 3 or more times a week: 4 Non gym members polled: 9 0

Explanation / Answer

>data=matrix(c(13,5,3,9))

>data=t(data)

>rownames(data)=c("mebership ","no memebership")

>colnames(data)=c("more than 3","less than 3")

>data

data
more than 3 less than 3
mebership 13 5 18
no memebership 3 9 12

16 14 30

P1= 16*18/30=9.6

p2=14*12/30=5.6

here Ho= Membership people works more

vs H1= Ho is false

>chisq(data)


Pearson's Chi-squared test with Yates' continuity correction

data: data
X-squared = 4.6931, df = 1, p-value = 0.03028

qchisq(.90,1)
[1] 2.705543

hence z=2.705543

Null Hypothesis is not rejected because at .10 significance level the p value is .03

which is <.10 hence we accept null hypothesis