powered by
Computes the log posterior density of (log tau, log lambda, log p) for a Pareto model for survival data
transplantpost(theta,data)
vector of parameter values of log tau, log lambda, and log p
data matrix with columns survival time, transplant indicator, time to transplant, and censoring indicator
value of the log posterior
# NOT RUN { data(stanfordheart) theta=c(0,3,-1) transplantpost(theta,stanfordheart) # }
Run the code above in your browser using DataLab