| sbp {MethComp} | R Documentation |
For each subject (item) there are three replicate measurements by
three methods (two observers, J and R and the automatic machine,
S). The replicates are exchangeable within method, item.
data(sbp)
A data frame with 765 observations on the following 4 variables:
methJ(observer
1), R(observer 2) and S(machine)itemreplyThe dataset is adapted from table 1 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 E. O'Brien, see: Altman DG, Bland JM. The analysis of blood pressure data. In O'Brien E, O'Malley K eds. Blood pressure measurement. Amsterdam: Elsevier, 1991: 287-314.
data(sbp)
par( mfrow=c(2,2), mar=c(4,4,1,4) )
BA.plot( sbp, comp=1:2 )
BA.plot( sbp, comp=2:3 )
BA.plot( sbp, comp=c(1,3) )
library( R2WinBUGS )
options( bugs.directory="c:/Stat/Bugs/WinBUGS14/" )
# Grossly inadequate number of iterations
sbp.1 <- MethComp( sbp, random=c("mi"), n.iter=100 )
sbp.1