Description Usage Arguments Value Author(s) References Examples
Calculates ESS for right-censored time-to-event outcome
1 | essSurv(shapeParam,scaleParam,m,nsim)
|
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 |
ess |
Prior effective sample size |
Jaejoon Song <jjsong2@mdanderson.org>, Satoshi Morita <smorita@kuhp.kyoto-u.ac.jp >
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.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.