Variance of discrete outcomes calculator
Compute population variance for a finite outcome set when its probabilities are supplied.
How to use this calculator
Compute population variance for a finite outcome set when its probabilities are supplied.
- Enter Outcomes, Matching probabilities. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How the Variance of discrete outcomes calculator works
Compute population variance for a finite outcome set when its probabilities are supplied.
Inputs and units
- Outcomes: Outcomes are numeric possible values; negative outcomes are allowed.
- Matching probabilities: Probabilities pair position-for-position with outcomes, lie in [0,1], and sum to 1.
Formula and method
μ=Σpᵢxᵢ; Var(X)=Σpᵢ(xᵢ−μ)².
Worked example
For outcomes 0 and 1 with probabilities 0.5 each, μ=0.5 and Var(X)=0.25 outcome-units².
Interpreting the result
Variance measures squared spread around the probability-weighted mean; its square root is the standard deviation.
Assumptions and limits
Outcomes and probabilities must have matching lengths. Probability entries are nonnegative and the total must be within 0.001 of 1; the runtime normalizes an accepted rounded total before computing population variance. Totals farther away are rejected. This is not an unbiased sample estimate.
Sources and method
- Defines the probability-weighted mean and variance for a discrete distribution. OpenStax Introductory Statistics 2e: Mean or expected value and standard deviation
Frequently asked questions
Is this population or sample variance?
It is the variance of the specified probability distribution, not an unbiased sample estimate.
Are near-unit totals normalized?
Yes. If the supplied total is within 0.001 of 1, probabilities are divided by that total before the mean and variance are computed.
How do I use the Variance of discrete outcomes calculator?
Enter Outcomes, Matching probabilities. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Variance of discrete outcomes?
For outcomes 0 and 1 with probabilities 0.5 each, μ=0.5 and Var(X)=0.25 outcome-units².
What does the Variance of discrete outcomes calculator calculate?
Compute population variance for a finite outcome set when its probabilities are supplied.
See the calculation methodology.