pa.ABE(CV, theta0 = 0.95, targetpower = 0.8, minpower = 0.7, design = "2x2", ...)
## S3 method for class 'pwrA':
print(x, digits=4, plotit=TRUE, \dots)
## S3 method for class 'pwrA':
plot(x, pct=TRUE, cols=c("blue", "red"), ...)
targetpower has to be >= 0.5.1.>
targetpower
. Defaults to 0.7.
minpower
or targetpower
known.designs()
for designs covered in this package.power.TOST()
.
F. i. alpha
, theta1
, theta2
or robust
if other values
then the defaults for these arguments are needed.
See man page of power.TOST()
.
'pwrA'
.print()
.TRUE
, the default, the print method calls plot(x)
if R
is running interactively.TRUE
(the default) scales CV and power in percent in
plot()
. Else they will be given as ratios, the usual standard in PowerTOST.cols[1]
gives the color for plotting points
with power>targetpower
. From targetpower
toward minpower
the color changes gradually to cols[2]
."pwrA"
with the componentssampleN.TOST()
.'pwrA'
has the S3 methods print()
and plot()
.
See pa.scABE
for usage.power.TOST()
and calculations of CV and theta0
which gave a power=minpower
are derived via R base uniroot()
.
While one of the parameters (CV, GMR, n) is varied, the respective two others are
kept constant. The tool shows the relative impact of single parameters on power.
The tool takes a minimum of 12 subjects as demanded in most BE guidances into account.
It should be kept in mind that this is not a substitute for the "Sensitivity Analysis"
recommended in ICH-E9. In a real study a combination of all effects occurs simultaneously.
It's upto you to decide on reasonable combinations and analyze the power of them.power.TOST
, known.designs
, pa.scABE
# using the defaults
# design="2x2", targetpower=0.8, minpower=0.7, theta0/GMR=0.95
# BE acceptance range from defaults of sampleN.TOST() 0.8 ... 1.25
# print & plot implicit
pa.ABE(CV=0.2)
# print & plot
res <- pa.ABE(CV=0.2)
print(res, plotit=FALSE) # print only
plot(res)
Run the code above in your browser using DataLab