Documentation

ZPM.Probability.FintypePMF.TVDistance

Total variation distance between FintypePMFs (L1 form) #

tvDistance p q = ∑ a, |p.prob a - q.prob a|. This is the L1 form of total variation; the probabilists' normalised TV is half this quantity. The L1 form is what the transfer principle composes with directly.

L1 total variation distance between two FintypePMFs.

Equations
Instances For