document.write( "Question 1203351: On a travel website, 58 hotels are rated 5 stars, 120 hotels are rated 4 stars, 135 hotels are rated 3 stars, 88 hotels are rated 2 stars, and 46 hotels are rated 1 star. What is the average hotel rating?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #838843 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "I recommend a spreadsheet for this problem.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = score = star rating
\n" ); document.write( "f = frequency\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Make the following frequency table
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "
xf
558
4120
3135
288
146
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Form a third column where we multiply each x and f value.
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "
xfx*f
558290
4120480
3135405
288176
14646
Total4471397

\n" ); document.write( "At the bottom of columns 2 and 3 are the sums of those respective columns.
\n" ); document.write( "Divide the sum of the xf values over the sum of the frequencies.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "1397/447 = 3.12527964205817\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The average hotel rating is about 3.125\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The much longer method, and the method I strongly do NOT recommend, is to write 58 copies of \"5\", 120 copies of \"4\", 135 copies of \"3\", and so on until you have a massive set of values (447 values in total). \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Then compute the mean by adding up those values to get a sum of 1397.
\n" ); document.write( "Divide that sum over the sample size 447 to get the answer mentioned earlier.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Thankfully the first method involving a frequency chart helps give a nice shortcut.
\n" ); document.write( "
\n" ); document.write( "
\n" );