Description Usage Arguments Value
Calculates the attribute disclosure risk for sequentially synthesized datasets. Categorical variables are identified either by factors or by the categorical arg. If strange/unexpected behavior is seen with factors, try identifying categorical variables with the additional argument and remove factors from the dataset.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
modelFormulas |
A list of synthesis formulas, or formula like objects ( |
origdata |
A dataframe of the confidential dataset. |
syndata |
A list of the synthetic dataset(s). |
posteriorMCMCs |
A list, in order of synthesis, of the MCMC parameter draws. |
syntype |
A vector, in order of synthesis, of strings describing the synthesis model. Currently supported models are: norm, binom, multinom, and pois. |
H |
A scalar determining the amount of iterations. Higher values provide a more accurate estimate but will take longer to compute. |
G |
A vector, in order of synthesis, or a scalar describing the number of guesses (including the confidential value) to evaluate. In the case of a scalar G, that value will be applied to all continuous variables. |
percentBounds |
A two element vector determining the lowest and highest guesses. By default the lowest and highest guesses will be 10% below and 10% above the confidential value respectively. |
additiveBounds |
A two element vector determining the lowest and highest guesses. The lowest guess will be the confidential value minus the first value while the highest will be the confidential value plus the second value. |
bounds |
A two element vector determining the lowest and highest guesses. These guess values are set to be the values from this vector. |
guesses |
A list, in order of synthesis, containing vectors of guesses for each synthesized variable. |
simplePrior |
A scalar determining how much more (or less) likely the confidential value is believed to be guessed. |
categorical |
A vector, in order of synthesis, of booleans denoting if the synthesized variable is to be treated as categorical (guesses set to all values seen in the dataset). |
a list of lists (one for each record), where each inner list contains the following:
The full probability matrix.
The marginal probabilities.
The true value probability.
The ranking of the guess with the highest probability.
The ranking of the true value.
The marginal absolute difference between the guesses with the highest probability and the true values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.