Sim6Way | R Documentation |
Replicate Laplace Noise for 6-way table under the exact schema (hhgq, sex, Cenrace, age, hisp, geo).
Sim6Way(Nrep, intab, eps, marPack, geoMod, queryMod, W = NULL)
Nrep |
Number of replication |
intab |
True values - array with 6 dimensions (last is geo) |
eps |
Laplace noise parameter. Privacy Budget |
marPack |
list of lists of vectors with margins to put in model. Workload of queries |
geoMod |
vector of weights for each geography in marPack |
queryMod |
vector of weights for each query in marPack |
W |
(optional) weight vector of same length as d + length(marPack) = total number of predictors. |
A list with the following:
param - mean parameter estimates of Nrep replications
rmse - Root mean square error of param estimates
coefEsts - each row is coefficient estimates of a replicate
noise - each column is the noise applied to the true table values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.