SMdata | R Documentation |
Counts of patient deaths following heart transplant surgery in 131 hospitals in the US between October 1987 and December 1989. These were analysed by Christiansen and Morris (1996, 1997). Data is also analysed by Peter D. Congdon. Data supplied with file offsetdata.rda.
data(SMdata)
Description of data frames:
Fields:
1. | y | Number of Deaths | numeric |
2. | o | Number of Expected Deaths | numeric |
Peter D. Congdon. Bayesian Hierarchical Models With Applications Using R (2020) Second Edition. Example 4.5 Hospital Mortality, p.125-26.
require(ltable)
data(SMdata, package="ltable")
res2<-MCLogLin(y~1, offset=o, data=SMdata, draw=1500, burnin=500, DIC=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.