- Research
- Open access
- Published:

# Bayesian aggregation versus majority vote in the characterization of non-specific arm pain based on quantitative needle electromyography

*Journal of NeuroEngineering and Rehabilitation*
**volumeÂ 7**, ArticleÂ number:Â 8 (2010)

## Abstract

### Background

Methods for the calculation and application of quantitative electromyographic (EMG) statistics for the characterization of EMG data detected from forearm muscles of individuals with and without pain associated with repetitive strain injury are presented.

### Methods

A classification procedure using a multi-stage application of Bayesian inference is presented that characterizes a set of motor unit potentials acquired using needle electromyography. The utility of this technique in characterizing EMG data obtained from both normal individuals and those presenting with symptoms of "non-specific arm pain" is explored and validated. The efficacy of the Bayesian technique is compared with simple voting methods.

### Results

The aggregate Bayesian classifier presented is found to perform with accuracy equivalent to that of majority voting on the test data, with an overall accuracy greater than 0.85. Theoretical foundations of the technique are discussed, and are related to the observations found.

### Conclusions

Aggregation of motor unit potential conditional probability distributions estimated using quantitative electromyographic analysis, may be successfully used to perform electrodiagnostic characterization of "non-specific arm pain." It is expected that these techniques will also be able to be applied to other types of electrodiagnostic data.

## Background

It is generally accepted that non-specific arm pain (NSAP) is caused by physical exposures in the workplace including repetitiveness, awkward postures, and high forces, and this condition is commonly reported in the workplace [1]. In a 2-year prospective population based cohort study with retrospective assessment of exposures at work, Macfarlane *et al* [2] found mechanical factors moderately increased the risk of NSAP, with repetitive motion being the most important factor for the onset of pain. However, a study by Walker-Bone *et al* [3] found that individuals with NSAP were no more likely to develop a known pathology, such as hand-wrist tendonitis from repetitive keyboard work, than individuals without underlying forearm pain, suggesting that the diffuse pain felt in NSAP is not simply a precursor to a more clearly defined musculoskeletal condition.

Despite known risk factors, little is known about the pathology of NSAP, where the diffuse pain noted in the forearm of affected individuals lacks any clear diagnostic criteria. In fact, the Harrington criteria [4] define non-specific forearm pain as a pain in the forearm that fails to meet the diagnostic criteria for other specific diagnoses and/or diseases.

It is not clear whether NSAP is a musculoskeletal or neuromuscular condition. Some authors believe that chronic pain conditions like NSAP and trapezius myalgia are associated with damage within the muscle [5â€“10], whereas others believe it is caused by neuropathic changes [11â€“14]. In some muscles affected by chronic overuse conditions, an increased proportion of "ragged red" fibers have been identified on biopsy as compared to healthy control subjects, and researchers have therefore suggested that the origin of this condition is associated with mitochondrial damage to the Type I fibers [15â€“17], however these results have not been conclusive, with similar damage noted in individuals who perform repetitive tasks but who are pain free. Other researchers have found indications that chronic muscle pain in the wrist flexor group (also referred to as NSAP) may be neuropathic in nature [11â€“14]. In particular, Greening *et al* speculate that NSAP affecting the wrist flexor muscles is neuropathic in origin, based on observed changes in median nerve function [11, 12, 18].

### Quantitative electromyography

Quantitative electromyographic (EMG) data can be used to obtain reproducible and robust characterizations of the signature signal structures obtained from individual motor units (MUs) [19, 20]. Through signal decomposition techniques applied to a needle-detected EMG signal, it is possible to observe the repeated occurrence of motor-unit potentials (MUPs) from the pool of motor units active during a given muscle contraction. The series of such potentials is referred to as a motor-unit potential train, or MUPT; these data may be used to characterize both the average shape of a MUP as well as to estimate the firing pattern of its generating MU. In addition, by combining data simultaneously acquired using surface and needle electrodes, it is possible to correlate the data from these sources and obtain an estimate of the surface representation of the MUP (called an SMUP template) related to each MUPT. The SMUP is determined by using the firing times of the main spike of each individual MUP firing within a MUPT and relating these to the potential observed at a surface electrode overlying the needle uptake volume. By considering a "window" based on the needle-triggered firing, a template of the mean observed voltage may be constructed by ensemble averaging the voltages for each sample across the window associated with each firing. This will produce a template, seen at the surface electrode, of the average voltage shape related to the needle-observed MUP.

Through aggregate analysis of the MUPTs detected during a contraction, or set of contractions, it is possible to obtain information about the active MUs within a muscle. This work provides an analysis of the information obtained through an aggregation approach.

The MUPTs considered were detected in the forearm muscles of individuals with and without NSAP. By using a simple, statistically based, Bayesian classification algorithm, we wished to explore the degree to which estimates of the multidimensional distributions of features used to represent MUPTs may be used to classify sets of MUPTs, and to differentiate subjects with NSAP from pain free subjects.

Each MUPT may be considered to have a characterization. In this work, a MUPT characterization is defined as a set of two conditional probabilities: that of being detected in a muscle of a subject with NSAP and that of being detected in a muscle of a subject free of pain. If we maintain our understanding of this MUPT characterization in purely probabilistic terms, then by considering a set of MUPTs detected from the same muscle we may estimate the overall conditional probability that the muscle is from a subject with NSAP versus the probability that the subject does not. This overall conditional probability will be based on more evidence than is available by analysis of an individual MUPT. Each MUPT contributes its conditional probability as a weighted vote toward each possible class labelling.

