n_fix: Fixed Sample Size

Description Usage Arguments Details Value Examples

Description

Returns the total sample size of a fixed design without sample size recalculation.

Usage

1
n_fix(design, nuisance, ...)

Arguments

design

test statistic object created by setup

nuisance

nuisance parameter for the respective test problem

...

Further optional arguments.

Details

The method is only vectorized in either nuisance or n1.

The method is implemented for the classes Student, ChiSquare, and FarringtonManning.

Value

One value of the fixed sample size for every nuisance parameter and every value of n1.

Examples

1
2
3
d <- setupStudent(alpha = .025, beta = .2, r = 1, delta = 3.5, delta_NI = 0,
                  alternative = "greater", n_max = 156)
n_fix(design = d, nuisance = 5.5)

blindrecalc documentation built on July 6, 2021, 5:06 p.m.