CalcWorldHub
Free online calculator · no signup

Mean Poisson Deviance Calculator

Evaluate paired nonnegative count targets and positive predictions with the mean Poisson deviance loss.

4,000 tools
Mean Poisson Deviance Calculator — Actual nonnegative targets, Positive predictions and calculation method
Mean Poisson Deviance Calculator: inputs and calculation method.

How to use this calculator

Evaluate paired nonnegative count targets and positive predictions with the mean Poisson deviance loss.

  1. Enter Actual nonnegative targets, Positive predictions. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Data science calculation

How this calculation works

Poisson deviance is a likelihood-based loss for nonnegative count or rate targets with strictly positive predictions. It penalizes errors in a scale-aware way and is commonly used alongside absolute or squared-error summaries when evaluating Poisson-style regression.

Inputs and units

actual — Actual nonnegative targets
Observed counts or nonnegative target values in their original order. Enter up to 500 comma- or space-separated numbers.
predicted — Positive predictions
Strictly positive predictions paired position-by-position with the actual values.

Formula

Displayed formula

d(y, ŷ) = 2 × [y ln(y ÷ ŷ) − (y − ŷ)] for y > 0; d(0, ŷ) = 2ŷ; mean deviance = Σd ÷ n.

Method

Paste actual values and predictions in matching order, separated by commas, spaces, or semicolons. Actual values may be zero but not negative; every prediction must be strictly positive. The output is the unweighted mean across paired observations.

Worked example

For actual values [2, 0, 1, 4] and predictions [0.5, 0.5, 2, 2], the four Poisson deviances are about 2.5452, 1.0000, 0.6137, and 1.5452. Their mean is about 1.4260.

Assumptions and limits

This metric is appropriate for nonnegative targets under a Poisson-style likelihood and requires positive predictions. It is not a percentage error, and its magnitude should be interpreted against a baseline and the target’s scale; it does not establish that a Poisson model is statistically appropriate.

Frequently asked questions

Why must predictions be greater than zero?

The Poisson deviance formula contains a logarithm of actual divided by predicted value. A zero prediction makes that term undefined, so this calculator rejects nonpositive predictions.

Can an actual target be zero?

Yes. For an actual value of zero, the per-observation deviance is 2 times the positive prediction, the continuous limiting form used by common implementations.

Is Poisson deviance the same as mean squared error?

No. MSE squares differences in target units, while Poisson deviance is a likelihood-based loss for nonnegative outcomes and has different scale behavior.

How do I use the Mean Poisson Deviance Calculator?

Enter Actual nonnegative targets, Positive predictions. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Mean Poisson Deviance?

For actual values [2, 0, 1, 4] and predictions [0.5, 0.5, 2, 2], the four Poisson deviances are about 2.5452, 1.0000, 0.6137, and 1.5452. Their mean is about 1.4260.