Bayesian aggregation has been used in several fields [21â€“25], including various medical and clinical applications [26, 27]. Pfeiffer [28, 29] first proposed Bayesian aggregation as a technique for combining the clinical information available from the analysis of multiple motor unit potentials. Bayesian aggregation considers *a priori* information about data distribution shapes and relative numbers of occurrence and combines it with specific sampled data values to produce an overall characterization. Our intention here is to explore this technique in relation to the poorly understood problem of NSAP, and evaluate the utility of the Bayesian technique.

NSAP is of interest in a diagnostic sense as the underlying pathophysiology is unknown; we therefore propose a test that is discriminative for this condition. Based on quantitative EMG data analysis, it is hoped that some insight into the morphological differences seen in MUPTs detected in muscles of subjects with NSAP, and thus its pathophysiology, may be obtained.

It should be noted, however, that as in any similar condition, a large enough sample of MUPTs from an affected individual would contain MUPTs consistent with the involved state, as well as essentially normative MUPTs. This is due simply to the fact that it is unlikely that the condition has a uniform effect on all motor units sampled; while some units will potentially be quite significantly involved, other units may be free of any involvement at all. The MUPTs associated with these uninvolved units will therefore produce measures that are consistent with normative values, and their presence in data acquired from an involved subject will make correct interpretation more difficult. It is therefore reasonable to hypothesize that both normative and involved MUPTs will be acquired from the same muscle (indeed, during the same contraction), and that there is no clear way to definitively separate such MUPTs using any type of gold-standard as both may be considered to be representative of a specific condition.

This situation is not restricted to NSAP. One must, in fact, assume that this problematic condition may be present in any type of diagnostic data related to a process with variable involvement. As involvement proceeds, it may be expected that more and more of the data obtained in a sample may indicate a specific condition, however it is unlikely that all samples may be considered unequivocally indicative of the condition, except in very extreme cases.

## Methods

### Data collection

Ethics approval for this study was obtained from the Queen's University Health Sciences Research Ethics Board. Electromyographic (EMG) data were collected from 17 volunteers with signs and symptoms consistent with NSAP, as well as a normative group of 40 volunteers.

A clinical examination was performed and used to make demographic comparisons between the groups, to verify correct group assignment, and to verify that subjects had no signs or symptoms of cervical radiculopathy and/or other repetitive strain injury such as carpal tunnel syndrome, deQuervain's tendonitis, or medial epicondylitis. The screening examination consisted of a neurologic examination of the upper extremities, including myotome testing, dermatome (light touch, pin prick) testing, and assessment of the deep tendon reflexes at the C5 to C8 levels. Cervical spine range of motion was tested in sitting to ensure that cervical movements did not reproduce the forearm symptoms. The movements tested included flexion, extension, lateral flexion, rotation, and combined extension with lateral flexion. These movements were held at the end of the available range of motion for 10 seconds. Three repetitions of maximal handgrip strength (Jamar Dynamomter, Sammons Preston Inc., Model # 5030J1; in position 2) and maximal pinch grip strength (Baseline Evaluation Instruments, 60# mechanical pinch gauge, model # 12-0201) were measured bilaterally with the elbow flexed to 90 degrees, and with the wrist held in neutral between flexion and extension, respectively.

For the participants in the NSAP group, several other parameters were recorded and were used as a basis for comparison for other samples not presented here. See [30] for details.

A pressure algometer (model PTH-AF 2, Pain Diagnostic and Treatment Corporation, Great Neck, NY 11021, USA) was used to measure pain pressure threshold (PPTh) and pain tolerance (PPtol). The device consists of an analog force gauge fitted with a disc-shaped rubber tip (1 cm^{2}). The range of the gauge is 0-10 kg, with increment markings at 0.1 kg. Measurements were made at the nail bed of the third digit (D3), over the bellies of the extensor carpi radialis brevis (ECRB) muscle, the flexor carpi radialis (FCR) muscle, the biceps brachii (BB) muscle and the triceps brachii (TB) muscle. Pain tolerance scores (PPtol) were normalized to the amount of pressure subjects could withstand having applied to the nail bed on D3 of the affected (or tested) limb.

Subjects who were assigned to the NSAP group experienced pain on palpation of the ECRB muscle and complained of forearm pain during wrist extension activities performed at work or in their leisure activities, but resisted wrist extension with elbow extension as described above did not reproduce their signs and symptoms. We did not include any subjects who had signs or symptoms that could be attributed to lateral epicondylitis (*i.e*.; pain on resisted extension of digit 2 or 3, or pain on passive wrist flexion with the elbow extended). Control subjects had no pain on resisted wrist extension, passive wrist flexion, or palpation of the lateral epicondyle or the ECRB muscle. Subjects in the control group did not perform repetitive wrist motions at work or during their leisure time. Both subject groups excluded individuals with known cardiovascular, metabolic (diabetes) or neurologic disorders. All subjects provided informed consent prior to participation.

