Calculator: Weighted population deviation
Enter the labelled inputs to calculate: Mean; Standard deviation; Variance.
Enter a finite value within the formula’s domain and supported numeric range.
How the calculation works
μ=Σwᵢxᵢ/Σwᵢ; σ²=Σwᵢ(xᵢ−μ)²/Σwᵢ
Separate list values with spaces or semicolons and use a decimal point. Lists must contain 1–2000 finite numbers. Population formulas use the full weight sum, not a sample correction.
Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.
Frequently asked questions
How is the result calculated?
μ=Σwᵢxᵢ/Σwᵢ; σ²=Σwᵢ(xᵢ−μ)²/Σwᵢ
What assumptions apply?
Separate list values with spaces or semicolons and use a decimal point. Lists must contain 1–2000 finite numbers. Population formulas use the full weight sum, not a sample correction.
How precise are the displayed results?
Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.
How we verified this calculator
The calculator is checked against 3 reference cases computed independently of its code. Last passed: .
| # | Inputs | Expected result |
|---|---|---|
| 1 |
Values (spaces or semicolons; decimal point) = 2 4 4 4 5 5 7 9
Nonnegative weights = 1 1 1 1 1 1 1 1
|
Mean: 5
Standard deviation: 2
Variance: 4
|
| 2 |
Values (spaces or semicolons; decimal point) = 10 20 30
Nonnegative weights = 1 2 1
|
Mean: 20
Standard deviation: 7.071067812
Variance: 50
|
| 3 |
Values (spaces or semicolons; decimal point) = 1.5 3 -2
Nonnegative weights = 0.5 0.25 0.25
|
Mean: 1
Standard deviation: 1.837117307
Variance: 3.375
|