est_fixed: Determine point estimates in a single-stage single-arm trial...

Description Usage Arguments Details Value See Also Examples

View source: R/est_fixed.R

Description

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().

Usage

1
est_fixed(des, pi, summary = F)

Arguments

des

An object of class "sa_des_fixed", as returned by des_fixed().

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 des if it is left unspecified.

summary

A logical variable indicating whether a summary of the function's progress should be printed to the console.

Details

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.

Value

A list of class "sa_est_fixed" containing the following elements

See Also

des_fixed, opchar_fixed, pval_fixed, ci_fixed, and their associated plot family of functions.

Examples

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))

mjg211/singlearm documentation built on May 8, 2021, 3:17 a.m.