SMdata: Heart surgery data to model standardized (mortality) ratio.

SMdataR Documentation

Heart surgery data to model standardized (mortality) ratio.

Description

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.

Usage

data(SMdata)

Format

Description of data frames:

Fields:

1. y Number of Deaths numeric
2. o Number of Expected Deaths numeric

References

Peter D. Congdon. Bayesian Hierarchical Models With Applications Using R (2020) Second Edition. Example 4.5 Hospital Mortality, p.125-26.

Examples

require(ltable)
data(SMdata, package="ltable")
res2<-MCLogLin(y~1, offset=o, data=SMdata, draw=1500, burnin=500, DIC=TRUE)

ltable documentation built on Aug. 17, 2023, 1:06 a.m.