essSurv: Calculating ESS for time-to-event outcome

Description Usage Arguments Value Author(s) References Examples

Description

Calculates ESS for right-censored time-to-event outcome

Usage

1
essSurv(shapeParam,scaleParam,m,nsim)

Arguments

shapeParam

Shape parameter of the inverse gamma prior

scaleParam

Scale parameter of the inverse gamma prior

m

A positive integer specified as an maximum value in which ESS is searched.

nsim

umber of simulations for numerical approximation

Value

ess

Prior effective sample size

Author(s)

Jaejoon Song <jjsong2@mdanderson.org>, Satoshi Morita <smorita@kuhp.kyoto-u.ac.jp >

References

Morita, S., Thall, P. F., and Muller, P. (2010). Evaluating the impact of prior assumptions in Bayesian biostatistics. Stat Biosci, 2, 1-17.

Morita, S., Thall, P. F., and Muller, P. (2008). Determining the effective sample size of a parametric prior. Biometrics, 64, 595-602.

Thall, P. F., Wooten, L. H., Tannir, N. M. (2005). Monitoring event times in early phase clinical trials: some practical issues. Clinical Trials, 2, 467-478.

Examples

1
2
3
4
5
## Revisiting Example 5 in Morita et al. (2010, Stat Biosci).
## This is a inverse gamma-exponential model
##  with an inverse gamma prior specified as IG(5.348,30.161)
## we can compute the ESS as the following
essSurv(shapeParam=5.348,scaleParam=30.161,m=7,nsim=1000)

github-js/ess documentation built on May 16, 2019, 7:11 p.m.