Set up a grouped frequency table, work out the estimated mean using midpoints, then reveal the actual data behind the table and compare your estimate with the true mean. See also Mean estimation simulation for a visual histogram version.
Choose how many groups you want, set the class intervals and frequencies, then generate a hidden dataset that matches your table.
| Class interval | Lower bound | Upper bound | Frequency |
|---|---|---|---|
| Total frequency | 0 | ||
Use midpoints and frequencies to estimate the mean. The actual raw data values are hidden until you choose to reveal them.
| Class interval | Frequency (f) | Midpoint (x) | f × x |
|---|---|---|---|
| Totals | — | — | |
These values were generated to match your frequencies and class intervals. They are not necessarily evenly spaced within each group.
The percentage difference is |estimated mean − actual mean| ÷ actual mean × 100%.