- Research article
- Open Access
- Open Peer Review
- Published:

# A multivariate hierarchical Bayesian approach to measuring agreement in repeated measurement method comparison studies

*BMC Medical Research Methodology*
**volume 9**, Article number: 6 (2009)

## Abstract

### Background

Assessing agreement in method comparison studies depends on two fundamentally important components; validity (the between method agreement) and reproducibility (the within method agreement). The Bland-Altman limits of agreement technique is one of the favoured approaches in medical literature for assessing between method validity. However, few researchers have adopted this approach for the assessment of both validity and reproducibility. This may be partly due to a lack of a flexible, easily implemented and readily available statistical machinery to analyse repeated measurement method comparison data.

### Methods

Adopting the Bland-Altman framework, but using Bayesian methods, we present this statistical machinery. Two multivariate hierarchical Bayesian models are advocated, one which assumes that the underlying values for subjects remain static (exchangeable replicates) and one which assumes that the underlying values can change between repeated measurements (non-exchangeable replicates).

### Results

We illustrate the salient advantages of these models using two separate datasets that have been previously analysed and presented; (i) assuming static underlying values analysed using both multivariate hierarchical Bayesian models, and (ii) assuming each subject's underlying value is continually changing quantity and analysed using the non-exchangeable replicate multivariate hierarchical Bayesian model.

### Conclusion

These easily implemented models allow for full parameter uncertainty, simultaneous method comparison, handle unbalanced or missing data, and provide estimates and credible regions for all the parameters of interest. Computer code for the analyses in also presented, provided in the freely available and currently cost free software package WinBUGS.

## Background

Accurate measurement of the variable of interest is fundamentally important in any health research or practice setting. However, it is widely recognised that measurements simultaneously made on the same subject or specimen by different instruments, methods or observers invariably yield different empirical values. As such, evaluation of measurement quality is a central issue in deciding the utility of any instrument, method or observer [1]. Measurement validity and reproducibility are essential elements in determining this quality. Validity is the degree to which a measurement measures what it purports to measure and reproducibility is the degree to which a measurement provides the same result each time it is performed on a given subject or specimen [2]. Reproducibility is invariably assessed using agreement analysis of within (intra) and between (inter) instrument, method or observer measurement comparison studies. For ease of exposition, we shall refer to instrument, method or observer comparisons simply as method comparisons hereafter.

In measurement method comparison studies, the main interest is to determine whether the measurements made on the same subject or specimen by different methods can be used interchangeably [3, 4]. Typically, measurement method comparison studies are motivated when newer, less invasive, safer or cheaper measurement techniques become available and we wish to assess the agreement between them and some "gold standard" or existing technique. Lack of agreement between different methods is inevitable, as all instruments measure with some error, but the questions of interest is by how much do the methods disagree and is this difference important? Multiple statistical strategies exist that can be used to assess this form of agreement [3], including the Bland-Altman limits of agreement approach [4–6], regression techniques [7, 8], nonparametric methods [6], and survival-agreement plots [9]. As the Bland-Altman limits of agreement approach is simple to employ, practical, and detects bias, it has become the preferred method within health research in recent years [3, 10].

In its simplest form, the Bland-Altman limits of agreement approach compares unreplicated paired measurements between two methods over a number of subjects or specimens [5]. A graphical depiction of differences between paired observations versus their average is typically presented in a scatter-plot. Generally, superimposed on the scatter-plot is a horizontal line indicating bias (calculated as the mean difference between measurement pairs, $\overline{d}$) and horizontal lines giving the 95% limits of agreement (calculated, assuming the differences are approximately normally distributed, using the standard deviation of the differences, *s*, via $\overline{d}$ ± 1.96 × *s*). The limits of agreement define the range within which 95% of the differences between measurements by the two methods are predicted to lie. The scatter-plot is used to determine whether any patterns exist in the data, thereby potentially violating the method's assumptions, or revealing whether data transformation is necessary. A histogram of the paired differences ordinarily accompanies the scatter-plot and should be normally distributed. Only once these checks are completed and assumptions satisfied can an assessment be made to the acceptability of the quantified level of agreement for clinical or epidemiological purposes.

At times, however, more than two measurement observers or instruments are of particular interest and simultaneously assessed. For example, the research question that motivated this paper was where should pedometers (devices for counting steps) be positioned on children (left hip, right hip, or the back) to give best agreement with observed step counts (the 'gold-standard')? Most statistical approaches use separate pair-wise comparisons of methods in these situations [6]. However, this situation lends itself to a multivariate form of analysis.

