My Day✳All blog articles ↗

Weight an average by the number of observations

Equal session weights differ from equal group weights.

For the mean across all sessions, recover the total and divide by the total session count. Averaging group means equally can give a different answer when group sizes differ. Here the data are exact and compatible.

2 and 8 sessions; overall mean 18, equal-group mean 15
2 and 8 sessions; overall mean 18, equal-group mean 15

What to do

  1. Check the unit, observation type and each group size; do not mix different measures.
  2. Multiply each exact group mean by its observation count and add the totals.
  3. Divide the combined total by the combined observation count and label the answer's unit.

Example

Fictional data: 2 sessions at 10 pages and 8 at 20. That is 180 pages over 10 sessions: 180/10=18 pages per session. Averaging (10+20)/2=15 weights groups equally rather than sessions.

My Day · Windows

My Day can hold counts and the calculation with units. You calculate it yourself.

Buy My Day for Windows ↗