Just wondering if anyone can tell me whether I have answered a question correctly, cause I think I may be wrong?
The question is to determine whether more than 40% stay for 7 nights. So I used hypothesis testing:
H0 is greater than or equal to 0.4 and H1 is less than 0.4
a = 0.05, sample mean = 4.785, n=200 and SD = 2.38
Therefore:
0.4 - 1.645 x (2.38 / square root of 200) = 0.123
So since sample mean is larger than rejection region of 0.123 we don't reject null hypothesis meaning more than 40% of customers stayed 7 nights?
Thanks for any help
The question is to determine whether more than 40% stay for 7 nights. So I used hypothesis testing:
H0 is greater than or equal to 0.4 and H1 is less than 0.4
a = 0.05, sample mean = 4.785, n=200 and SD = 2.38
Therefore:
0.4 - 1.645 x (2.38 / square root of 200) = 0.123
So since sample mean is larger than rejection region of 0.123 we don't reject null hypothesis meaning more than 40% of customers stayed 7 nights?
Thanks for any help