Measurement repeatability is important in measurement method comparison studies because it limits the amount of agreement which is possible [5, 8]. If methods have poor repeatability then there is likely to be considerable variation in repeated measurements on the same subject or specimen thus resulting in poor agreement. Given this importance of repeatability, Bland and Altman advocated in their 1986 paper a design that allowed estimation of both limits of agreement between two methods and coefficients of repeatability for each method [5]. However, in 2003, these authors note, to their chagrin, that this approach has not been widely adopted by researchers [4].

It might be opined that one of the primary reasons why so few repeatable measurement studies have been undertaken is due to the lack of readily available and easily implemented statistical machinery for the analysis of such data, especially if the number of replicates is unbalanced or some data are missing. In an effort to circumvent this problem, Bland and Altman in 1999 presented analytical techniques similar to their limits of agreement approach to quantify the repeatability of a method where the underlying values for subjects remain static over replications (where values can be considered as being exchangeable) using one-way analysis of variance methods and variance component techniques [6]. They also described a method for analysing replicated data in pairs where several pairs of measurements are made by two methods on each subject or specimen where the underlying true value changes from pair to pair (here the measurement pairs are consider non-exchangeable). While most of these methods are straightforward and relatively easily implemented, some of the assumptions are restrictive and potentially unrealistic [3, 8]. Moreover, should there been more than two methods under consideration then the proposed techniques are not easily generalised to simultaneously assess these methods.

In 2004, Carstensen described more general regression and variance component methods for the analysis of such data [8]. While conceptually appealing, these methods can be difficult to implement thereby limiting their utility. Recent energies by Carstensen and colleagues have been to report simplified versions of his methods and develop new techniques with greater practical utility [11].

Until now, there have been no published Bayesian methods focusing on measurement method comparison studies. This is perhaps surprising given the increased utilisation of Bayesian techniques and their apparent suitability to this type of problem. In a complementary analysis of repeated measurements of paired outcomes data, a multivariate hierarchical Bayesian method has already been successfully employed and many salient advantages described [12]. Bayesian methods have the advantage of embodying and yielding parameter distributions rather than using point-estimates; the balance of the data is unimportant, multiple methods can be compared simultaneously in a single analysis, they are readily implemented and interpreted; and, they are easily generalised to more complex study designs and hierarchies [12–14]. As bounded prior distributions can be incorporated into Bayesian analyses, sensible posterior distributions and credible regions can be derived for all parameters of interest, and many convergence or computational problems associated with non-Bayesian methods can be eliminated. Moreover, the methods are easily extended to include informative prior distributions, allow covariates and subject subgroup structures to be incorporated, and provide probabilistic subject specific and overall group results [12–14].

Based on the limits of agreement approach framework, this paper advocates assessing agreement in repeated measurement method comparison studies using a fully parametric multivariate hierarchical Bayesian approach. Two models are proposed in this paper; the selection of the appropriate analysis depends on the underlying values of the variable of interest. Like that propounded by Bland and Altman in 1999, one model assumes exchangeable values for each subject while the other accommodates non-exchangeable values [6]. Section 2 describes the two related statistical models we employ. Using data previously presented and analysed by Bland and Altman [6] and new data from Oliver and colleagues [15], we illustrate the use of the proposed models with numerical results in Section 3. Concluding remarks are then presented in Section 4.

## Methods

### Specification of the hierarchical Bayesian models

Depending on the underlying values of the variable of interest, two models are considered, namely: (i) an exchangeable multivariate hierarchical Bayesian model (*HB*
_{1}); and (ii) a non-exchangeable multivariate hierarchical Bayesian model (*HB*
_{2}).

### Exchangeable multivariate hierarchical Bayesian model (*HB*
_{1})

Consider a measurement method comparison study that is conducted using *m* = 1,..., *M* methods, *M* ≥ 2 on *i* = 1,..., *N* subjects and that for each method and subject *r* = 1,..., *R*
_{
mi
}repeated measurements are made. Note that the number of repeated measurements can vary by method and subject, and measurements for the *M* methods need not be made simultaneously as the underlying values for subjects are assumed to remain static over all replications. Let *x*
_{
mir
}denote the observed value obtained using method *m* on subject *i* for replicate *r*. Suppose that the repeated values on each subject within each method can be considered exchangeably (i.e. the order of ${x}_{mi1},\dots ,{x}_{mi{R}_{mi}}$ values for any given method *m* and subject *i* are interchangeable) then an intuitive approach is to model the within and between subject levels using a hierarchical model.

Exploiting the exchangeability assumption, we assume that the first or observation level of the model can by represented by

*x*
_{
mir
}~ *MVN*(*μ*
_{
mi
}, **Θ**)

where *MVN*(.,.) denotes a multivariate normal distribution, *μ*
_{
mi
}is the underlying mean value for method *m* and subject *i*, and **Θ** is the *M* × *M* dimensional covariance matrix made at this observation level. Further, we assume that the second or subject level of the hierarchical model can given by

