Total variation of two probability distributions

How to compute the total variation of two empirical probability distributions using Matlab? On a finite probability space, it may be computed by 0.5*sum(p-q) for finite probability vectors p and q. What about a general probability measure?

Answers (0)

Categories

Find more on Random Number Generation in Help Center and File Exchange

Asked:

on 29 Nov 2017

Edited:

on 29 Nov 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!