dp_bootstrap | R Documentation |
Generic pipeline for dp bootstrap
dp_bootstrap( data, mechanism, get_synthetic_data, statistics_of_interest, B = 1000, store_P_tilde = FALSE, store_P_tilde_tilde = FALSE )
data |
input dataset |
mechanism |
dp mechanism. A function that takes a data set x as input and produces a generative model. |
statistics_of_interest |
Functions to calculate the statistics of interest on the output of the mechanism, collected in a list |
B |
number of bootstrap repetitions |
store_P_tilde |
Do you want to store the initial generative model? Default: FALSE |
store_P_tilde_tilde |
Do you want to store all bootstrapped generative models? Default: FALSE |
A list with the calculated statistics of interest and their bootstrap distribution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.