*μ*
_{
mi
}~ *MVN*(*θ*
_{
m
}, **Ω**)

where *θ*
_{
m
}is the overall population means for method *m*, and **Ω** is the *M* × *M* dimensional covariance matrix at the subject level. To complete the full parameterization, prior distributions need to be specified for *θ*
_{1},..., *θ*
_{
M
}, **Θ** and **Ω** and will depend on the information available.

It is straightforward to see that the bias between any two methods, *y* and *z*, such that *y* = 1,..., *M*, *z* = 1,..., *M* and *y* ≠ *z*, is given by

*B*
_{(y, z) }= *θ*
_{
y
}- *θ*
_{
z
}.

Note that *B*
_{(y, z) }= -*B*
_{(z, y) }and so it is convenient to limit *y* and *z*, such that *y* = 1,..., *M* - 1, *z* = 2,..., *M* and *y* <*z* This formulation of *B*
_{(y, z) }implies that the distribution of bias remains constant over the full measurement range for methods *y* and *z*. If this assumption is found to be too restrictive, then it may be relaxed provided sufficient information is available. We note that the subjects chosen within the sample may not necessarily themselves follow a normal distribution as measurement method comparison studies often select subjects that give a wide distribution of the quantity measured rather than some random selection. However, the population of subjects that the selected subjects are drawn from can frequently be assumed to follow a normal distribution and so this assumption is often reasonable; although, with evidence to the contrary, other distributional forms may also be adopted.

The specification of the *M* × *M* dimensional covariance matrix **Θ** at the first level forces the within subject variance of measurements for method *m* (denoted by ${s}_{within\left(m\right)}^{2}$) and the covariance of measurements between two methods *y* and *z* (denoted by ${\tau}_{\left(y,z\right)}^{2}$) to be identically distributed across all subjects *i* = 1,..., *N*. If there is good reason to suspect that these assumptions are too restrictive or flexible, then they can be modified or difference covariance specifications formulated. For instance, with exchangeable measurements made simultaneously across methods then it makes intuitive sense for the off-diagonal elements of the covariance matrix **Θ** to be unrestricted. However, should the measurements for the *M* methods be made at different times, independently from each other, then the off-diagonal elements of **Θ** might be constrained to 0. The *M* × *M* dimensional covariance matrix **Ω** at the second level gives the between subject variance (denoted by ${s}_{between\left(m\right)}^{2}$) and covariance between methods.

Through simulation, this specification of the hierarchical Bayesian model allows marginal distributions for a number of parameters of interest to be easily determined, thereby providing means for estimation of means and credible regions. In particular, for model *m* the ${s}_{within\left(m\right)}^{2}$ = **Θ**
_{
mm
}, ${s}_{between\left(m\right)}^{2}$ = **Ω**
_{
mm
}and the intra-class correlation coefficient *ICC*
_{
m
}= **Ω**
_{
mm
}/(**Ω**
_{
mm
}+ **Θ**
_{
mm
}) are readily obtained. Although widely used, we note that the utility of intra-class correlation coefficients in method comparison studies has been questioned [10]. To compare against non-Bayesian approaches, it is also of interest to report the within subject covariance of measurements between methods *y* and *z*, ${\tau}_{\left(y,z\right)}^{2}$ = **Θ**
_{
yz
}.

### Non-exchangeable multivariate hierarchical Bayesian model (*HB*
_{2})

When we have repeated measurements by *M* methods made simultaneously on the same subject where the subject's underlying value could be a continually changing quantity, we can estimate the limits of agreement by modelling measurement pair differences [6].

As before, we let *x*
_{
mir
}denote the observed value obtained using method *m* (*m* = 1,..., *M*) on subject *i* (*i* = 1,..., *N*) for replicate *r* (*r* = 1,..., *R*
_{
mi
}) Now let

*d*
_{(y, z)ir
}= *x*
_{
yir
}- *x*
_{
zir
}

be the difference between observed values of two methods, *y* and *z*, such that *y* = 1,..., *M* - 1, *z* = 2,..., *M* and *y* <*z*, for subject *i* and repeated measure *r*. Note, here, that each wave of repeated measurements are made simultaneously by all *M* methods under investigation. Thus the number of repeated measurements can vary by subject but not by method within subject, and *d*
_{(y, z)ir
}will be missing if either or both *x*
_{
yir
}and *x*
_{
zir
}are missing.

