*! version 1.0 14 May 2018

Title

ci_fixed -- Determine confidence intervals in a single-stage single-arm trial design for a single binary endpoint

Syntax

ci_fixed
[,
options]

Main
n(#) Sample size of the considered design. Defaults to 25.

pi(numlist) Numlist of response probabilities to evaluate the expected performance of the confidence interval determination procedures at. This will internally default to 0,0.01,...,1.

alpha(#) alpha-level to use in confidence interval construction. Defaults to 0.05.

method(string) A string indicating which method(s) to use to construct confidence intervals. Currently, support is available to use the Agresti-Coull (agresti_coull), Clopper-Pearson (clopper_pearson), Jeffreys (jeffreys), Mid-p (mid_p), Wald (wald), and Wilson Score (wilson) approaches to confidence interval determination. Defaults to all, which will employ all possible methods.

summary(#) An integer indicating whether a summary of the function's progress should be printed (summary = 1) to the console. Defaults to 0.

plot Indicates whether a plot should be produced. If set to length that the expected length curve will be procedured. If set to coverage then the coverage curve will be produced.

* Additional options to use during plotting.

Description

Determines all possible confidence intervals at the end of a single-stage single-
arm trial for a single binary endpoint, as determined using des_fixed. Support is
available to compute confidence intervals using the Agresti-Coull, Clopper-
Pearson, Jeffreys, Mid-p, Wald, and Wilson Score approaches.

In addition, the performance of the chosen confidence interval determination
procedures (including their coverage and expected length) for each value of pi in
the supplied numlist pi, will also be evaluated.

Options

Main

n(#) Sample size of the considered design. Defaults to 25.

pi(numlist) Numlist of response probabilities to evaluate the expected performance of the confidence interval determination procedures at. This will internally default to 0,0.01,...,1.

alpha(#) alpha-level to use in confidence interval construction. Defaults to 0.05.

method(string) A string indicating which method(s) to use to construct confidence intervals. Currently, support is available to use the Agresti-Coull (agresti_coull), Clopper-Pearson (clopper_pearson), Jeffreys (jeffreys), Mid-p (mid_p), Wald (wald), and Wilson Score (wilson) approaches to confidence interval determination. Defaults to all, which will employ all possible methods.

summary(#) An integer indicating whether a summary of the function's progress should be printed (summary = 1) to the console. Defaults to 0.

plot Indicates whether a plot should be produced. If set to length that the expected length curve will be procedured. If set to coverage then the coverage curve will be produced.

* Additional options to use during plotting.

Examples

ci_fixed

ci_fixed, n(30)

Author

Michael J. Grayling, MRC Biostatistics Unit, Cambridge.

Email mjg211@cam.ac.uk

See Also

Related commands:

des_fixed (if installed)
opchar_fixed (if installed)
est_fixed (if installed)
pval_fixed (if installed)