Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: How to properly calculate rating?  (Read 2906 times)

0 Members and 1 Guest are viewing this topic.

ultimatum

    Topic Starter


    Intermediate
  • Thanked: 3
    How to properly calculate rating?
    « on: May 13, 2011, 10:29:54 AM »
    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.
    Its not what you know, its what you can do that counts!