For *M* different methods we have *M*!/2!(*M* - 2)! different pair-wise comparisons. However, if there is no or negligible missing data for any of the *M* different methods, then there are linear dependences in these differences over all potential different pair-wise comparisons and only *M* - 1 comparisons are needed to determine the rest. For example, if we have three methods J, R and S, then we have 3!/2!(3 - 2)! = 3 different pair-wise comparisons, namely: J & R, J & S, and R & S. However the pair-wise comparison of R & S, for example, is dependent on pair-wise comparisons J & R and J & S, and so need not be explicitly modelled. Indeed, if all three pair-wise comparisons were to be simultaneously numerically simulated then it might be expected that convergence would be poor and autocorrelation high in the relevant parameters. If there is non-negligible missing data for any of the methods, then care must be given to determining which pair-wise comparisons should be modelled and their associated dependences considered. In practice, if one method systematically provided non-negligible missing data relative to other methods, then this would probably be grounds enough to question the utility of this method.

Let us assume that there is no missing data for each of the *M* methods and we model the pair-wise differences between method *y* = 1 and methods *z* = 2,..., *M*. All other pair-wise comparisons we might consider can be derived from these *M* - 1 comparisons. We assume that the differences *d*
_{(1, z)ir
}are (or transformed to be) normally distributed and the first level of our hierarchical model can be represented by

*d*
_{(1, z)ir
}~ *MVN*(*λ*
_{(1, z)i
}, **Σ**)

where *λ*
_{(1, z)i
}is the mean difference between methods 1 and *z* for subject *i*, and **Σ** is the (*M* - 1) × (*M* - 1) dimensional covariance matrix at the observation difference level. Note here that the distributions of the measurements themselves *x*
_{
mir
}need not be normal, only the differences *d*
_{(1, z)ir
}.

Like before, we assume the second or subject level of the hierarchical model can be given by

*λ*
_{(1, z)i
}~ *MVN*(*υ*
_{(1, z)}, **Φ**

where *υ*
_{(1, z) }is the overall mean difference between methods 1 and *z*, and **Φ** is the (*M* - 1) × (*M* - 1) dimensional subject level covariance matrix. Note that *υ*
_{(1, z) }directly gives the distribution of the bias *B*
_{(1, z)}. Again, while the selected subjects themselves may not necessarily be normal, the population from which they were selected frequently can be assumed to be normal. Prior distributions are required for *υ*
_{(1,2)},..., *υ*
_{(1, M)}, **Σ** and **Φ** to complete the full parameterization, and will depend on the information available.

This multivariate hierarchical Bayesian model (*HB*
_{2}) can also be used in the situation when the subject's underlying values can be considered exchangeably. However, in implementing model (*HB*
_{2}) rather than (*HB*
_{1}), then some parameters of potential interest that are unavailable, such as within subject variance, ${s}_{within\left(m\right)}^{2}$, between subject variance, ${s}_{between\left(k\right)}^{2}$, the intra-class correlation coefficient, *ICC*
_{
k
}, and the within subject covariance of measurements between methods ${\tau}_{\left(y,z\right)}^{2}$. However, the variance between individual measurements on the same subject is estimable.

## Results

Two separate examples are presented and analysed. The first example which also appears in Altman and Bland is that of systolic blood pressure measurements (mm Hg) made simultaneously by two observers (J & R) using a sphygmomanometer and an automatic blood pressure measuring machine (S), each making three observations in quick succession on 85 subjects [6]. The second example which is presented by Oliver and colleagues examines step counts for 9 pre-school children (aged between 3–5 years) ambulating along a straight 29 metre line at three different speeds ("walk slowly like a snail", "walk normally", "run") measured simultaneously by an observer and from three separate pedometers placed on the left and right hip and on the back of each child [15]. The data for both examples have been reproduced in Tables A1 and A2 (see Additional file 1).

In the first example each subject's underlying value was not expected to change between repeated measurements and so we model this using both multivariate hierarchical Bayesian models (*HB*
_{1} and *HB*
_{2}). In the second example each subject's underlying value is dependent on pace, a continually changing quantity, and so only the second multivariate hierarchical Bayesian model (*HB*
_{2}) could be employed.

### Prior specifications

For the purpose of this paper, we use vague prior information distributions throughout. For *HB*
_{1}, underlying parameters *θ*
_{
m
}, *i* = 1,..., *N*, were assumed to follow independent normal distributions with zero mean and low precision (0.0001), and the inverse covariance matrices (**Θ**
^{-1} and **Ω**
^{-1} respectively) followed a Wishart distribution with degrees of freedom taken to equal each matrix's rank and having diagonal elements set to 0.1, and off-diagonal elements set to 0.005 [12, 16]. Similarly, for *HB*
_{2}, underlying parameters *υ*
_{(1, z)}, *z* = 2,..., *M*, were assumed to follow independent normal distributions with zero mean and low precision (0.0001), and the inverse covariance matrices (Σ^{-1} and Φ^{-1}) followed a Wishart distribution with degrees of freedom taken to be their rank and having diagonal elements set to 0.1 and off-diagonal elements set to 0.005. However, if informative prior information is available, then this should be specified and modelled rather than using these vague priors.

