utility.gen function

Distributional comparison of synthesised and observed data