Is it possible to calculate the regular average of a sequence of numbers when i dont know everything of the sequence, but just everytime i get a new number i know the total count of numbers and the average for the numbers - 1. For example: 2, 3, 10 the average is of course: 5 But in the last step to calculate i only have access to the previous average of 2 and 3: 2,.5 the next number: 10 and the count of numbers: 3 If this is possible, how?

ormaybesaladqh

ormaybesaladqh

Answered question

2022-10-20

Is it possible to calculate the regular average of a sequence of numbers when i dont know everything of the sequence, but just everytime i get a new number i know the total count of numbers and the average for the numbers 1.
for example: 2 , 3 , 10 the average is of course: 5
but in the last step to calculate i only have access to the previous average of 2 and 3 : 2.5 the next number: 10 and the count of numbers: 3
if this is possible, how?

Answer & Explanation

broeifl

broeifl

Beginner2022-10-21Added 11 answers

A very simple thought process results in the same formula for running average. If you have N previous measures (of course the measures could all be different) the average you calculate is exactly the same as if all measures were the same as the computed average value. Then, computing the running average of the N + 1 is equal to N times the previously computed average plus the N + 1 measure all divided by N + 1.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Research Methodology

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?