View source: R/PB_implementation.R
PB_power_norm | R Documentation |
The following function gives the exact theoretical power of the Pena-Barrientos method for a normal test.
PB_power_norm( epsilon, effect_size, n, d = 1, n_zeros = 0, alpha = 0.05, k = NA, alpha0 = NA )
epsilon |
The privacy parameter |
effect_size |
The quotient of the parameter of interest (mu) and the standard deviation of the noise (sigma) |
n |
The sample size (number of rows) |
d |
The dimension (number of columns) |
n_zeros |
number of dimensions set to zero |
alpha |
The significance level |
k, alpha0 |
Parameters of PB. If NULL, computed within the function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.