For the electromyographic evaluation, subjects were seated in a straight back chair with the elbow of the dominant arm flexed at 90Â° and their forearm pronated and resting on a custom-built table (Figure 1). Adjustable straps attached to the bottom of the testing table were passed through an opening and secured around the dorsum of the hand to provide resistance during the isometric extension contractions. Surface electrodes (Ag/AgCl; Kendall-LTP, Chicopee, Massachusetts, cut in half to measure 1 Ã— 3 cm) were placed on the tested limb, and subjects were asked to perform a three second maximum voluntary contraction (MVC) of their wrist extensors with verbal encouragement provided throughout. The peak root mean square (RMS) value calculated over contiguous one second intervals of the surface EMG attained during the MVC was determined. This value represented the maximal voluntary EMG produced by the subjects, termed maximal voluntary effort, or MVE. The RMS values of all subsequent contractions were expressed as a percentage of this value, and are referred to as the %MVE-RMS.

Quantitative EMG analysis was performed using the DQEMG method and associated algorithms. These were used as described in detail elsewhere [30â€“32]. Prior to electrode placement, the motor point of the ECRB muscle of the test limb was identified as the area over the muscle surface where the lowest possible electrical stimulus produced a muscle twitch. The location of the motor point in the ECRB muscle is approximately two cm distal to the cubital crease. Using the cathode portion of a stimulating probe, with the train rate of the stimulator set at 10 pps, and the stimulation duration set at 1 ms [33], the cathode was moved over the muscle belly until the motor point region was determined. The skin above the motor point, the radial styloid process and the dorsum of the hand of the test limb was cleaned with rubbing alcohol prior to electrode placement. The active electrode was positioned over the motor point of the ECRB and the reference electrode was placed over the radial styloid process to form a monopolar configuration, as described in [19]. A full-sized surface electrode (2 cm by 3 cm) was positioned on the dorsum of the hand to act as the common reference. A disposable concentric needle (Model 740 38-45/N; Ambu^{Â®} Neuroline, Baltorpbakken, Ballerup, Denmark) electrode was inserted approximately 2 cm deep underneath the active surface electrode.

AcquireEMG algorithms running on a Neuroscan Comperio EMG system (Neurosoft, Sterling, VA) were used to acquire the needle and surface EMG data during 30 s intervals as in [34]. The needle position was adjusted until the average peak acceleration of the MUPTs detected during a low-level contraction (5-10% MVE) was above 30 kV/s^{2} [33]. Once a suitable needle position was found, the operator stabilized the needle manually and then asked the subject to hold a desired contraction force for 30 s. Subjects were provided with a visual bar graph and a numerical value that corresponded to their force output (%MVE-RMS) for feedback. Following each contraction the needle was moved (medially, laterally, superficially and/or deeper) so that MUPTs from different portions of the muscle would be sampled in an effort to record from a large representative pool of motor units. Each subject performed repeated contractions until at least 30 MUP trains were obtained. The contraction force was varied between 5-20% of MVE. A 2-minute rest period was provided between contractions.

The acquisition settings used were as reported in [30]: micro (needle) data were bandpass filtered between 10 Hz-10 kHz and then sampled at 31250 samples/second; macro (surface) data were a bandpass filtered between 5 Hz-5 kHz and sampled at 3125 samples/second.

### EMG decomposition

Needle-detected EMG data from all contractions were decomposed using the DQEMG program of Stashuk [32â€“34], which calculates a set of quantitative EMG summary statistics for each MUPT acquired during each muscle contraction. These measures describe the MUP shape and MU firing behaviour of each MU sampled from the muscle [35], and such parameters have been shown to be relevant in determining the type (myopathic vs. neuropathic) of disease involvement [28, 29].

The DQEMG program produces a number of measures; the features used are listed in Table 1. These measures are common quantitative EMG parameters, the definition and collection of which are described in [19, 35â€“37].

For some features, as noted in Table 1, logarithmic mapping was done in an attempt to provide a data distribution more closely approximating a Gaussian distribution, as many of the feature values stem from a multiplicative relationship between several underlying processes, causing their combined distribution to resemble an exponential distribution. Peak-to-peak amplitude is, for instance, a function of both the size and number of the active muscle fibres as well as the distance between these fibres and the electrode surface. As these factors combine multiplicatively, the distribution of observed values from a collection of fibres is extremely skewed, more closely describing an exponential distribution than a Gaussian one; the log of these values was therefore used to mitigate skewness. As skewness has serious implications for the classifier discussed later, this is expected to improve classifier performance; this hypothesis was confirmed through a set of preliminary experiments performed while preparing the data.

In the case of these log-transformed features, all calculations shown here were done with the log-transformed values.

### Data distribution construction and cross-validation

In total, 266 MUPTs were collected from the 17 subjects with NSAP and 1168 MUPTs were collected from the 40 control subjects. Each subject's EMG data set is henceforth referred to as a muscle study. Each muscle study is represented by the collection of the MUPTs extracted from EMG data detected from the same muscle during contractions performed on the same occasion. As the objective during data collection was to have at least 30 separately identifiable MUPTs for each muscle study, the number of contractions per study varied from subject to subject.

