Description Usage Arguments Value Examples

View source: R/CDFtestingSuite.R

Find the error (between 0 and 1) introduced by DP-Noise at a given quantile in the CDF

1 | ```
diffatQuantile(Y, est, quantile = 0.5, ...)
``` |

`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). |

`quantile` |
A quantile value between 0 and 1, defaults to 0.5 for the median. |

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

The error at the quantile specified by `quantile`

1 2 | ```
diffatQuantile(c(.1,.2,.3,.4,.5,.6,.7,.8,.9,1),
c(.1,.2,.3,.3,.3,.3,.3,.3,.4,1), .05)
``` |

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.