Description Usage Arguments Value Author(s) Examples
Computes the log posterior density of (log sigma, mu, beta) for a Weibull proportional odds regression model
1 | weibullregpost(theta,data)
|
theta |
vector of parameter values log sigma, mu, and beta |
data |
data matrix with columns survival time, censoring variable, and covariate matrix |
value of the log posterior
Jim Albert
1 2 3 4 5 | data(chemotherapy)
attach(chemotherapy)
d=cbind(time,status,treat-1,age)
theta=c(-.6,11,.6,0)
weibullregpost(theta,d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.