n2lambda: n1 to lambda

Description Usage Arguments Details Value Author(s) See Also

Description

Estimate the penalty factor lambda from n1, in a way to give roughly 80

Usage

1
n2lambda(n1, target = 0.8)

Arguments

n1

first stage control group sample size

target

target power

Details

Except for first stage sample sizes 5, 15 and 50 this may give totally useless results.

Value

penalty factor for the combined sample size objective

Author(s)

float

See Also

optimal_power_rule_w_ts, combination_power_rule_w_ts and approximate_power_rule_w_ts for sample size rules based on a combined objective (maximum conditional power with moderate small sample size)


floatofmath/adaperm documentation built on May 16, 2019, 1:18 p.m.