Description Usage Arguments Value Author(s) Examples
Computes the log posterior density of (log tau, log lambda, log p) for a Pareto model for survival data
1 | transplantpost(theta,data)
|
theta |
vector of parameter values of log tau, log lambda, and log p |
data |
data matrix with columns survival time, transplant indicator, time to transplant, and censoring indicator |
value of the log posterior
Jim Albert
1 2 3 | data(stanfordheart)
theta=c(0,3,-1)
transplantpost(theta,stanfordheart)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.