| cardiac {MethComp} | R Documentation |
For each subject cardiac output is measured repeatedly (three to six times) by impedance cardiography (IC) and radionuclide ventriculography (RV).
data(cardiac)
A data frame with 120 observations on the following 4 variables.
methIC RVitemreplyIt is not entirely clear from the source whether the replicates are exchangeable within (method,item) or whether they represent pairs of measurements. From the description it looks as if replicates are linked between methods, but in the paper they are treated as if they were not.
The dataset is adapted from table 4 in: JM Bland and DG Altman: Measuring agreement in method comparison studies. Statistical Methods in Medical Research, 8:136-160, 1999. Originally supplied to Bland & Altman by Dr LS Bowling, see: Bowling LS, Sageman WS, O'Connor SM, Cole R, Amundson DE. Lack of agreement between measurement of ejection fraction by impedance cardiography versus radionuclide ventriculography. Critical Care Medicine 1993; 21: 1523-27.
library( MethComp )
library( R2WinBUGS )
data(cardiac)
# Visually check exchangeability
plot.meth( cardiac )
plot.meth( perm.repl( cardiac ) )
BA.est(cardiac)
# options( bugs.directory="c:/Stat/Bugs/WinBUGS14/" )
# card.mi.ir <- MethComp( cardiac, random=c("mi","ir"), n.iter=100 )
# card.mi <- MethComp( cardiac, random=c("mi"), n.iter=100 )
# card.mi.ir
# card.mi