Average proportions over time

averagediscrete timestatisticstime series

Let us say I have a number of events per week over some time periods. During each week a proportion of these events are important (important_events_per_week/number_of_events_per_week). The number_of_events_per_week also vary over time. How does one calculate the average important number of events per week over time please? I would think it is too naive to simply calculate the proportion per week and than take the arithmetic mean, so I thought I ask proper mathematicians? Should one use a weighted average to account for the varying number of events? Thanks!

Best Answer

If you want the average proportion of the number of interesting events to the number of total events over some period of multiple weeks, one simple method is to add up the total number of events during that period (which you can do because you have the total number of events in each week of the period), then add up the total number of interesting events during that period (which you can do because you have the total number of interesting events in each week of the period). Finally, divide the total number of interesting events by the total number of events.

This is how many such averages are computed in real life. For example, to find the average speed for a trip of $20$ miles, you don't take the speed on each mile and do some kind of fancy weighted average of those $20$ speeds to find the average speed, you just take the total trip time and divide by the total distance (which is $20$ miles).

Related Question