cond_power_rule_norm: Conditional power sample size reassessment rule (z-test)

Description Usage Arguments Value Author(s)

Description

Conditional power rule for the one-sample (or paired) z-test using the normal distribution sample size formula. Reestimates the standard deviation from the first stage and recomputes the sample size such that the power to reject the null meets the target power assuming that the mean (paired treatment difference) is equal to a prespecified value.

Usage

1
cond_power_rule_norm(x1, m = 1, target = 0.9, alpha = 0.025, maxN = Inf)

Arguments

x1

First stage observations

m

Target mean value

target

Target power

alpha

Significance level

maxN

Maximum sample size

Value

Total sample size required to achieve the target power

Author(s)

Florian Klinglmueller


floatofmath/resamplingMCP documentation built on May 16, 2019, 1:21 p.m.