### Computation

Preliminary checks of assumptions and the Bland-Altman limit of agreement graphs were undertaken using Stata version 9.2 [17]. Numerical results from the multivariate hierarchical Bayesian models were derived from computer simulation in WinBUGS [16] (see Additional file 2). Simulations of size *N* = 50,000 were run in four parallel chains (with over-relaxation) after a burn-in period of 10,000 iterations and samples from every 10^{th} iteration thereafter was stored and utilised. Convergence in the final samples was checked using visual plots of simulation histories and the modified Gelman-Rubin statistic [18]. Reported 95% credible regions (95% CR) corresponded to the 2.5 and 97.5 percentiles of the posterior distribution of the variable of interest.

### Systolic blood pressure measurements example

Before implementation of the multivariate hierarchical Bayesian models, a check of the assumptions was undertaken. For *HB*
_{1} the subject variances should be independent of their mean for each method while for *HB*
_{2} the subject paired difference variances should be independent of the subject paired difference means. Figure 1 presents this check for *HB*
_{1} using box-plots of the subject standard deviations broadly grouped into three categories by their means.

Perusal of Figure 1 reveals that observer J and R have subject variances relatively independent from their means. This assumption of independence appears less reasonable for the automated machine (S), particularly in the higher mean grouping. Nonetheless, like Bland and Altman [6], we consider this violation to be sufficiently small as not to warrant data transformation investigations. Next we plot the difference between the subject means for each pair-wise method comparison against their average (Figure 2). The assumption of independence again appears reasonable in Figure 2. Notable also in this figure is that the median and variability of the differences between observers J and R is substantially less than those involving the automated machine S.

Table 1 presents the mean estimate and associated 95% CR of the overall population mean, *θ*
_{
m
}, within subject variance, ${s}_{within\left(m\right)}^{2}$, between subject variance, ${s}_{between\left(m\right)}^{2}$. and intra-class correlation coefficient, *ICC*
_{
m
}, for systolic blood pressure measured by two observers and the automated machine (*m* = J, R and S). These estimates were derived from *HB*
_{1} using WinBUGS program Ex.1 (see Additional file 2). The estimates of ${s}_{within\left(m\right)}^{2}$ are similar but slightly higher than the ${s}_{within\left(J\right)}^{2}$ = 37.4, ${s}_{within\left(R\right)}^{2}$ = 38.0, and ${s}_{within\left(S\right)}^{2}$ = 83.1 reported by Bland and Altman for these data [6]. As previously concluded by these authors, we can see that both observers have considerably better repeatability than the machine and that the observer performance is almost identical. Additionally provided by our calculations are the ${s}_{between\left(m\right)}^{2}$ and *ICC*
_{
m
}mean estimates together with their associated 95% CR. From this we can see that the between subject variability accounts for most of the measurement variance and reliability, as measured by the *ICC*
_{
m
}, is high for all methods, albeit relatively higher for J and R compared to S.

Estimates and associated 95% CR of bias, *B*
_{(y, z)}, together with estimates of the 95% limits of agreement for pair-wise comparisons of systolic blood pressure for each pair-wise comparison derived from both *HB*
_{1} and *HB*
_{2} are presented in Table 2.

It can be seen from Table 2 that there was evidence of systematic bias between the observers and the machine but not between observers. The observers read systolic blood pressure measurements on average 15.7 mmHg lower than the automated machine. In addition, Table 2 includes estimates and associated 95% CR of within subject covariance of measurements between methods ${\tau}_{\left(y,z\right)}^{2}$ for each pair-wise comparisons derived from *HB*
_{1}.

Figure 3 depicts plots of the 95% limits of agreement and histogram of measurement differences for pair-wise comparisons of systolic blood pressure between the two observers (J & R) and between observer J and the automated machine S (J & S). The comparison between observer R and the automated machine S was very similar to the (J & S) comparison and thus not shown. For the comparison between J and R, the points on the plot are without obvious pattern and the histogram appears normal, consistent with the model's assumptions. However, when investigating the J and S comparison, there appears to be a cluster of discordant observations while the majority appear consistent with the statistical model's assumptions. Bland and Altman note that departures from normality between method differences will not have a great impact on the limits of agreement [6]. Nonetheless, investigation and verification of the data would be useful in such circumstances, as would sensitivity analyses (by removing some of the extreme data and determining their effect on the quantified level of agreement). Should the analyses be sensitive to outlying values then alternative methods of analysis need to be entertained, such as non-parametric methods or survival-agreement plots [6, 9].