As mentioned in the introduction, the data in the NSAP class contains several samples that would and should be considered normative, greatly increasing the difficulty of the characterization task. One of the major outcomes of this analysis is to show to what degree it is possible to aggregate the information from MUPTs with a variety of individual characterizations, across a set of MUPTs, to produce a correct overall characterization of a muscle as being either NSAP or normative.

In order to establish performance estimates, the available MUPT data were organized into 10 cross-validation pools, constructed to preserve the underlying groupings of the data collection process. These pools were constructed by iterating down the lists of NSAP and normative studies, placing data from each subsequent study into the next cross-validation pool in round-robin fashion. This strategy ensures that all of the MUPTs collected from the same muscle remained together for purposes of aggregation as described below, while also ensuring that each pool contained studies from both Normative and NSAP characterized data. Enforcing the presence of data from both characterization classes in all testing sets controlled potential bias arising from the fact that there are significantly more normative than NSAP contractions in the training data.

The cross-validation pools where then used to construct experimental data sets such that the data in each pool were used only once for testing, with training data obtained by combining all other pools. Results were calculated across all pools, allowing average performance to be calculated. In light of the discussion in [38] and [39], full leave-one-out cross-validation was not used, as the cited works indicate that 10-fold cross-validation should provide an estimate of performance with less bias that that provided by full leave-one-out cross-validation.

### Classifier construction

A discriminant function providing the minimum-error-rate for two classes may be represented as

This encodes a distance measure (Î´) that provides the minimum error rate discriminant for class *k* of some K total classes for a given input vector, **x**, given the conditional probability of the observation of **x** given class *Ï‰*_{
k
}as well as the overall *a priori* probability of occurrence of samples from class *Ï‰*_{
k
}. Here we make no assumption regarding class probabilities, and assume that all *Ï‰*_{
k
}are equally probable.

If the distribution of feature values follows a Gaussian distribution, then a Bayesian discriminant function provides optimal separation between classes [[40] pp. 37-41], and a "Normal Density Discriminant Function" (NDDF) classifier may be constructed using

where

in which the variables **S**_{
k
}, **m**_{
k
}and P(Ï‰_{
k
}) refer, respectively, to our estimates of the covariance matrix and mean vector and relative probability of occurrence of class *k* of K classes (in this case, K = 2: Normative and NSAP). In the above equations, X^{-1} indicates the matrix inverse operation, and |*X*| indicates the calculation of the determinant.

This formulation is simply the discriminant function constructed from (1) using the general multivariate normal density

in which *d* is the dimensionality (the number of input features) in the problem. As can be seen in (2), this factor drops out in the construction of the discriminant through the application of the natural logarithm.

The discriminant of (2) can therefore be seen as providing a measure of similarity to a Gaussian distribution, and is therefore equivalent to calculating the relative distance to each mean using the Mahalanolbis distance

In (4), *r* provides the distance from the mean of a Gaussian (Normal) distribution in units of standard deviation, implying that the Mahalanolbis distance may then be directly used as a z-score to relate a given point to its expected probability of occurrence in the related distribution. In fact this produces the same classification results as (2).

In order to apply the above equations, the mean and covariance are calculated using all of the MUPTs available for training separated by class. The per-class mean and covariance may then be calculated directly from these groups. Mean values were calculated individually for each feature; covariance data was calculated using these per-feature means.

As mentioned above, the relative probability of occurrence of each class, **P**(*Ï‰*_{
k
}), was set to 0.5 (or "no information") to establish a uniform prior probability estimate.

### Aggregation of classifier results

Applying the NDDF classifier as described will produce an estimate of the characterization for each MUPT. Such a characterization does not take into account the fact that further information is available, specifically that MUPTs collected from the same muscle may be considered as a set in order to produce a muscle characterization, in which each MUPT supports (or refutes) a specific characterization of that muscle. Individual MUPTs can be considered to be associated with information that is meaningful only in the collective sense; by collecting such information together; it is possible to use aggregation to account for the presence of normative MUPTs in NSAP data.

Further, the characterization of individual MUPTs is not as meaningful as the characterization of a muscle as a whole. This implies that while individual MUPTs collected from a single contraction may, or may not, show indications of NSAP that may be preferentially affecting only some motor units of a muscle, it is the overall diagnosis of NSAP that need concern us here. If there is indeed such variable expression of disease state, aggregation of the individual MUPT outcomes should allow an overall diagnosis to be made, in spite of this variation in outcome associated with the individual MUPT samples.

We must be careful to form an aggregation that correctly reflects the information presented by each MUPT, without overstating the importance of any single measurement. Essentially we expect to see both MUPTs that "look normative" in muscle studies from patients with NSAP, and we expect to see MUPTs that appear consistent with NSAP in muscle studies from control subjects.

We wished to integrate the information present in a set of MUPTs sampled from the same muscle over a set of contractions into a single muscle characterization. Specifically, we wished to consider the set of MUPT results as a group of input values for some form of aggregation classifier. We therefore compared results in terms of successful muscle level characterization using four different aggregation schemes as described below.

### Independent MUP analysis

The first calculation done examines the results of the NDDF classifier as run independently on each MUPT, producing a total of 1434 characterizations. This analysis was performed for two reasons: the accuracy of the classification system when no muscle-level knowledge is used provides the minimum accuracy we would expect from aggregation, and additionally, it is these NDDF measures that will be used to produce the aggregate results to be compared.

