[pmwiki-users] Announcing New Recipe: 5 star rating system

Vince Administration vadmin at math.uconn.edu
Fri Jul 11 09:08:25 CDT 2008


Hans,
Sorry, But I really don't understand what is underlying what you are  
trying to do.
On second thought maybe I do. You have users rating in stars, and you  
want to compute some sort of average?
But where do the votes and 20 points come in? Is this just a device  
to get a number to average?
Help?
      Vince

On Jul 11, 2008, at 9:53 AM, Hans wrote:

>
> I like to invite your thoughts on the assignment of stars to average
> rating values.
>
> A user has five choices for her vote: 1 to 5,
> corresponding to 1 star to 5 stars. Each star carries 20 points, so a
> vote is between 20 and 100. The average is calculated as the
> arithmetic mean of all the votes: the sum divided by the number of
> votes.
>
> The script implements the following allocation of stars to the
> average:
>
>  $rating >= 90  5   stars
>  $rating >= 85  4.5 stars
>  $rating >= 80  4   stars
>  $rating >= 70  3.5 stars
>  $rating >= 60  3   stars
>  $rating >= 50  2.5 stars
>  $rating >= 40  2   stars
>  $rating >= 30  1.5 stars
>  $rating >= 20  1   stars
>  $rating >= 10  0.5 stars
>  $rating  = 0   0   stars
>
> Is this acceptable or realistic?
>
> Note you get 5 stars for an average over 90, not 100
> (which would be very hard to achieve).
> Then only 5 points lower is 4.5 stars, and again 5 points lower 4
> stars. After that it is an even descend.
> And you never get 0.5 stars, since the lowest vote is 1 star.
>
> Any thoughts on this please?
>
>   ~Hans
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>




More information about the pmwiki-users mailing list