A hotel chain is interested to decide wether to convert more of its rooms to family rooms. In a random sample of 500 guests in 1998, 266 had requested family rooms. In 1999, 305 guests in a random sample of 480 preferred the family room. As the hotel manager, you need to recommend wether the hotel chain should convert more rooms to family rooms. Support your recommendation by testing the appropriate hypothesis test at a = 0.05.
"n_1=500 \\\\\n\nx_1=266 \\\\\n\nn_2=480 \\\\\n\nx_2=305"
Level of significance α=0.05
"\\hat{p_1}=\\frac{x_1}{n_1}= \\frac{266}{500}=0.532 \\\\\n\n\\hat{p_2}=\\frac{x_2}{n_2}= \\frac{305}{480}=0635 \\\\\n\n\\hat{q_1}= 1 -\\hat{p_1}= 0.468 \\\\\n\n\\hat{q_2}=1 -\\hat{p_2}=0.365 \\\\\n\nH_0: p_1=p_2 \\\\\n\nH_1: p_1 <p_2"
Test-statistic:
"Z = \\frac{\\hat{p_1} -\\hat{p_2}}{\\sqrt{\\frac{\\hat{p_1} \\hat{q_1}}{n_1} + \\frac{\\hat{p_2} \\hat{q_2}}{n_2} }} \\\\\n\n= \\frac{0.532 -0.635}{\\sqrt{\\frac{0532 \\times 0.468}{500} + \\frac{0.635 \\times 0.365}{480} }} \\\\\n\n= \\frac{-0.103}{\\sqrt{0.000497 +0.000482}} \\\\\n\n= \\frac{-0.103}\n{0.0312} \\\\\n\n= -3.3012 \\\\\nOne-tail \\;test. \\\\\nZ_{\u03b1}=Z_{0.05} = -1.96"
"Z<Z_{ \u03b1}" We reject H0 at α=0.05
The hotel chain should convert more of it’s rooms to family rooms.
Comments
Leave a comment