### Vote-based aggregation

A simple and obvious aggregation strategy to aggregate the 1434 MUPT results into descriptions of the 57 muscular studies is to apply a simple majority vote scheme. We therefore simply examine all MUPTs sampled from a muscle and count, for each class, the number of MUPTs for which that class was indicated as having a maximum conditional probability. The class label that had the majority count was then applied to all MUPTs in the contraction. In cases of a tie, one of the labels was randomly chosen.

Note that this strategy does not take into account the magnitude of the difference in conditional probability used to choose the winning class; the smallest of margins produces a vote of the same weight as a unity probability.

### Bayesian aggregation

The magnitude of difference in probability may be further taken into account through further leveraging of our assumption that the class distributions may be defined as conditional probability distributions following a Gaussian curve, and using the relative probabilities found in an aggregate calculation of the joint probability of association across all MUPTs studied.

This may be easily calculated once we realize that the formulation of (1) allows us to combine the joint probabilities of observation of several **x** values, as it is equivalent, within a scale factor, of either

In particular, the second formulation here indicates that in order to produce an aggregation of the joint probabilities across a series of MUPT samples **x**_{1}, **x**_{2},... **x**_{
n
}, we may simply multiply together all of the *Î´*_{
k
}values obtained for each sample within the same class to obtain an estimate of the joint probability Î”_{
k
}, *i.e.;*

As the normalization required to turn (6) into a true probability is the same for each class considered, it need not be considered when constructing the aggregate discriminant, as its effect will simply be to scale each probability by the same value. To calculate a *relative* probability therefore we need simply multiply the values for each discriminant obtained from (2) as shown in (6) without a need to normalize the result. We will then use the highest Î”_{
k
}value to indicate the class association.

### Mean NDDF discriminant

As a final strategy, a mean distance across all MUPTs in a contraction was calculated for a given class, by calculating an average of the distances determined by the NDDF classifier. This mean value was then computed for each class, resulting in a measure describing the average distance of the MUPTs in a given contraction from each class. The contraction was then assigned to the "closest" class based on this average distance.

## Results

### Sample demographic information

The demographic information of both samples is presented in Table 2. The clinical questionnaire and clinical evaluation outcomes for the NSAP group are presented in Table 3. The upper limb tension test with radial bias (ULTT3) revealed that none of the NSAP subjects had a positive test.

### Distribution parameter estimate stability

Table 4 reports the variability of the mean and coefficient of variation for each of the features described in Table 1.

Columns indicated as Ïƒ(Î¼) contain the standard deviation of the mean values obtained over each feature in a given class, calculated over the 10 cross-validation tests. Conversely, columns marked Î¼(Ïƒ) show the average of the per-feature standard deviations, again independently for each feature. Together, these values may be used to get an estimate of the variability in the mean values obtained for the various Normative and NSAP distributions tested, and relate these to the variability of the distributions themselves, noting that all that is shown is the feature-independent variability, and not the inter-feature dependence found in a full covariance matrix.

To that end, the columns marked Ïˆ show the coefficient of variation, which is the ratio of the standard deviation of the mean of a feature versus the mean variability of the feature overall, or

This statistic measures the dispersion of the probability distribution of the feature values.

The final column in Table 4 is a *t* value calculated by taking the difference between the mean values and normalizing by the mean standard deviation values weighted by the degrees of freedom (d.f.) introduced by the tests, or

where the number of degrees of freedom is 10, based on the 10Ã— cross-fold validation. This measure provides a means of identifying the contribution to classification relative to the Normal classifier, but does not measure the information content of the feature if the assumption of Normal distribution is violated. Note that it is clear that no single feature, in and of itself, is sufficient to determine between Normative and NSAP values.

### Classification accuracy

Tables 5 through 8 are set up as confusion matrices describing the results of independent MUPT classification, vote based aggregation, Bayesian aggregation and mean NDDF discriminant respectively.

Each table contains a header and summary row. The central rows of the table are set up in the following way:

each row is labelled with the true characterization,

the first two columns indicate the number of characterization with the true label into each of the possible characterization labels,

the "Totals" column shows the number of elements in each true class, and

"per-class accuracy" is the fraction of the elements that was correctly labelled for each class. Considering NSAP as a "positive test outcome," and Normative as a "negative test outcome", the per-class accuracies for the NSAP and Normative classes are, respectively, the estimates of the sensitivity and specificity of the classifier; the overall accuracy of the classifier is simply the sum of the per-class accuracy values divided by the number of classifications made.

The bottom of the table displays overall statistics. Totals are tallied for each column, which indicate the number of samples assigned to each target class; in the case of Table 5 these are MUPTs, in the remaining tables these are muscles.

The value at the foot of the "Per-class accuracy" column is simply the product of all of the per-class accuracy values assigned, and is termed "Performance." This was chosen as an overall performance statistic as it equally weights the contribution to overall performance by each class while providing a metric that can be used to compare the different classification schemes. It should be pointed out that although this metric is [0Â·Â·Â·1] bounded, the multiplicative relationship between the elements does mean it is non-linear (though monotonically increasing).

