Este tópico está presentemente marcado como "adormecido"—a última mensagem tem mais de 90 dias. Pode acordar o tópico publicando uma resposta.
Adds Median, Mode(adj) and Members lines to the green Ratings box on work pages.
Median is the "middle" value in the set of ratings. If there are two middle value, the mean of these two values is taken.
Mode(adj) is a the most often used rating or ratings. Here it is computed in a somewhat unscientific way, but I think it works out for the best for something like this. Half-stars are kind of funky since most people don't use them (either because they don't like them or they don't realize they even exist). But they wreak havoc with a mode calculation. So I'm making an adjustment that gets rid of them for the mode by giving half of them to the score below and half to the score above. For a single half-star, it only gives half the users to the score above and dumps the other half since there is no such thing as a zero star rating. For a multi-modal result, it displays the star graphic for the first mode and lists the values in square brackets.
Members is the number of members that have ratings for this work.
Thanks for your script. I have been looking for stats like this for a long time.
Could you please explain me Median.
As I understood your example, there is a list with 9 items (1 star to 5 stars). So I was expecting the median value as 3.
4 values below and 4 values over the middle value of the list.
Could you please explain.
Thank you. Now I got it.
Oops. It's the point of view.