public_power_normal: Normal test public power

View source: R/public_test_power.R

public_power_normalR Documentation

Normal test public power

Description

Function that computes the publuc power for the test of the mean of multivariate normal data.

Usage

public_power_normal(n, d, effect_size, alpha, n_zeros = 0)

Arguments

n

The number of observations (number of rows in the database).

d

The number of dimensions (number of columns in the database).

effect_size

Determines the mean of the alternate distribution (which will be 'd-n_zeros' repetitions of 'effect_size').

alpha

The significance level.

n_zeros

The number of entries of the alternative distribution with mean zero. Defaults to 0.

Value

The output will be a double between 0 and 1.


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