How is avg. rating calculated?

General discussions related to our Virtual Airlines

Moderator: FSAirlines Staff

Post Reply
MadJosch
Flight Attendant
Posts: 107
Joined: Fri Nov 21, 2008 1:14 pm
Location: germany
Contact:

How is avg. rating calculated?

Post by MadJosch » Thu Jun 09, 2011 1:57 pm

Hi

while processing some internal va statistics I came across a discrepancy in the average pilot rating.
When I retrieve the pilot's data via XML interface (getPilotData) I recieve the absolute numbers for rating and flights.

My assumption now is:
avg rating = rating / flights which for example is: 19750 / 201 = 98.25871 %

but on the FSA website the avg. rating for this pilot is 98.9%

Where is my fault?

alasizon
FSAirlines DB and Wiki Admin
Posts: 865
Joined: Tue Apr 08, 2008 2:08 am
Location: PHX

Re: How is avg. rating calculated?

Post by alasizon » Sat Jun 11, 2011 7:01 pm

As I recall, it is a little more complex.

I believe it is:

Average Rating= (# of flights at 100*100)x(# of flights at 95*95)x(# of flights at 90*90)x(# of flights at 85*85) and so on, all divided by (total # of flights x 100)
Matt-FSAirlines DB Admin
Image

Konny
FSAirlines Developer
Posts: 1564
Joined: Sun Sep 25, 2005 10:40 am
Location: Munich, Germany
Contact:

Re: How is avg. rating calculated?

Post by Konny » Sun Jun 12, 2011 5:58 pm

Hi Jörg,

Your calculations are correct, I guess the problem is the training flights. On our website we exclude the ratings from training-flights.
Konrad - FSAirlines Developer
Image

MadJosch
Flight Attendant
Posts: 107
Joined: Fri Nov 21, 2008 1:14 pm
Location: germany
Contact:

Re: How is avg. rating calculated?

Post by MadJosch » Sun Jun 12, 2011 10:30 pm

Is there an easy way to exclude them too in my calculations? I mean without browsing all past flights of a pilot.

MadJosch
Flight Attendant
Posts: 107
Joined: Fri Nov 21, 2008 1:14 pm
Location: germany
Contact:

Re: How is avg. rating calculated?

Post by MadJosch » Sat Jul 16, 2011 3:47 pm

No suggestion?

Post Reply