The limits of agreement presented in Table 2 are similar when each observer is compared to the machine. If differences within these limits of agreement are not clinically important, then we could use the two measurement methods interchangeably. In comparing observer J with the machine S, Bland and Altman calculate a bias of -15.6 and 95% limits of agreement of (-56.7, 25.4), similar to those derived from our model.

A sensitivity analysis was undertaken by removing the 8 most aberrant data that appeared in Figure 3 and repeating the analysis. These 8 outlying measurements were all recorded by machine S and were for all 3 repeated measurements for subjects 78 and 80, and 2 of the 3 repeated measures for subject 68. The subject clustered nature of the aberrant data measured from the automated machine S suggests that the device was not properly fitted or functioning for these particular subjects and behoves further investigation. For the observer J vs. machine S comparisons, the estimated bias and 95% CR was -13.1 (-15.8, -10.4), little different from that reported in Table 2. The 95% limits of agreement was estimated as (-41.1, 15.2), an interval width of 56.3 mmHg and some 31% less than that reported in Table 2 for the full data. Similarly for the observer R vs. machine S comparisons, the estimated bias and 95% CR was -13.2 (-15.8, -10.6), and 95% limits of agreement was estimated as (-40.7, 14.6), an interval width also 31% less than that reported in Table 2. While noticeable, these are not particularly large reductions in the 95% limits of agreement interval widths.

Also included in Table 2 are the results from repeating the analysis of the full systolic blood pressure data except now employing the multivariate hierarchical Bayesian model that uses paired differences (*HB*
_{2}). The bias estimates, their associated 95% CR, and the 95% limits of agreement are strikingly similar to those derived from *HB*
_{1} due to the balance and completeness of the data.

### Step count measurements example

Step counts are believed to be dependent on the pace that pre-school children ambulate. In this study the mean (standard deviation) steps counted and recorded by the observer was 60.9 (10.7) for normal pace, 47.2 (6.9) when running, and 69.9 (7.8) at a slow walk. Because subjects underlying values are a changing quantity, we analyses these data using the non-exchangeable multivariate hierarchical Bayesian model (*HB*
_{2}).

A plot of the subject paired difference variances against the subject paired difference means provided no reason to refute the assumption that observations at the first level were independent (figure not shown). Implementing program Ex.2 (see Additional file 2), estimates of bias, *B*
_{(y, z)}, and the associated 95% CR together with estimates of the 95% limits of agreement for pair-wise comparisons of step counts measured by one observer (O) and pedometers located on the left hip (P_{LH}), the right hip (P_{RH}) and on the back (P_{B}) were yielded and appear in Table 3.

The estimates of bias suggest that on average the pedometers undercount the observer ascertained step count, although the undercount is small for the left hip (P_{LH}) and right hip (P_{RH}) pedometers. Figure 4 presents the 95% limits of agreement plot and histogram of measurement differences for comparisons of step counts between the observer and the left hip placed pedometer. The points on the plot are without obvious pattern and the histogram appears normal, consistent with the model's assumptions. Plots and histograms for the other pair-wise comparison were similar and also raised no concerns about the model's assumptions (figures not shown).

The 95% limits of agreement interval widths for the observer vs. pedometer step counts were approximately 27 steps for left hip (P_{LH}) and right hip (P_{RH}) pedometers and 29 steps for the back (P_{B}) pedometer over observed step counts that ranged on the 40 to 80 step interval. Based on this information the researcher can now decide whether differences within these limits of agreement are important for the purpose of her investigation.

## Discussion

There are many appropriate non-Bayesian methods for assessing agreement [3], however no Bayesian methods have yet been advocated or utilised. In this paper we present and employ such a method that is based on the Bland-Altman limits of agreement framework. This framework was adopted because of its simplicity, practicality, ability to detect bias and current popularity [3, 10]. Moreover we concur with Bland and Altman in thinking that there is no place for methods of analysis based on hypothesis tests in assessing agreement [6]. We assert that agreement is not something that is present or absent, but something which must be quantified. Once quantified, expert judgement should be used to determine whether the estimated level of agreement is satisfactory or not for the purposes of the researcher or practitioner.

Using this limits of agreement framework, multivariate hierarchical Bayesian models provide an attractive alterative to the existing suite of analytic methods in measuring agreement using repeated measurement method comparison studies. The proposed Bayesian models are flexible, easily conceptualised and implemented (even when there are multiple measurement methods) and provide results that are intuitive and meaningful [12–14]. The ease of implementation is not limited or complicated by the balance of replicates measurement numbers made on subjects within or between methods. Moreover, the proposed models can be extended to include different parameterisations and distributional forms, any prior information available about the agreement of the methods under investigation, and include regression approaches [12–14, 16]. For instance, in the second example, a regression approach could have been adopted treating pace as a covariate.

