1.

Solve : How to properly calculate rating??

Answer» HEY guys,

I have a rating for various items on my site and I would like to make sure that "top rated" section works properly.

For example, let's call OBJECT 1 - Item1 and object 2 - Item2. Objects are rated out of 5, no decimal.

If Item1 has been rated 5 twice this makes average rating of 5. (10 divide by 2 equals 5). AND Item2 is rated 12 twice using different ratings which averages to 4 out of 5.

If I were to display these items by highest rated objects would be displayed Item1 first and Item2 second. My problem, what's the formula for CALCULATING proper rating? The way I see it Item2 should be higher than Item1 because it has more ratings EVEN though it's average rating is 4 which is close enough to 5.

Any ideas? Thanks in advance.


Discussion

No Comment Found