I have a large dataset of "trips", each row is a different trip. I want to know the average number of miles per day for a group of trips.
Example data:
Trip 1: 500 miles in 30 days (16.7mi/day)
Trip 2: 200 miles in 10 days (20mi/day)
Trip 3: 30 miles in 3 days (10mi/day)
Trip 4: 50 miles in 6 days (8.3mi/day)
I calculated the average 2 different ways:
- Created a calculated column "miles per day" for each trip, shown in the example in parentheses. Then calculated AVG(miles per day) -> (16.67 + 20 + 10 + 8.3)/4 = 13.8mi/day
- (SUM(miles))/(SUM(days)) -> (500+200+30+50miles) / (30+10+3+6days) = 15.9mi/day
With the dataset I'm using, the 2 methods always give me different results. I am wondering if anyone can explain which method would be more reflective of the "true" average miles per day for a group of trips, and why that method is preferred. (Note: for the purpose of this dataset, it is possible that some trips had a negative "miles per day value").