Table 5 indicates the results of analysis using the NDDF classifier when classifying each MUPT independently (i.e.; discarding the knowledge that for a set of MUPTs sampled from a muscle all the MUPTs come from the same muscle, and thus must have the same characterization). These results show that, as a baseline, approximately 3/4 of the individual MUPT characterizations have a maximum conditional probability that matches the true muscle characterization.

An analysis of the same underlying data is shown in Table 6, but with an aggregate label calculated using the voting aggregation as presented above. Immediately apparent from this table is the fact that aggregate decision making results in a much higher degree of accuracy: the poorest per-class accuracy is 0.875 based on best-vote-takes-all.

Bayesian aggregation provides somewhat different values, shown in Table 7, which indicates that the increase in accuracy is similar to that in the voting scheme.

Table 8, displaying the mean NDDF classification, shows that this technique is severely biased toward Normative, achieving an accuracy of roughly only 2 in 3 on NSAP data.

An analysis of the significance of these results was calculated using McNemar's test [41, 42]. This test was constructed by examining the pair-wise differences between the same contractions as evaluated by each test. Four groups were constructed, containing the counts of: the instances for which both classifiers were correct; the instances for which both were incorrect; those for which there was an improvement in classification by the second classifier (*i.e.;* the first classifier was wrong, but the second was correct); and those for which there was a degradation (first was correct, the second was wrong).

The McNemar test relates the association between the changes in "treatment" (here the change in classifier) and the change in outcome (termed "discordant pairs"). With no association, the two discordant pairs should be equal, and a Ï‡^{2} value can then be calculated from two discordant pairs Î± and Î² using

calculated using 1 degree of freedom.

Table 9 provides the number of improved and degraded discordant pairs, as well as the 2-tailed *p*-value and, Ï‡^{2} . As can be seen in this table, there are no significant differences between any groups in these data.

## Discussion

The clinical assessment showed there were no strength differences between the individuals with and without NSAP; in fact the groups were very similar other than the fact that the individuals with forearm pain scored higher on measures of pain and disability, had a lower tolerance to pressure applied to their ECRB muscle and their triceps muscle. Other than non-specific symptoms of pain, therefore, there were no features on examination that would suggest that the individuals with NSAP had either myopathy or neuropathy.

### Classification outcome

The power of Bayesian aggregation would lead us to expect that the results in Table 7 would provide a significantly higher performance than the simple voting results shown in Table 6. The fact that this is not the case is very instructive regarding the estimation of the underlying data distribution. Such an expectation rests upon the assumption that the Bayesian aggregation has access to useful and correct information describing both the Normative class and the NSAP class; which in turn is based on the assumption that both of these are in fact Gaussian distributions.

The fact that muscle characterization based on individual MUPT characterizations performed quite well (*i.e*., 75% accuracy on MUPT analysis) lends a great deal of support to this premise, as poor results are found when using this classification scheme on significantly skewed distributions. The evidence here is that although the distributions are centrally limited, the assumption of a Gaussian distribution is not well founded in this case, though the limitations of this assumption are not severe.

One potential weakness stems from the amount of data available to estimate distribution parameters. Although the method of estimation used is optimal given a Gaussian distribution [[40], pp. 36], insufficient data will provide an unstable estimate. The stability of our parameter estimates as shown in Table 4 indicate not only that the mean values calculated are relatively stable, but that the variance in these estimates are significantly smaller than the per-feature standard deviations associated with each feature.

Essentially, the conclusion that may be reached based on our observations is that although the Bayesian aggregation technique using sets of MUPTs substantially increases classification accuracy (relative to unaggregated data), the assumption of a Gaussian distribution to describe the data limits its effectiveness; there is no more information, on average, available in the estimate of distribution shape and Bayesian aggregation than is available through aggregate voting.

The outlier detection methods introduced in [43] and applied and discussed in [44, 45] are relevant here as it is exactly these outliers that contribute to the ability of the Bayesian estimator to determine that these muscles are not normative. The inference applied here limits the extent to which outlier following will be performed, ensuring that the outlier-based classifications are appropriately weighted by the observation of normative MUPTs. If appropriate probabilities are available for the Bayesian estimator, it may be expected that this will provide an excellent mechanism for determining when enough MUPTs have been observed, allowing the central question of [45] to be explored in a probabilistic sense.

This observation in turn supports the idea that with a better understanding of the true data distribution, a better Bayesian estimator may be produced. The authors intend to apply an event-based treatment introduced in earlier work [36] to these data, providing an analysis that is free from the assumption of a Gaussian distribution.

The measure of stability (column marked Ïˆ in Table 4) provides insight into the variability of the means of the two classes relative to the class variances; when compared with the *t* values shown in the right-most column of Table 4 we see that there is significant information present in these columns. We may therefore conclude that though our assumption of a Gaussian distribution does not accurately reflect the underlying distribution of the data for all of the reasons mentioned above, there is significant information content in these data that will allow decisions to be made. Further, we can estimate, based on these data, which features are likely to be the most informative overall, and further exploration of these features in a non-parametric analysis is warranted.

We intend therefore to proceed to an analysis of these data using stronger, non-parametric techniques to ascertain whether a better classification may be obtained then the already-strong performance obtained here.

## Conclusions

