PB_power_ANOVA: Exact power of PB for an ANOVA

View source: R/PB_implementation.R

PB_power_ANOVAR Documentation

Exact power of PB for an ANOVA

Description

The following function gives the exact theoretical power of the Pena-Barrientos method for a one-way ANOVA.

Usage

PB_power_ANOVA(
  epsilon,
  effect_size,
  n,
  groups = 3,
  alpha = 0.05,
  k = NA,
  alpha0 = NA
)

Arguments

epsilon

The privacy parameter

effect_size

The ratio of the between group variance to the within group variance.

n

The sample size (number of rows)

groups

an integer of the number of groups

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.