# Compute Mean from Histogram: Week 6 Quiz

Here, if I use the CG concept, then it is clear that, the fulcrum will be at 6.
Even the Bin size is 1.
then why 5.98?

1 Like

Mean from a histogram is calculated as weighted average.

1 Like

If I understand correctly, bin size 1 does not mean that mean will be exactly one of the values of x axis. However when bin size is 1, the calculated mean and actual mean will be the same.

1 Like

The positive and negative deviation form 6 is same, so it canceling each other. so how it is different from weighted average.

No, it’s not same… the x-axis acts here as a weight, and y-axis as number of such weights.
So we cannot calculate the mean this way.

1 Like