In support of the findings of [28, 29], MUPT classification performance may be improved through the application of Bayesian aggregation, however the degree of improvement may be limited to that obtained through simpler means, such as majority vote.

The limitation in the performance improvement observed is not related to an inability to estimate distribution parameters because of a lack of data; instead, limitations are apparent because of assumptions of distribution shape that do not reflect the true MUP morphological and MU firing pattern changes occurring due to involvement.

An investigation into more appropriate methods to examine the distribution of involved versus normative data should allow Bayesian aggregation to achieve improved characterization accuracy.

## References

Urwin M,

*et al*.:**Estimating the burden of musculoskeletal disorders in the community: the comparative prevalence of symptoms at different anatomical sites, and the relation to social deprivation.***Ann Rheum Dis*1998,**57**(11):649-55. 10.1136/ard.57.11.649Macfarlane GJ, Hunt IM, Silman AJ:

**Role of mechanical and psychosocial factors in the onset of forearm pain: prospective population based study.***BMJ*2000,**321**(7262):676-9. 10.1136/bmj.321.7262.676Walker-Bone K, Cooper C:

**Hard work never hurt anyone: or did it? A review of occupational associations with soft tissue musculoskeletal disorders of the neck and upper limb.***Ann Rheum Dis*2005,**64**(10):1391-6. 10.1136/ard.2003.020016Harrington JM,

*et al*.:**Surveillance case definitions for work related upper limb pain syndromes.***Occup Environ Med*1998,**55**(4):264-71. 10.1136/oem.55.4.264Larsson SE,

*et al*.:**Muscle changes in work-related chronic myalgia.***Acta Orthop Scand*1988,**59**(5):552-6.Larsson B, Libelius R, Ohlsson K:

**Trapezius muscle changes unrelated to static work load. Chemical and morphologic controlled studies of 22 women with and without neck pain.***Acta Orthop Scand*1992,**63**(2):203-6.Hagg G:

**Static workloads and occupational myalgia: a new explanation model.**In*Electromyographical Kinesiology*. Edited by: Anderson P, Hobart DJ, Danoff JV. Elsevier; 1991:441-444.Larsson SE,

*et al*.:**Chronic trapezius myalgia. Morphology and blood flow studied in 17 patients.***Acta Orthop Scand*1990,**61**(5):394-8.Larsson B,

*et al*.:**Mechanical performance and electromyography during repeated maximal isokinetic shoulder forward flexions in female cleaners with and without myalgia of the trapezius muscle and in healthy controls.***Eur J Appl Physiol*2000,**83**(4-5):257-67. 10.1007/s004210000292Dennett X, Fry HJ:

**Overuse syndrome: a muscle biopsy study.***Lancet*1988,**1**(8591):905-8. 10.1016/S0140-6736(88)91714-XGreening J,

*et al*.:**The use of ultrasound imaging to demonstrate reduced movement of the median nerve during wrist flexion in patients with non-specific arm pain.***J Hand Surg*2001,**26**(5):401-6. discussion 407-8.Greening J, Lynn B, Leary R:

**Sensory and autonomic function in the hands of patients with non-specific arm pain (NSAP) and asymptomatic office workers.***Pain*2003,**104**(1-2):275-81. 10.1016/S0304-3959(03)00010-1Greening J, Dilley A, Lynn B:

**In vivo study of nerve movement and mechanosensitivity of the median nerve in whiplash and non-specific arm pain patients.***Pain*2005,**115**(3):248-53. 10.1016/j.pain.2005.02.023Greening J:

**Workshop: clinical implications for clinicians treating patients with non-specific arm pain, whiplash and carpal tunnel syndrome.***Man Ther*2006,**11**(3):171-2. 10.1016/j.math.2006.03.001Larsson SE,

*et al*.:**Muscle changes in work-related chronic myalgia.***Acta Orthop Scand*1988,**59**(5):552-6.Larsson B, Libelius R, Ohlsson K:

**Trapezius muscle changes unrelated to static work load. Chemical and morphologic controlled studies of 22 women with and without neck pain.***Acta Orthop Scand*1992,**63**(2):203-6.Larsson SE,

*et al*.:**Chronic trapezius myalgia. Morphology and blood flow studied in 17 patients.***Acta Orthop Scand*1990,**61**(5):394-8.Greening J,

*et al*.:**Reduced movement of median nerve in carpal tunnel during wrist flexion in patients with non-specific arm pain.***Lancet*1999,**354**(9174):217-8. 10.1016/S0140-6736(99)02958-XStashuk DW:

**Quantitative Electromyography.**2002, 311-348.Brown WF, Bolton CF, Aminoff MJ, (Eds):

*Neuromuscular Function and Disease*. Philadelphia: W.B. Saunders; 2002.West M:

**Bayesian aggregation.***J Royal Stat Soc*1984,**147**(4):600-607.Clemen RT, Winkler RL:

**Combining probability distributions from experts in risk analysis.***Risk Analysis*1999,**19**(2):187-203.Rosqvist T:

**Bayesian aggregation of experts' judgements on failure intensity.***Rel Eng Sys Safety*2000,**70**(3):283-289. 10.1016/S0951-8320(00)00064-8Budescu DV, Yu H-T:

