Statistical deviance is a quantity whose expected values can be used for a statistical test.

Defined as: