Description Usage Arguments Details Value References Examples

Hellinger distance (`HD`

) and a related utility measure (`HDutility`

)
described in the reference below.
The utility measure is made to be bounded between 0 and 1.

1 2 3 |

`f` |
Vector of original counts |

`g` |
Vector of perturbed counts |

HD is defined as "`sqrt(sum((sqrt(f) - sqrt(g))^2)/2)`

" and
HDutility is defined as "`1 - HD(f, g)/sqrt(sum(f))`

".

Hellinger distance or related utility measure

Shlomo, N., Antal, L., & Elliot, M. (2015). Measuring Disclosure Risk and Data Utility for Flexible Table Generators, Journal of Official Statistics, 31(2), 305-324. doi: https://doi.org/10.1515/jos-2015-0019

1 2 3 4 5 6 7 8 9 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.