Technological Advances in Instrumental Assessment in RehabilitationView this Special Issue
Research Article | Open Access
M. Iosa, A. Cereatti, A. Merlo, I. Campanini, S. Paolucci, A. Cappozzo, "Assessment of Waveform Similarity in Clinical Gait Data: The Linear Fit Method", BioMed Research International, vol. 2014, Article ID 214156, 7 pages, 2014. https://doi.org/10.1155/2014/214156
Assessment of Waveform Similarity in Clinical Gait Data: The Linear Fit Method
The assessment of waveform similarity is a crucial issue in gait analysis for the comparison of kinematic or kinetic patterns with reference data. A typical scenario is in fact the comparison of a patient’s gait pattern with a relevant physiological pattern. This study aims to propose and validate a simple method for the assessment of waveform similarity in terms of shape, amplitude, and offset. The method relies on the interpretation of these three parameters, obtained through a linear fit applied to the two data sets under comparison plotted one against the other after time normalization. The validity of this linear fit method was tested in terms of appropriateness (comparing real gait data of 34 patients with cerebrovascular accident with those of 15 healthy subjects), reliability, sensitivity, and specificity (applying a cluster analysis on the real data). Results showed for this method good appropriateness, 94.1% of sensitivity, 93.3% of specificity, and good reliability. The LFM resulted in a simple method suitable for analysing the waveform similarity in clinical gait analysis.
Instrumented gait analysis (GA) allows for gathering quantitative information about joint kinematics and kinetics of the musculoskeletal system during gait. A critical issue in the field of human movement analysis refers to the data comparison and the assessment of the deviation of the gait pattern under analysis from reference data through a few meaningful indices . The need to assess the similarity between two curves of gait data is encountered in a large variety of different scenarios, for example when two datasets are obtained using different instrumentations [2–4], using different protocols [5–7], before and after treatment [8, 9], or especially for comparing pathological gait data related to a patient (or a group of patients) to physiological gait data related to healthy subjects [10–12].
In general, the comparison between pairs of kinematic or kinetic curves is performed by computing the Pearson correlation coefficient (), which allows for quantifying the strength of a linear relationship between the two curves (i.e., their shape similarity, independently from their amplitude or their mean difference) [2, 13], the root mean square error (RMSE) which provides a positive global index , or the coefficient of multiple correlation (CMC) which is helpful when the reliability of a group of curves is under analysis [14, 15].
Another simple approach consists in computing the difference between parameters assumed to be representative of the entire curve, such as the range of motion (ROM), or computing the mean difference between the mean values of the curve under analysis () in respect of the mean value of the reference curve (). Some indices were proposed to compare the ROM of the two curves in order to quantify the differences in terms of pattern amplitude, such as the ratio index  or the symmetry angle . Conversely, the mean difference () is used to assess a vertical shift (offset) between the curve under analysis and the curve used as reference .
More complex methods have also been suggested, including extended indices , Fourier analysis , principal component analysis , eigenvectors , fractal methods , neural networks , pattern recognition techniques , or ninth order polynomial fitting .
Another approach commonly adopted in gait analysis consists in calculating the differences between the curves in correspondence of specific gait events (e.g., at foot contact or at foot off). However, for each curve several points can be extracted and their selection could be arbitrary, and it implies a loss of information about the entire pattern and hence it can be critical.
Finally, it is possible to combine the above described approaches, such as in the study of Crenshaw and Richards , who suggested to compute five parameters three of which based on eigenvectors computation, and the other two being MD and RIROM.
There is hence a large amount of research in the field, but the multiplicity of proposed methods suggests that a simple approach to perform a global comparison between gait curves through a few parameters with specific physiological meaning is still lacking. The aim of this study is to present and validate a simple method based on linear fitting applied to two datasets plotted one versus the other (linear fit method, LFM). This method was preliminary suggested by our group  and then, despite not being validated yet, applied for comparing gait data obtained in different laboratories . Presented here is the validation of LFM, carried out in terms of appropriateness, sensitivity, specificity, and reliability.
2. Material and Methods
2.1. Analytical Description of the Linear Fit Method
Let be the kinematic (or kinetic) dataset under investigation that should be compared with , that is, the reference dataset (as shown in the left plot of Figure 1). As usual in GA, the datasets are time-normalized between two selected events, such as two consecutive foot-strikes of the same limb which define the gait cycle . Since and are normalized in respect of gait cycle, they result in two arrays of real numbers of the same length. It is hence possible to plot against , to define a set of points in a Cartesian coordinate system where values correspond to -values and to -values (Figure 1). The present method is based on applying a linear fit to this set of points. This fitting minimizes, in a least squares sense, the sum of the square vertical distances between the points and the fitting line (regression line, right plot of Figure 1): where represents the linear function which approximates values by means of a linear transformation of values of ; is the angular coefficient; and is the intercept of the fitting line. The goodness of the fit can be easily assessed by the coefficient of determination which coincides with, for the properties of linear fit, the square of the Pearson’s correlation coefficient .
The LFM relies on the interpretation of the values of , , and for assessing curve similarity between and .
The formulas for computing the above three parameters are with the length of datasets (corresponding to the 100% of gait cycle) and overline used for indicating the mean value of a dataset.
The meaning of LFM parameters is described below.(i) measures the mean variation of for every one-unit change in . It hence represents the amplitude scaling factor, that is, the factor for which should be multiplied to match except for a scalar addition.(ii) predicts this scalar addition (shift), that is, the value of when is equal to 0.(iii) measures the strength of the linear relationship between and , that is, the percentage of variance in that can be matched by the variance in .
It should be noted that if then the values of LFM parameters are , , . Further, the LFM has the advantage that, for its intrinsic linearity, the mean - and -values obtained from comparisons of different -data sets with their mean pattern are equal to the ideal values: and . This is the case when curves of healthy subjects are compared with a reference pattern obtained as their mean.
2.2. LFM Validation
To describe the application and the advantages of LFM in comparison with other parameters commonly used in GA, we first analyzed synthetic datasets generated from a real reference pattern (a physiological knee sagittal kinematics) in which mathematical transformations were applied in order to simulate specific gait pattern alterations. Synthetic data were used to allow for perfectly knowing the mathematical difference between and .
LFM was then validated using real data in terms of (a) appropriateness (does it provide different results for patients when compared to healthy subjects?), (b) sensitivity (does it detect a specific difference in the curves?), (c) specificity (is it able to detect as pathological only actually pathological patterns?), and (d) reliability (can the measures be repeated accurately?).
In particular, to test the capacity of LFM to detect a difference when it is present, we have applied it on five different synthetic arrays of data (, i from 1 to 4) obtained by altering the mean knee sagittal kinematics () obtained from 15 healthy subjects acquired by means of a stereophotogrammetric system during level walking. The mathematical reshape of these reference data allowed for examining the variation of LFM parameters when one (or more) specific feature of the curve was selectively altered in order to simulate a specific knee impairment (: hyperextended knee, : knee with reduced mobility, : stiff knee, : hyperflexed knee). For these curves, values of the three parameters obtained using LFM were compared with the values of three parameters commonly used in literature: RIROM, MD, and RMSE.
To assess the LFM appropriateness, the data relative to the sagittal kinematics of hip, knee and ankle of 15 healthy subjects were compared with those of 34 patients affected by cerebrovascular accident (CVA). The values of LFM parameters obtained for the two groups were hence compared by means of unpaired 2-tailed -tests. For this and all the other statistical tests applied in the present study the threshold for statistical significance was set at 0.05.
Relevant mean, standard deviation, and 95% confidence interval for each set of data were also computed.
LFM sensitivity and specificity were assessed performing a Wilks’ lambda discriminant analysis computed on the above described real data. This analysis was performed to assess the capacity of LFM to cluster the subjects into two groups: healthy group and patient group.
The reliability of LFM was evaluated by computing the intraclass correlation coefficient (ICC (2, 1)) for hip, knee, and ankle sagittal kinematics.
Gait datasets were acquired using a 9-camera motion capture system (Smart-D system, BTS Bioengineering, Milan, Italy) to reconstruct the 3D position of 21 retroreflective spherical markers located on the subjects skin according to the conventional method , during level walking in barefoot conditions at self-selected speed. Datasets were related to three trials per side for each one of fifteen healthy subjects and six trials of affected side for each one of the 34 patients with CVA.
3.1. Comparison of LFM Parameters to Other Parameters on Synthetic Data
Figure 2 shows four synthetic reproductions of knee impairment, and Table 2 reported the relevant mathematical equations applied to obtain these data, together with the values of computed parameters. The values obtained for RIROM, MD, and RMSE were misleading and less meaningful in respect of the values of LFM parameters. In detail, the analysis performed on the synthetic datasets and highlighted that when the offset between curves is evaluated using MD, its value is influenced by the amplitude differences (Table 1), whereas the LFM evaluated the shift independent of amplitude differences, by and , respectively. The RIROM and values were very similar for the analysed synthetic data, despite values were not dependent by the artefacts affecting the values of RIROM. The RMSE values ranged between 10° and 15° for three out of four investigated datasets (, , ), despite that the differences were due to an offset in , to a combination of offset and amplitude differences in or to shape dissimilarity in . In this last case, the mathematical transformation was not linear, but the value of remained high, and the waveform differences were better quantified by parameters of LFM than by RIROM, MD, and RMSE.
LFM has been applied to analyze the sagittal kinematics of healthy subjects (walking at 68 ± 10% of their stature/s) and of patients with CVA (walking at 42 ± 15%, ). Mean, standard deviation, and confidence interval of the sagittal hip, knee, and ankle kinematics of the healthy subjects group were reported in Table 2. For healthy subjects, the mean and resulted to be equal to ideal values 1 and 0, respectively, whereas the mean was just close to its ideal value for hip (0.99), knee (0.97), and ankle (0.89) joint (in mean 0.95). The statistical analysis reported in Table 2 showed that the values of the LFM parameters resulted to be statistically different between patients and healthy subjects. In detail, for patients resulted to be significantly lower at all the three joint levels, the movement amplitude resulted to be significantly reduced for all the three joints , and the hip resulted to be hyperflexed .
3.3. Sensitivity and Specificity
The correctness of classification in physiological versus pathological patterns obtained by LFM prediction was 79.4%, 76.5%, and 94.1%, respectively, for hip, knee, and ankle data (in mean 83.3%). It means that only 2 patients out of 34 (5.9%) were classified as without any impairment. For healthy subjects, among all the three joints, only one false positive was found: a knee pattern of one healthy subject was classified as pathological. Hence, the specificity resulted to be of 93.3% (true negative rate: 14/15) and sensitivity resulted to be of 94.1% (true positive rate: 32/34).
The reliability of parameters computed for healthy subjects and patients was assessed by means of the intraclass correlation coefficient computation. The mean ICC values for patients are shown in Table 3 (mean value: 0.91 ± 0.07). The reliability was lower for healthy subjects (mean value: 0.69 ± 0.21). A similar trend was observed for the walking speed; the value of ICC was higher in patients (0.91) than in healthy subjects (0.88).
The aim of our study was to present and validate a linear fit method for assessing the similarity between curves relative to gait datasets. This assessment is usually the basis of GA, both for clinical and research purposes.
The results obtained in this study on synthetic data showed that the values with conventionally used parameters, such as MD, RIROM, and RMSE, can be misleading. Conversely, and , two of the LFM parameters, can be used as representative of offset and amplitude difference, respectively, without the following problems affecting the values of MD and RIROM. For example MD, which is generally adopted to assess the presence of a vertical shift, can be potentially affected by changes in amplitude (as evident for and ). The problem of vertical shift is particularly important, for example, when tests were repeated and GA-markers need to be replaced (potentially introducing an offset): this shift is the most important factor in reducing the reliability of repeated measures and it should be properly assessed [27, 30]. On the other hand, the use of ROM (and hence RIROM and other related indices) can have some disadvantages: (1) it only compares the differences between the maximum and the minimum of the curves, independently from the data distribution; (2) the mean ROM of curves can be very different from the ROM of the relevant mean curve, and it can affect the assessment of amplitude similarity. The recovery of a functional ROM is an important outcome measure in rehabilitation. Differently from ROM, takes into account the amplitude of the gait pattern in respect of the physiological pattern along the entire gait cycle. The RMSE has the problem that its values were similar over the different conditions (such as synthetic data , , ) and hence its physiological meaning is difficult to be argued. More clear is the meaning of Pearson correlation coefficient (despite being improperly used in many studies as an indicator of agreement of two datasets) [31, 32]. However the same information obtained with can be obtained in LFM by the value, which provides a measure of the shape similarity of two curves with a clear mathematical meaning (the percentage of variance of the dataset under analysis explained by a linear transformation of the reference dataset) and a clear physiological meaning (the pattern similarity despite possible amplitude differences or presence of a shift). resulted in an index for summarising the waveform similarity, and it can potentially quantify the efficacy of a treatment in relationship to functional and structural recovery as indicated by ICF .
The LFM have some advantages clearly reported and that could be summarised as follows: (1) LFM takes into account all data point distributions (resulting in less dependence on single peak-values than ROM and other similar parameters); (2) LFM is simple to be applied; (3) this simplicity implies a clear meaning of its few (three) parameters; (4) its linearity implies that mean parameter values of and are equivalent to parameter values of the mean curve; (5) this linearity also allows for using powerful parametric statistics; (6) because , , and were computed at the same time, they independently assess curve differences in terms of amplitude, offset, and similarity, respectively.
We have validated the LFM on kinematic data, but this validation is clearly extensible to kinetic or even electromyographic data because they are all usually time normalized and reported in terms of gait cycle. Our validation showed LFM is appropriate to discriminate between patients and healthy subjects, showing a good sensitivity in identifying pathological gaits and a good specificity (only one false classification out of 15 in the pathological cluster definition). The reliability of LFM parameters was found high, especially for patients and even for the ankle which was characterized by low values. The lower ICC found for healthy subjects is not surprising. In fact, in healthy populations the intersubjects variability is similar to intrasubject variability, resulting in a low ratio between intra- and intersubject variability, as it was already highlighted .
In this study, we compared datasets obtained using a stereophotogrammetric system, according to the conventional gait analysis. In the last decade, alternative approaches have been developed based on the use of wearable sensors (including accelerometers, gyroscopes, and magnetic units) [2, 34–37]. In this study, we did not test datasets obtained using these devices; however, it is conceivably that LFM could be useful for comparing the results of these new approaches with those obtained with the conventional gold standard (i.e., the stereophotogrammetric system).
The proposed LFM have some limitations which should be considered and which can bound its fields of application: (1) the values of and lose meaning when the linear relationship between and is poor (low value of ); (2) there is the need for identifying one of the two dataset as the reference one (); (3) a bias can be introduced by the presence of a phase shift. First, LFM relies on the hypothesis that two gait patterns related to a specific joint are usually characterized by a similar waveform, given the intrinsic biomechanical constraints of the musculoskeletal system. In this respect, it is necessary to define when the hypothesis of linear relationship decays. Despite being high even for nonlinear transformations, such as in synthetic data or for hip and knee joints in real data, it should be taken into account that for (i.e., less than 50% of variance matched by variance, corresponding to a ) the relationship between and can be only partially described by means of a linear transformation and hence the values of and should be carefully handled. Second, the results of LFM depend on which dataset, between and , is chosen as reference. This problem is common also to other methods. For LFM, the optimization of the fitting is determined by minimizing vertical distances between points obtained from plotting versus and fitting a line (see Figure 1). This characteristic may represent a potential limitation of the method, although the existence of a clearly defined is a common circumstance in most clinical applications (e.g., in comparing the pathological gait patterns to normative data). However, when the reference data set chosen is questionable, such as symmetry assessment in healthy subjects , LFM could still be used, but for applying a fit minimizing the orthogonal distances between points and fitting a line. Finally, we would highlight that when a phase shift between and is present (i.e., a shift along the horizontal gait cycle axis), this results in a reduction of shape similarity. Since gait curves are usually time normalized and expressed as a percent of the gait cycle this aspect should not be critical in most of the cases, but if a phase shift is present we suggest to previously perform a cross-correlation for quantifying the horizontal shift and then apply the LFM to the realigned curves.
In conclusion, the strengths and attractiveness of the proposed linear fit method are its easy mathematical implementation, the use of a few parameters, their straightforward physical interpretation, and their evident clinical meaning.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
- S. R. Simon, “Quantification of human motion: gait analysis-benefits and limitations to its application to clinical problems,” Journal of Biomechanics, vol. 37, no. 12, pp. 1869–1880, 2004.
- P. Picerno, A. Cereatti, and A. Cappozzo, “Joint kinematics estimate using wearable inertial and magnetic sensing modules,” Gait and Posture, vol. 28, no. 4, pp. 588–595, 2008.
- K. J. O'Donovan, R. Kamnik, D. T. O'Keeffe, and G. M. Lyons, “An inertial and magnetic sensor based technique for joint angle measurement,” Journal of Biomechanics, vol. 40, no. 12, pp. 2604–2611, 2007.
- G. S. Faber, I. Kingma, S. M. Bruijn, and J. H. van Dieën, “Optimal inertial sensor location for ambulatory measurement of trunk inclination,” Journal of Biomechanics, vol. 42, no. 14, pp. 2406–2409, 2009.
- T. F. Besier, D. L. Sturnieks, J. A. Alderson, and D. G. Lloyd, “Repeatability of gait data using a functional hip joint centre and a mean helical knee axis,” Journal of Biomechanics, vol. 36, no. 8, pp. 1159–1168, 2003.
- A. Cereatti, U. D. Croce, and A. Cappozzo, “Reconstruction of skeletal movement using skin markers: comparative assessment of bone pose estimators,” Journal of NeuroEngineering and Rehabilitation, vol. 3, article 7, 2006.
- T. C. Nguyen and R. Baker, “Two methods of calculating thorax kinematics in children with myelomeningocele,” Clinical Biomechanics, vol. 19, no. 10, pp. 1060–1065, 2004.
- Y. Zhang, R. Roxburgh, L. Huang, J. Parsons, and T. C. Davies, “The effect of hydrotherapy treatment on gait characteristics of hereditary spastic paraparesis patients,” Gait and Posture, vol. 39, no. 4, pp. 1074–1079, 2014.
- M. Iosa, D. Morelli, M. V. Nanni et al., “Functional taping: a promising technique for children with cerebral palsy,” Developmental Medicine and Child Neurology, vol. 52, no. 6, pp. 587–589, 2010.
- M. Iosa, C. Mazzà, R. Frusciante et al., “Mobility assessment of patients with facioscapulohumeral dystrophy,” Clinical Biomechanics, vol. 22, no. 10, pp. 1074–1082, 2007.
- E. M. Gutierrez, Å. Bartonek, Y. Haglund-Åkerlind, and H. Saraste, “Kinetics of compensatory gait in persons with myelomeningocele,” Gait and Posture, vol. 21, no. 1, pp. 12–23, 2005.
- I. Jonkers, S. Delp, and C. Patten, “Capacity to increase walking speed is limited by impaired hip and ankle power generation in lower functioning persons post-stroke,” Gait and Posture, vol. 29, no. 1, pp. 129–137, 2009.
- R. F. M. Kleissen, M. C. A. Litjens, C. T. M. Baten, J. Harlaar, A. L. Hof, and G. Zilvold, “Consistency of surface EMG patterns obtained during gait from three laboratories using standardised measurement technique,” Gait and Posture, vol. 6, no. 3, pp. 200–209, 1997.
- M. P. Kadaba, H. K. Ramakrishnan, M. E. Wootten, J. Gainey, G. Gorton, and G. V. B. Cochran, “Repeatability of kinematic, kinetic, and electromyographic data in normal adult gait,” Journal of Orthopaedic Research, vol. 7, no. 6, pp. 849–860, 1989.
- F. Pecoraro, C. Mazzà, M. Zok, and A. Cappozzo, “Assessment of level-walking aperiodicity,” Journal of NeuroEngineering and Rehabilitation, vol. 3, article 28, 2006.
- R. Seliktar and J. Mizrahi, “Some gait characteristics of below-knee amputees and their reflection on the ground reaction forces,” Engineering in Medicine, vol. 15, no. 1, pp. 27–34, 1986.
- R. A. Zifchock, I. Davis, J. Higginson, and T. Royer, “The symmetry angle: a novel, robust method of quantifying asymmetry,” Gait & Posture, vol. 27, no. 4, pp. 622–627, 2008.
- V. L. Chester, M. Tingley, and E. N. Biden, “An extended index to quantify normality of gait in children,” Gait and Posture, vol. 25, no. 4, pp. 549–554, 2007.
- A. Delval, J. Salleron, J. Bourriez et al., “Kinematic angular parameters in PD: reliability of joint angle curves and comparison with healthy subjects,” Gait & Posture, vol. 28, no. 3, pp. 495–501, 2008.
- G. Cappellini, Y. P. Ivanenko, R. E. Poppele, and F. Lacquaniti, “Motor patterns in human walking and running,” Journal of Neurophysiology, vol. 95, no. 6, pp. 3426–3437, 2006.
- S. J. Crenshaw and J. G. Richards, “A method for analyzing joint symmetry and normalcy, with an application to analyzing gait,” Gait & Posture, vol. 24, no. 4, pp. 515–521, 2006.
- T. Chau, “A review of analytical techniques for gait data. Part 1: fuzzy, statistical and fractal methods,” Gait and Posture, vol. 13, no. 1, pp. 49–66, 2001.
- T. Chau, “A review of analytical techniques for gait data. Part 2: neural network and wavelet methods,” Gait and Posture, vol. 13, no. 2, pp. 102–120, 2001.
- M. Romei, M. Galli, F. Motta, M. Schwartz, and M. Crivellini, “Use of the normalcy index for the evaluation of gait pathology,” Gait & Posture, vol. 19, no. 1, pp. 85–90, 2004.
- S. Giaquinto, M. Galli, and G. Nolfe, “A polynomial function of gait performance,” Functional Neurology, vol. 22, no. 1, pp. 43–46, 2007.
- M. Iosa, A. Cereatti, and A. Cappozzo, “A linear method for curve comparison in gait data,” Gait & Posture, vol. 30, supplement 1, pp. S53–S54, 2009.
- M. G. Benedetti, A. Merlo, and A. Leardini, “Inter-laboratory consistency of gait analysis measurements,” Gait and Posture, vol. 38, no. 4, pp. 934–939, 2013.
- J. Perry, Gait Analysis: Normal and Pathological Function, Slack Incorporated, Thorofare, NJ, USA, 1992.
- R. B. Davis III, S. Õunpuu, D. Tyburski, and J. R. Gage, “A gait analysis data collection and reduction technique,” Human Movement Science, vol. 10, no. 5, pp. 575–587, 1991.
- M. H. Schwartz, J. P. Trost, and R. A. Wervey, “Measurement and management of errors in quantitative gait data,” Gait and Posture, vol. 20, no. 2, pp. 196–203, 2004.
- M. Iosa, G. Morone, and S. Paolucci, “Letter by Iosa et al regarding article, ‘reliability and validity of bilateral ankle accelerometer algorithms for activity recognition and walking speed after stroke’,” Stroke, vol. 42, article e576, no. 11, 2011.
- G. Morone, S. Paolucci, and M. Iosa, “Relations or agreement between 6 minute walking distance and 10 meter walking speed?” Archives of Physical Medicine and Rehabilitation, vol. 93, no. 10, p. 1883, 2012.
- World Health Organization, International Classification of Functioning, Disability and Health, 2001.
- T. Liu, Y. Inoue, and K. Shibata, “Development of a wearable sensor system for quantitative gait analysis,” Measurement, vol. 42, no. 7, pp. 978–988, 2009.
- T. Liu, Y. Inoue, and K. Shibata, “A wearable ground reaction force sensor system and its application to the measuremen t of extrinsic gait variability,” Sensors, vol. 10, no. 11, pp. 10240–10255, 2010.
- H. Martin Schepers, E. H. F. van Asseldonk, C. T. M. Baten, and P. H. Veltink, “Ambulatory estimation of foot placement during walking using inertial sensors,” Journal of Biomechanics, vol. 43, no. 16, pp. 3138–3143, 2010.
- M. Iosa, G. Morone, A. Fusco et al., “Seven capital devices for the future of stroke rehabilitation,” Stroke Research and Treatment, vol. 2012, Article ID 187965, 9 pages, 2012.
Copyright © 2014 M. Iosa et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.