How is mpg avg calculated for the bar graphs? - Fuelly Forums

Click here to see important news regarding the aCar App

Go Back   Fuelly Forums > Fuelly Community Support > Fuelly Web Support and Community News
Today's Posts Search Click Here to Login
Reply
 
Thread Tools Display Modes
 
Old 06-12-2010, 02:46 AM   #1
Registered Member
 
Join Date: Feb 2010
Posts: 16
Country: United States
Location: Los Angeles, CA
How is mpg avg calculated for the bar graphs?

Why does the bar graph for all cars in a specific car type not match up with the listing of individual cars and their mpg? For example, for the Honda Insight, I counted nine cars averaging 49.0 - 49.9 mpg. However, the bar graph for Insights shows only 2 cars averaging 49 mpg. Even if you round up/down, the figures still don't match up. How is the data for the bar graphs calculated?
__________________

Keen4Green is offline   Reply With Quote
Old 06-13-2010, 03:33 PM   #2
pb
Senior Member
 
Join Date: Jul 2008
Posts: 1,588
Country: United States
Location: Corvallis, OR
It's not quite a standard round up/down, and that might be where the confusion is. Technically, we're using a ceiling function on all averages to create the graph. That allows us to plot full integers.

So in your example (as I look at the Honda Insight page now), the graph says there are 3 at 49 and 8 at 50. So I think you're just seeing an odd spot in the data where there's a jump between integers. I know it's confusing to see so many 49.x's in the mix, but those are being counted as 50s.
pb is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


» Fuelly Android Apps
Powered by vBadvanced CMPS v3.2.3


All times are GMT -8. The time now is 07:08 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.