Usage
exppower.noninf(alpha = 0.025, logscale=TRUE, theta0, margin,
CV, dfCV, n, design = "2x2", robust=FALSE)
Arguments
alpha
Type I error probability, significance level. Defaults here to 0.025.
logscale
Should the data used on log-transformed or on original scale? TRUE or FALSE.
Defaults to TRUE.
theta0
'True' or assumed bioequivalence ratio or difference.
Typically set to 0.95 (default if missing) if logscale=TRUE
.
Defaults to -0.05 if logscale=FALSE
.
margin
Non-inferiority margin.
In case of logscale=TRUE
it must be given as ratio, otherwise as diff.
Defaults to 0.8 if logscale=TRUE
or to -0.2 if logscale=FALSE
.
CV
Coefficient of variation as ratio.
dfCV
Degrees of freedom for the CV (error/residual degree of freedom).
n
Number of subjects under study.
Is total number if given as scalar, else number of subjects in the (sequence)
groups. In the latter case the length of n vector has to be equal to the
number of (sequence) groups.
design
Character string describing the study design.
See known.designs()
for designs covered in this package.
robust
Defaults to FALSE.
Set to 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()$df2
for designs covered in this