Another salient strength of the proposed hierarchical Bayesian models is that marginal distributions of the parameters of interest are yielded, thereby allowing the determination and reporting of location and scale (such as credible interval) estimates. For instance, using the exchangeable multivariate hierarchical Bayesian method (*HB*
_{1}), the within and between subject variances and covariance estimates and 95% credible regions were easily determined, as were intra-class coefficients. Because of the complicated distributional forms of many of these statistical parameters, 95% confidence intervals are not always readily available when using non-Bayesian statistical methods. It is of interest to note that there was a high degree of similarity between the estimates calculated and reported using Bland and Altman's methods that could be directly compared to the estimates derived from the implemented multivariate hierarchical Bayesian models with vague priors. This provides reassurance and confidence for users of either or both statistical approaches.

The properties associated with our advocated Bayesian method are not always enjoyed when using non-Bayesian software. For example, when the SAS program proposed by Carstensen and colleagues is employed for the same (J & S) comparison provided in the first example, the program fails to find a solution [11]. While Carstensen and colleagues' Stata program does find a solution, care must be taken in assigning indicator values (i.e. there is a need to order methods by their empirical variance) and not all confidence intervals for the parameters of interest are readily available. Moreover, it is unclear how the code can be generalised to the comparison of *M* > 2 methods. In the non-exchangeable measurement situation there is little in the literature guiding non-Bayesian analysts. Bland and Altman outlined one method but the specifics were lacking and no examples were provided here or elsewhere [6].

In developing the hierarchical Bayesian models, we chose to employ multivariate likelihood functions. There are many examples of multivariate hierarchical Bayesian analysis of repeated measurements outcome data already successfully employed in the medical literature [19–21]. We believe the utilisation of multivariate models is better than the successive pair-wise comparison approach presented by Bland and Altman for a number of reasons. These include the fact that there are frequently more than two methods under consideration, all information is analysed simultaneously (giving greater power, and increased statistical robustness and efficiency), marginal distributions of the parameters of interest are easily derived without asymptotic approximation, and the probabilistic approach more closely resembles to how researchers think. The modelling and implementation of the multivariate hierarchical Bayesian model with vague prior information was also straightforward. Using the freely available WinBUGS software [16] and included computer programs, computations were generally completed within minutes. If, indeed, one of the primary reasons why so few repeated measurement method comparison studies have been undertaken is due to the lack of statistical machinery readily available for the analysis of such data, then we hope our careful presentation of the statistical analysis and computer code for two examples will help circumvent this barrier for future researchers.

The proposed approach is not without its limitations. However, many of the same limitations plague the previously described limits of agreement methods. The assumption of normality may, at times, be untenable and the data require transformation or different likelihood distributions explored. The latter is perhaps hampered by the available of multivariate normal, multivariate Student t, Wishart and Dirichlet continuous multivariate distributions in WinBUGS [16]. However, as Bland and Altman note, and seen within our example, departures from normality between method differences will not usually have a great impact on the limits of agreement [6]. Nonetheless, investigation and verification of the data would be useful in such circumstances, as would sensitivity analyses, and alternative methods of analysis [6, 9]. Finally, if the number of subjects and replications is few (i.e. two measurements per subject with some missing values), there is little or no prior information, and the within and between subject correlation high, then there may be considerable autocorrelation in the WinBUGS numerical simulation. Careful attention needs to be given to the simulation diagnostics, the length of the burn-in time and use of the over-relaxed form of the Markov chain Monte Carlo simulation method.

## Conclusion

Repeated measurement method comparison studies quantify the agreement between the various methods under consideration and measure the agreement each method has to itself. While both are fundamentally important measures of agreement, few studies have adopted the use of replicates to measure the latter. We present two Bayesian methods of analysis that complement those already founded in the literature [6], one which assumes that the underlying values remain static and one assuming that the underlying values can change between measurement waves. The models are easily implemented and produce readily interpretable results. We believe that these models will provide important additions to the current measurement method comparison study analytic suite and hope that this will impel researchers to conduct such studies using replicated measurements in the future.

## References

- 1.
de Vet HC, Terwee CB, Bouter LM: Current challenges in clinimetrics. J Clin Epidemiol. 2003, 56: 1137-1141. 10.1016/j.jclinepi.2003.08.012.

- 2.
Rothman KJ, Greenland S: Modern Epidemiology. 1998, Philadelphia: Lippincott-Raven, 2

