Description Usage Arguments Details Value See Also Examples
Determines all possible point estimates (the MLEs) at the end of a
single-stage single-arm trial for a single binary endpoint, as determined
using des_fixed()
.
1 |
des |
An object of class |
pi |
A vector of response probabilities to evaluate the expected
performance of the point estimation procedure at. This will internally
default to be the π0
and π1 from
|
summary |
A logical variable indicating whether a summary of the function's progress should be printed to the console. |
In addition, the performance of the point estimation procedure (including its expected value, bias, and variance) for each value of pi in the supplied vector pi, will also be evaluated.
A list of class "sa_est_fixed"
containing the following
elements
A tibble in the slot $est
summarising the possible point
estimates at the end of the trial for the supplied design.
A tibble in the slot $perf
summarising the performance of the
point estimation procedure for each specified value of
π.
Each of the input variables as specified, subject to internal modification.
des_fixed
, opchar_fixed
,
pval_fixed
, ci_fixed
, and their associated
plot
family of functions.
1 2 3 4 5 | # Find the optimal single-stage design for the default parameters
des <- des_fixed()
# Determine the performance of the point estimation procedure for a range of
# possible response probabilities
est <- opchar_fixed(des, pi = seq(0, 1, 0.01))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.