power.noninf(alpha = 0.025, logscale = TRUE, margin, theta0, CV, n,
design = "2x2", robust = FALSE)
logscale=TRUE
it must be given as ratio, otherwise as diff. to 1.
Defaults to 0.8 if logscale=TRUE
or to -0.2 if logscale=FALSE
.logscale=TRUE
it must be given as ratio,
otherwise as difference to 1. See examples.
Defaults to 0.95 if logscale=TRUE
or to -0.05 if logscale=FALSE
.known.designs
for designs covered in this package.TRUE
will use the degrees of freedom according to the 'robust' evaluation
(aka Senn's basic estimator). These df are calculated as n-seq
.
See <known.designs, sampleN.noninf
# using all the defaults: margin=0.8, theta0=0.95, alpha=0.025
# log-transformed, design="2x2"
# should give: 0.4916748
power.noninf(CV=0.3, n=24)
Run the code above in your browser using DataLab