sfms: Probability mass function of '(M, S)'

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Probability mass function of M (stage) and S (number of successes).

Usage

1
sfms(s, n1, r1, n, p, m = NA)

Arguments

s

Total number of successes.

n1

Stage 1 sample size.

r1

Stage 1 critical value (trial is stopped at stage 1 if the number of successes is at most r1).

n

Total sample size.

p

True success probability.

m

Stage number (1 or 2). It is automatically determined based on s and r1, therefore it shouldn't be provided, unless there are reasons to do so.

Details

Probability mass function of the statistic (M, S) for Simon-like designs (allowing early stopping for futility only).

Value

Density.

Author(s)

Arsenio Nhacolo

References

Jung, S.-H. and Kim, K. M. On the estimation of the binomial probability in multistage clinical trials. Stat Med, 2004, 23, 881-896.

See Also

sbias and pg.

Examples

1
sfms(21, 19, 4, 54, 0.4)

arsenionhacolo/InferenceBEAGSD documentation built on May 9, 2019, 4:10 a.m.