- 3.
Luiz RR, Szklo M: More than one statistical strategy to assess agreement of quantitative measurements may usefully be reported. J Clin Epidemiol. 2005, 58: 215-216. 10.1016/j.jclinepi.2004.07.007.

- 4.
Bland JM, Altman DG: Applying the right statistics: analyses of measurement studies. Ultrasound Obstet Gynecol. 2003, 22: 85-93. 10.1002/uog.122.

- 5.
Bland JM, Altman DG: Statistical methods for assessing agreement between two methods of clinical measurement. Lancet. 1986, 1: 307-310.

- 6.
Bland JM, Altman DG: Measuring agreement in method comparison studies. Stat Methods Med Res. 1999, 8: 135-160. 10.1191/096228099673819272.

- 7.
Ludbrook J: Statistical techniques for comparing measurers and methods of measurement: a critical review. Clin Exp Pharmacol Physiol. 2002, 29: 527-536. 10.1046/j.1440-1681.2002.03686.x.

- 8.
Carstensen B: Comparing and predicting between several methods of measurement. Biostatistics. 2004, 5: 399-413. 10.1093/biostatistics/kxg043.

- 9.
Luiz RR, Costa AJ, Kale PL, Werneck GL: Assessment of agreement of a quantitative variable: a new graphical approach. J Clin Epidemiol. 2003, 56: 963-967. 10.1016/S0895-4356(03)00164-1.

- 10.
White SA, Broek van den NR: Methods for assessing reliability and validity for a measurement tool: a case study and critique using the WHO haemoglobin colour scale. Stat Med. 2004, 23: 1603-1619. 10.1002/sim.1804.

- 11.
Carstensen B, Gurrin L, Simpson J: Comparing and predicting between measurement methods. 2006, Melbourne: Royal Children's Hospital, [http://staff.pubhealth.ku.dk/~bxc/]

- 12.
Congdon P: Bayesian Statistical Modelling. 2002, Chichester: Wiley

- 13.
Berger JO: Statistical Decision Theory and Bayesian Analysis. 1985, New York: Springer-Verlag, 2

- 14.
Gelman A, Carlin JB, Stern HS, Rubin DB: Bayesian Data Analysis. 1997, London: Chapman & Hall

- 15.
Oliver M, Schofield GM, Kolt GS, Schluter PJ: Pedometer accuracy in physical activity assessment of preschool children. J Sci Med Sport. 2007, 10: 303-310. 10.1016/j.jsams.2006.07.004.

- 16.
Lunn DJ, Thomas A, Best N, Spiegelhalter D: WinBUGS – a Bayesian modelling framework: concepts, structure, and extensibility. Stat Comput. 2000, 10: 325-337. 10.1023/A:1008929526011.

- 17.
Stata Corporation: Intercooled Stata 8.0 for Windows. 2003, College Station, TX: Stata Corporation, 8.0

- 18.
Brooks SP, Gelman A: Alternative methods for monitoring convergence of iterative simulations. J Comput Graph Stat. 1998, 7: 434-455. 10.2307/1390675.

- 19.
Lu G, Ades AE: Combination of direct and indirect evidence in mixed treatment comparisons. Stat Med. 2004, 23: 3105-3124. 10.1002/sim.1875.

- 20.
Woolrich MW, Behrens TE, Beckmann CF, Jenkinson M, Smith SM: Multilevel linear modelling for FMRI group analysis using Bayesian inference. Neuroimage. 2004, 21: 1732-1747. 10.1016/j.neuroimage.2003.12.023.

- 21.
Goldstein H, Browne W, Rasbash J: Multilevel modelling of medical data. Stat Med. 2002, 21: 3291-3315. 10.1002/sim.1264.

### Pre-publication history

The pre-publication history for this paper can be accessed here:http://0-www.biomedcentral.com.brum.beds.ac.uk/1471-2288/9/6/prepub

## Acknowledgements

I thank Melody Oliver for motivating this problem and making available her step count data.

## Author information

## Additional information

### Competing interests

The author declares that they have no competing interests.

### Authors' contributions

PJS conceived the study, analysed and interpreted all data, and drafted the paper. The author read and approved the final manuscript.

## Electronic supplementary material

## Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

## Rights and permissions

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

## About this article

### Cite this article

Schluter, P.J. A multivariate hierarchical Bayesian approach to measuring agreement in repeated measurement method comparison studies.
*BMC Med Res Methodol* **9, **6 (2009). https://0-doi-org.brum.beds.ac.uk/10.1186/1471-2288-9-6

Received:

Accepted:

Published:

DOI: https://0-doi-org.brum.beds.ac.uk/10.1186/1471-2288-9-6

### Keywords

- Step Count
- Subject Variance
- Hierarchical Bayesian Model
- Credible Region
- Automate Machine