standarddeviationcalculator.net

Updated Free · runs in your browser

Statistics

Missing value and missing frequency calculator

Work backwards from a known mean. Type a letter where the missing value or frequency goes, enter the mean, and the calculator sets up the equation, solves it and checks the answer.

Classes and frequencies (type a letter for the unknown f)
Class (e.g. 11-13)fRemove

Missing frequency (f) 20
Missing frequency20
Total frequency N64
Σfx1152
Check: mean18
ClassMid-value xffx
11–1312784
13–1514684
15–17169144
17–191813234
19–2120f = 2020f
21–23225110
23–2524496
Σ44 + f752 + 20f
Show the working, step by step
  1. Find the mid-value x of each class and multiply by f. The unknown row contributes f to Σf and 20f to Σfx.

    Σf = 44 + f Σfx = 752 + 20f

  2. Set the mean formula equal to the known mean.

    18 = (752 + 20f) ÷ (44 + f)

  3. Cross-multiply and collect the terms in f.

    18 × 44 + 18f = 752 + 20f 792 − 752 = (20 − 18)f 40 = 2f

  4. Solve.

    f = 40 ÷ 2 = 20

  5. Check.

    x̄ = 1152 ÷ 64 = 18

The formulas

Missing observation: x = n × x̄ − Σ(known values) Missing frequency f at x₀: x̄ = (Σfx + f·x₀) ÷ (Σf + f) ⇒ f = (x̄ × Σf − Σfx) ÷ (x₀ − x̄)

In the second formula Σf and Σfx are over the known rows only, and x₀ is the value (or class mid-value) of the row with the missing frequency.

A worked example (the default data)

This is the pocket-allowance question from NCERT Class 10 maths: the mean daily pocket allowance of the children is ₹18; find the missing frequency f.

Allowance (₹)Mid-value xChildren ffx
11–1312784
13–1514684
15–17169144
17–191813234
19–2120f20f
21–23225110
23–2524496
Total44 + f752 + 20f
  1. Set the mean equal to 18: 18 = (752 + 20f) ÷ (44 + f).
  2. Cross-multiply: 792 + 18f = 752 + 20f.
  3. Collect terms: 40 = 2f, so f = 20.
  4. Check: N = 64, Σfx = 1,152, and 1,152 ÷ 64 = 18.

A missing observation

Switch to “Individual series”: the mean of 12, 15, x, 20, 18 and 24 is 18. Six observations with mean 18 must add to 108. The five known values add to 89, so x = 108 − 89 = 19.

Two missing frequencies

A typical exam version: the mean of the distribution 0–20 (17), 20–40 (p), 40–60 (32), 60–80 (q), 80–100 (19) is 50 and the total frequency is 120. The mid-values are 10, 30, 50, 70 and 90.

  1. From N: 17 + p + 32 + q + 19 = 120, so p + q = 52.
  2. From the mean: 170 + 30p + 1,600 + 70q + 1,710 = 120 × 50 = 6,000, so 30p + 70q = 2,520.
  3. Substitute q = 52 − p: 30p + 3,640 − 70p = 2,520, so 40p = 1,120 and p = 28, q = 24.

Enter those rows with p and q as the frequencies, set the mean to 50 and N to 120, and the calculator gives the same pair.

Common mistakes

  • Forgetting that the unknown frequency also belongs in N: the denominator is 44 + f, not 44.
  • Counting n without the missing observation. If six numbers are listed including x, n is 6.
  • Using class limits instead of mid-values in Σfx.
  • Leaving the answer as a fraction without checking it: a frequency of 7.5 children means something in the question was copied wrongly.

Common questions

How do I find a missing observation when the mean is given?

The mean times the number of observations gives their total, so the missing value is that total minus the sum of the known values: x = n × x̄ − Σ(known). For 12, 15, x, 20, 18, 24 with mean 18, n = 6, the total must be 108, the known values add to 89, and x = 19.

How do I find a missing frequency when the mean is given?

Write Σf and Σfx with the unknown f in them, set Σfx ÷ Σf equal to the mean, and solve the linear equation. For the pocket-allowance table on this page, 18 = (752 + 20f) ÷ (44 + f), so 792 + 18f = 752 + 20f and f = 20.

What if two frequencies are missing?

You need a second fact, almost always the total frequency N. Then Σf = N gives one equation and Σfx = N × mean gives another, and the two are solved together. Mark both unknowns with letters (for example p and q) and enter N in the calculator.

Why does the calculator say no frequency works?

Adding observations at one value pulls the mean towards that value and never past it. If the known rows already have a mean of 17 and the unknown row sits at 20, no number of extra observations can make the mean 30. Such a question has a typo, or the mean belongs to a different table.

What if the answer is not a whole number?

A frequency counts people or items, so it should be whole. A fractional answer usually means the mean was rounded in the question, or a value was copied wrongly. The calculator shows the exact solution and flags it.