I think you will have the most luck redefining your question. I'll propose a different measure and then suggest a way to find it here: Basically, you think you are looking for the highest rated item, but here's another way of phrasing this that is more useful- you want to display the item that you believe has the highest percentage chance of being one a user will like. Why don't you use statistics standardly accepted "margin of error" or "confidence" formulas to equalize this out? Here's my proposed algorithm: 1. Assign everything a percentage score (based on pure division. 5/5 with 1000 votes is 100%, 5/5 with 2 votes is 100%, 3/5 with 1000 votes is 60%, etc). 2. Based on the sample size (number of voters) as opposed to your total user base (number of registered users), find the margin of error using the standard formula found in this gif: http://upload.wikimedia.org/math/7/3/a/73a9acf851e5c9fe3cdfcf52a1612cd0.png 3. Penalize every score by decrementing it by the largest assumable negative margin of error (better safe than sorry). This will all work out very nicely due to the laws of statistics. The 5/5 with 100 votes will fall to something like 98%, whereas the 5/5 with only 2 votes will have an absurd margin of error (since 2 tells you almost nothing) and fall to something like 40%, thereby losing out to the only minorly decremented 3/5 with 100 votes, which might fall to something like 58%. What does anybody else think of this algorithm?

In reply to Re: Sorting Votes, Confidence & Deviations by billisdog
in thread Sorting Votes, Confidence & Deviations by saintly

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.