**To Bayes or not to Bayes? A comparison of two classes of models of information aggregation.***Decision Analysis*2006,**3**(3):145-162. 10.1287/deca.1060.0074Barutcuoglu Z, De Coro C:

**Hierarchical shape classification using Bayesian aggregation.***Shape Modeling and Applications*2006, 44-48.Lipscomb J, Parmigiani G, Hasselblad V:

**Combining expert judgement by hierarchical modeling: an application to physician staffing.***Manag Sci*1998,**44**(2):149-161. 10.1287/mnsc.44.2.149Kononenko I:

**Inductive and Bayesian Learning in Medical Diagnosis.***Applied Artificial Intelligence*1993,**7**(4):317-337. 10.1080/08839519308949993Pfeiffer G, Kunze K:

**Discriminant Classification of Motor Unit Potentials (MUPs) Successfully Separates Neurogenic and Myopathic Conditions.***Electroenceph Clin Neurophys*1995,**97**(5):191-207. 10.1016/0013-4694(95)00072-7Pfeiffer G:

**The diagnostic power of motor unit potential analysis: an objective Bayesian approach.***Muscle Nerve*1999,**22**(5):584-591. 10.1002/(SICI)1097-4598(199905)22:5<584::AID-MUS6>3.0.CO;2-0Calder K, Stashuk DW, McLean L:

**Motor Unit Potential Morphology Differences in Individuals with Non-Specific Arm Pain and Lateral Epicondylitis.***J NeuroEng and Rehab*2008,**5:**1-11. 10.1186/1743-0003-5-1Calder K, Stashuk DW, McLean L:

**Physiological Characteristics of Motor Units in the***brachioradialis***muscle across fatiguing low-level isometric contractions.***J Electromyogr Kinesiol*2008,**18**(1):2-15. 10.1016/j.jelekin.2006.08.012Stashuk DW, Paoli GM:

**Robust supervised classification of motor unit action potentials.***Med Biol Eng Comput*1998,**36:**75-82. 10.1007/BF02522861Stashuk DW:

**Decomposition and quantitative analysis of clinical electromyographic signals.***Med Eng & Phy*1999,**21**(6):389-404. 10.1016/S1350-4533(99)00064-8Stashuk DW:

**EMG signal decomposition: How can it be accomplished and used?***J Electromyogr Kinesiol*2001,**11**(3):151-173. 10.1016/S1050-6411(00)00050-XBrown WF:

*The Physiological and Technical Basis of Electromyography*. Butterworth; 1984.Hamilton-Wright A, Stashuk DW:

**Clinical characterization of electromyographic data using computational tools.***Symposium on Computational Intelligence In Biology, (CIBCB'06), Toronto*2006.Stashuk DW, Doherty TJ:

**Normal Motor Unit Action Potential.**2002, 311-348.Kohavi R:

**A study of cross-validation and bootstrap for accuracy estimation and model selection.**In*Proc. 14th Int. Joint Conference on Artificial Intelligence, (IJCAI-95)*. MontrÃ©al, QuÃ©bec, Morgan Kaufmann; 1995:1137-1143.Nadeau C, Bengio Y:

**Inference for the Generalization Error.***Machine Learning*2003,**52**(3):239-281. 10.1023/A:1024068626366Duda RO, Hart PE, Stork DG:

*Pattern Classification*. 2nd edition. Wiley; 2001.McNemar Q:

**Note on the Sampling Error of the Difference Between Correlated Proportions of Percentages.***Psychometrika*1947,**12**(2):153-157. 10.1007/BF02295996Durkalski VL, Palesch YY, Lipsitz SR, Rust PF:

**Analysis of Clustered Matched-Pair Data.***Statistics in Medicine*2003,**22**(15):2417-2428. 10.1002/sim.1438StÃ¥lberg E, Bischoff C, Falck B:

**Outliers, a way to detect abnormality in EMG.***Muscle & Nerve*1994,**17**(4):392-399. 10.1002/mus.880170406Podner S:

**Usefulness of an increase in size of motor unit potential sample.***Clinical Neurophysiology*2004,**115**(7):1683-1688. 10.1016/j.clinph.2004.02.016Podner S:

**Comparison of different outlier criteria in quantitative anal sphincter electromyography.***Clinical Neurophysiology*2005,**116**(8):1840-1845. 10.1016/j.clinph.2005.04.023

## Acknowledgements

Funding for this project was received from the Canadian Foundation for Innovation, the Ontario Innovation Trust and the Workplace Safety and Insurance Board (WSIB) of Ontario.

## Author information

### Authors and Affiliations

### Corresponding authors

## Additional information

### Competing interests

The authors declare that they have no competing interests.

### Authors' contributions

All authors consulted and collaborated throughout the study. LMcL conceived of the initial idea, while AH-W carried out the experimental procedure, developed all related Matlab^{Â©} programs and drafted the manuscript. KMC collected the data and performed initial statistical analyses. All authors participated in the study design, and read and approved the final manuscript.

## 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

Hamilton-Wright, A., McLean, L., Stashuk, D.W. *et al.* Bayesian aggregation versus majority vote in the characterization of non-specific arm pain based on quantitative needle electromyography.
*J NeuroEngineering Rehabil* **7**, 8 (2010). https://doi.org/10.1186/1743-0003-7-8

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/1743-0003-7-8