PB_power_norm: Exact power of PB for a normal test

View source: R/PB_implementation.R

PB_power_normR Documentation

Exact power of PB for a normal test

Description

The following function gives the exact theoretical power of the Pena-Barrientos method for a normal test.

Usage

PB_power_norm(
  epsilon,
  effect_size,
  n,
  d = 1,
  n_zeros = 0,
  alpha = 0.05,
  k = NA,
  alpha0 = NA
)

Arguments

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


diff-priv-ht/nonpmRegPkg documentation built on Feb. 6, 2023, 5:22 p.m.