Description Usage Arguments Value

View source: R/CDFtestingSuite.R

Calculate difference between the private mean and the original mean (from CDFs)

1 | ```
MeanDiffpdf(Y, est, range, gran)
``` |

`Y` |
The vector output of a non-differentially private CDF computation (cumulative count bins) |

`est` |
The vector output of a differentially private CDF computation (cumulative count bins) |

`range` |
A vector length 2 containing user-specified min and max Note that the gran and range must be the same as used to make the DP-CDF! |

`gran` |
The smallest unit of measurement in the data (one [year] for a list of ages) |

`...` |
Optionally add additional parameters. This is primarily used to allow automated execution of varied diagnostic functions. |

A single difference value

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.