Establishing reference criteria for diagnosing normal gait patterns similarity using dynamic time warping

Article information

J Exerc Rehabil Vol. 21, No. 3, 172-179, June, 2025
Publication date (electronic) : 2025 June 25
doi : https://doi.org/10.12965/jer.2550174.087
1Department of Physical Education, Graduate School of Education, Korea University, Seoul, Korea
2Department of Physical Education, Korea University, Seoul, Korea
*Corresponding author: Dae-Kyoo Kim, Department of Physical Education, Korea University, 145 Anam-ro, Seongbuk-gu, Seoul 02841, Korea, Email: daekyookim@korea.ac.kr
Received 2025 March 26; Revised 2025 April 11; Accepted 2025 April 14.

Abstract

The purpose of this study was to establish reference criteria for evaluating gait pattern similarity during normal gait in research using dynamic time warping (DTW). For this purpose, the DTW algorithm was implemented using the R programming language, and DTW analyses were conducted on normal gait data collected from the ankle, knee, and hip joints via 3-dimensional motion analysis in a sample of 55 healthy participants. The final optimal warping path identified by DTW was defined as the path having the smallest cumulative perpendicular distance from the diagonal of the cost matrix. DTW analyses were categorized into three groups: (1) same lower-limb within-subject, comparing identical limbs within each participant; (2) same lower-limb between-subjects, comparing identical limbs between different participants; and (3) opposite lower-limb within-subject, comparing the left and right limbs within each participant. A generalized linear model was employed to analyze the effects of group and gender. Reference criteria for gait pattern similarity are provided as estimated marginal means and 95% confidence intervals according to group and gender for each lower-limb joint during normal gait. Given statistically significant differences among groups, the results underscore the necessity of evaluating not only whether patient gait patterns align within the normal range of healthy individuals but also the similarity between the patient’s own limbs for precise rehabilitation assessment.

INTRODUCTION

Among various methods utilized to assess a patient’s level of normal gait or rehabilitation progress, gait pattern similarity assessment biomechanically compares human movements by leveraging the periodic characteristics inherent in gait. The diagnosis of normal gait through exercise rehabilitation extends beyond merely evaluating the physiological recovery of muscles, tendons, and ligaments; it encompasses the restoration of functional mobility. This broader approach is essential because stable and balanced bipedal locomotion is necessary to achieve gait without risking injury. Consequently, gait pattern similarity methods have been extensively employed to evaluate normal gait functionality.

Traditional methods for evaluating gait pattern similarity have included correlation analysis, autocorrelation analysis, and symmetry index (SI). However, these methods have inherent limitations because gait patterns are fundamentally nonlinear, and variability exists both within-subject and between-subjects. Recently, to overcome these limitations, Researchers have applied the dynamic time warping (DTW) algorithm.

Initially introduced by Velichko and Zagoruyko (1970) as a method for verifying similarities in speech signals, DTW is a robust algorithm capable of assessing similarities between nonlinear patterns regardless of differences in sequence lengths (Efrat et al., 2007). DTW has been utilized across various research fields, including signature verification in online environments, temporal similarity analyses of COVID-19 infection and mortality rates, and analyses of biological signals such as electromyography and electrocardiograms (Huang et al., 2010; Li et al., 2013).

Research also supports applying DTW in gait pattern similarity studies. Barth et al. (2015) employed multi-dimensional subsequence DTW on accelerometer and gyroscope data to analyze differences between normal individuals and patients. Gaspar et al. (2017) compared DTW with other statistical methods such as Pearson correlation coefficients, cross-correlation, and root mean square error for improved validation of time-series data in musculoskeletal simulation studies, demonstrating DTW’s sensitivity and applicability in assessing direct and indirect quantitative validity. DTW was used to analyze continuous gait pattern similarities, thereby assessing gait stability. Lee (2019) reported that applying the DTW algorithm in gait similarity studies provided more robust results than the SI, even when evaluating normal gait, and emphasized its practical utility in gait analysis.

Although previous studies highlight DTW’s advantages and applicability in gait pattern similarity research, they have not yet established reference criteria for assessing gait pattern similarity. DTW evaluates sequence similarity by calculating a cost sum derived from the cumulative distance along the optimal warping path (OWP) between two sequences. Establishing criteria for determining similarity based on the OWP is critical for practical applications such as clinical diagnosis and research. However, to date, no standardized theoretical or experimental criteria have been proposed. This lack of criteria presents challenges in achieving objectivity and validity in determining normal gait patterns or evaluating similarities between two gait sequences.

Determining the presence of normal gait is fundamental and essential in gait research. It is crucial not only for evaluating subjects’ gait during experiments or assessing rehabilitation levels after treatment but also for prescribing and developing exercise programs for rehabilitation therapy. As previously mentioned, gait patterns exhibit variability between individuals, within individuals, and even between left and right foot steps. Therefore, establishing reference criteria for determining OWP similarity in normal gait is essential for conducting more objective and valid research. Specifically, deciding the acceptable threshold for normal gait is central to setting precise criteria. Consequently, this study aims to propose similarity evaluation criteria for normal gait necessary for gait pattern similarity research utilizing DTW.

MATERIALS AND METHODS

Implementation of the DTW algorithm

The DTW algorithm was implemented using the R programming language, and a symmetric step-pattern was employed. Among multiple generated warping paths, DTW identifies the OWP as the one having the smallest cumulative local cost. However, previous research indicates that traditional DTW often produces multiple OWPs with identical minimal local costs sum, thus limiting the use of the cumulative local cost sum alone for determining the optimal solution (Lee et al., 2024). Therefore, in this study, when multiple OWPs with equal minimal local costs sum were identified, the OWP exhibiting the smallest sum of perpendicular distances between the OWP and the diagonal of the cost matrix (PDWP) was selected as the final OWP. The rationale for utilizing the PDWP is that when two sequences are identical, the OWP aligns exactly along the diagonal of the cost matrix. The calculated PDWPs were normalized by dividing them by the sum of the lengths of the two sequences (N) for mutual comparison.

The reliability and validity of the implemented DTW algorithm were verified through three different approaches. First, the consistency of results was confirmed by direct comparison between outcomes obtained using the traditional DTW method and those calculated using the DTW algorithm implemented in R, hereafter referred to as gait-specific DTW. Second, the results were compared with those obtained using the established dtw package in R (Giorgino, 2009), employing sine signal data (i.e., sine vs. sine, sine vs. sine of half amplitude, sine vs. sine of 75% period) (Fig. 1A). Third, consistency of results was further confirmed by applying the implemented DTW algorithm to real gait data collected from a three-dimensional motion capture experiment, and comparing these results with those from the existing dtw package and gait-specific DTW (Fig. 1B).

Fig. 1

Comparison between gDTW and DTW results using sine signals and gait data. (A) Comparison of gDTW and DTW using sine signals. (B) Comparison of gDTW and DTW using gait data. gDTW, gait-specific dynamic time warping implemented in R; DTW, dynamic time warping implemented using the R package dtw.

Participants

Anthropometric data of the participants are summarized in Table 1. The number of participants for the three-dimensional motion analysis experiment was calculated using G*Power software based on a two-way analysis of variance with the following parameters: effect size (η2)=0.16, significance level (α)=0.05, statistical power=0.8, numerator degrees of freedom (df)=2, and number of groups=6. Although the calculated sample size was 54 participants, considering potential dropout during the experimental period, the final number was determined as 55 participants (male=27, female=28). However, since the actual data used for analysis in this study was based on the number of DTW analyses rather than the number of participants, the effective sample size is presented in Table 2. Participants were healthy adults in their 20s who had no history of musculoskeletal injuries or gait-related diseases within the past 3 months. Before beginning the experiment, all participants received explanations about the purpose and procedures involved, and voluntarily provided informed consent (KUIRB-2021-0250-03).

Anthropometric data of participants

Number of DTW analysis by groups

Experiment of 3-dimensional motion analysis

Three-dimensional motion analysis experiment was conducted to acquire normal gait data using a motion capture system (Motion Analysis Corp.). Ten infrared cameras were employed at a sampling frequency of 120 frames per second and a shutter speed of 1/1,000 sec. Each participant had 40 reflective markers attached as shown in Fig. 2. and performed 5 min of walking practice at a self-selected walking speed before data collection to alleviate possible tension associated with the experimental environment and to ensure natural gait patterns.

Fig. 2

Markerset attached to the participants. R, right; L, left; V, virtual; ASIS, anterior superior iliac spine; JC, joint center.

During the main experiment, participants walked at their preferred walking speed along a predefined 10-meter walkway in the laboratory. Three trials of normal gait were captured for each participant, and two strides were extracted from each trial for subsequent analysis. Marker trajectory data were filtered using a 2nd-order zero-lag Butterworth low-pass filter with a cutoff frequency of 6 Hz. Spatial-temporal and kinematic variables for the hip, knee, and ankle joints were calculated from the acquired normal gait data collected through the three-dimensional motion analysis.

Analysis methods

The normal gait dataset used for DTW analysis comprised 1,980 sequences representing the angular data from three lower-limb joints (hip, knee, and ankle). These sequences were derived from 55 subjects×3 trials×2 strides per trial×2 sides (left and right)× 3 joints.

The DTW analyses were conducted according to three groups. First, the same lower-limb within-subject (SLWS) group included comparisons among the six stride sequences obtained from each participant. Thus, a total of 4,950 DTW analyses were performed (subjects [55]×joints [3]×feet [2]×stride pairs [15]=4,950). Second, the same lower-limb between-subjects (SLBS) group included comparisons of the six stride sequences from each participant against those from all other participants, resulting in 157,464 DTW analyses. Third, the opposite lower-limb within-subject (OLWS) group performed DTW analyses stride sequences between the left and right lower-limb within each subject, totaling 990 DTW analyses (subjects [55]×joints [3]×stride pairs [6]=990).

OWPs obtained from the DTW analyses were normalized as previously described and subsequently used for statistical analysis. Given that the dependent variable, PDWP, did not meet the assumptions of normality due to inconsistent variations in gait patterns across subjects, and considering that homogeneity of variances across ankle, knee, and hip joints could not be assumed, a generalized linear model was employed. Since the overall distribution of PDWP was positively skewed, it was assumed to follow a gamma distribution. Different link functions (e.g., log, identity) were initially tested, but the Akaike information criterion and deviance values were identical across these functions. Thus, for ease of interpretation, the identity link function was ultimately selected. The identical values of Akaike information criterion and deviance indicate that the independent variables—group and gender —are categorical, and that the overall data structure satisfies linearity assumptions. Post hoc analyses for interaction effects were conducted using the Bonferroni correction.

RESULTS

Descriptive statistics and 95% confidence intervals by group

Descriptive statistics for the PDWP values normalized by the sum of the lengths of two sequences (N), which is the conventional normalization method for OWPs calculated by DTW, are presented in Table 3. The within-subject group comparing the same lower limb (SLWS) showed lower PDWP values compared to the between-subjects group (SLBS). This indicates that within-subject variation in gait patterns is smaller than variation between-subjects. The within-subject opposite lower-limb (OLWS) group, which compared stride sequences between the left and right lower limbs within each subject, showed higher PDWP values than the SLWS group, but lower than the SLBS group. Thus, the rank order of groups according to gait pattern similarity (highest to lowest similarity) was SLWS>OLWS>SLBS.

Descriptive statistics and 95% confidence intervals (CIs) of PDWP

Difference analysis by group and gender

A generalized linear model was employed to investigate differences in PDWP values according to group and gender. There were significant interaction effects between group and gender for the ankle and knee joints (ankle: estimate=−0.39, P<0.001; knee: estimate=−0.33, P<0.00) whereas for the hip joint, no interaction was observed, although significant main effects of group and gender were found (Table 4). Post hoc analyses (Table 5, Figs. 35) showed no significant gender differences for the ankle joint within the OLWS and SLWS groups; however, all other pairwise comparisons revealed significant differences. For the knee joint, no significant gender differences were found within the OLWS group, and females in the SLWS group did not differ significantly from males or females in the OLWS group. All other comparisons showed significant differences (Table 5). Regarding the hip joint, where significant main effects were identified, all pairwise comparisons between groups were statistically significant.

Results of the generalized linear model for the joints

Post hoc test for the interaction effect

Fig. 3

Post hoc for ankle joint. Circles in the figure indicate comparisons of all possible pairs. PDWP, perpendicular distances between the optimal warping path and the diagonal of the cost matrix; CI, confidence intervals; SLWS, same lower-limb within-subject group; SLBS, same lower-limb between-subjects group; OLWS, opposite lower-limb within-subject group. ***P<0.001.

Fig. 4

Post hoc for knee joint. Circles in the figure indicate comparisons of all possible pairs. PDWP, perpendicular distances between the optimal warping path and the diagonal of the cost matrix; CI, confidence intervals; SLWS, same lower-limb within-subject group; SLBS, same lower-limb between-subjects group; OLWS, opposite lower-limb within-subject group. ***P<0.001.

Fig. 5

Post hoc for hip joint. Squares in the figure represent groups. PDWP, perpendicular distances between the optimal warping path and the diagonal of the cost matrix; CI, confidence intervals; SLWS, same lower-limb within-subject group; SLBS, same lower-limb between-subjects group; OLWS, opposite lower-limb within-subject group. ***P<0.001.

Reference criteria of normal gait by joint

Estimated marginal means and corresponding 95% confidence intervals (CIs) proposed as reference criteria for evaluating normal gait pattern similarity by lower-limb joint are presented in Table 6.

Estimated marginal means with 95% confidence intervals (CIs)

DISCUSSION

This study aimed to establish reference criteria for evaluating gait pattern similarity in normal gait using DTW, presenting criteria values as estimated marginal means and 95% CI according to group and gender, as shown in Table 6.

Correlation analysis, previously utilized for evaluating gait pattern similarity, is based on linearity and thus has limitations when applied to gait data, which inherently exhibits nonlinear patterns. The SI, another traditional approach, classifies gait patterns as similar when deviations between two sequences fall within 10% of the mean value (Herzog et al., 1989; Perttunen et al., 2004; Robinson et al., 1987). However, SI is limited in effectively capturing variations in gait patterns. Furthermore, both correlation analysis and SI require the compared sequences to have equal lengths. These traditional methods are therefore not compatible with DTW-based analyses. In contrast, DTW is advantageous as it is robust to variations in sequence lengths and effectively handles nonlinear data, enabling its application to gait data collected under various experimental conditions. Despite these advantages, previous DTW-based gait pattern similarity studies have primarily relied on the relative comparison of cost sum values to determine normal gait or gait pattern similarity, as there are currently no established reference criteria (Jeong and Baek, 2021; Li et al., 2019). Such approaches inherently depend on researchers’ subjective judgments regarding acceptable differences in cost sum values, thereby limiting the objectivity, reliability, and validity of the studies. In this context, the results of the present study provide objectively derived variation ranges (95% CI) of gait patterns both within and between-subjects during normal gait, which can serve as valuable reference criteria in future gait research to improve objectivity, reliability, and validity.

The results of this study demonstrated significant differences between groups, with the between-subjects group (SLBS) showing higher PDWP values than the within-subject groups (SLWS and OLWS). These findings suggest that even if a rehabilitation patient’s gait pattern falls within the normal gait range determined from between-subject variability, it may be insufficient to conclude complete recovery of gait function. This is because safe and stable gait requires symmetry and balance between the right and left lower limbs. Therefore, it is essential to additionally evaluate the similarity of the patient’s gait patterns between their own lower limbs. Specifically, rehabilitation success can be effectively assessed through a two-step approach: first, confirming whether the patient’s gait pattern falls within the normal gait range (95% CI of the SLBS group), and second, evaluating the similarity of gait patterns within the patient’s own limbs (95% CI of SLWS and OLWS groups).

The criteria proposed in this study represent a minimal reference standard rather than an absolute threshold. Thus, exceeding the proposed reference criteria values indicates a potential deviation from normal gait but does not necessarily confirm abnormality. Although this study attempted to fully capture variations in gait patterns through exhaustive DTW analyses of all possible combinations, it is important to note that the participants were restricted to individuals in their 20s. DTW can accommodate differences in sequence durations, making these results potentially applicable to other age groups, such as elderly individuals with slower gait speeds. However, caution is warranted, as the current findings do not reflect the diverse gait characteristics associated with other age ranges.

Notes

CONFLICT OF INTEREST

No potential conflict of interest relevant to this article was reported.

ACKNOWLEDGMENTS

This work was supported by the Ministry of Education of the Republic of Korea and the National Research Foundation of Korea (NRF-2021S1A5A8063345).

References

Barth, J., Oberndorfer, C., Pasluosta, C., Schülein, S., Gassner, H., Reinfelder, S., Kugler, P., Schuldhaus, D., Winkler, J., Klucken, J., & Eskofier, B.M. Stride segmentation during free walk movements using multi-dimensional subsequence dynamic time warping on inertial sensor data. Sensors (Basel), (2015). 15, 6419–6440.
Efrat, A., Fan, Q., & Venkatasubramanian, S. Curve matching, time warping, and light fields: new algorithms for computing similarity between curves. J Math Imaging Vis, (2007). 27, 203–216.
Gaspar, M., Welke, B., Seehaus, F., Hurschler, C., & Schwarze, M. Dynamic time warping compared to established methods for validation of musculoskeletal models. J Biome, (2017). 55, 156–161.
Giorgino, T. Computing and visualizing dynamic time warping alignments in R: the dtw package. J Statis Soft, (2009). 31, 1–24.
Herzog, W., Nigg, B.M., Read, L.J., & Olsson, E. Asymmetries in ground reaction force patterns in normal human gait. Med Sci Sports Exerc, (1989). 21, 110–114.
Huang, G., Zhang, D., Zheng, X., & Zhu, X. An EMG-based handwriting recognition through dynamic time warping. Annu Int Conf IEEE Eng Med Biol Soc, (2010). 2010, 4902–4905.
Jeong, Y.K., & Baek, K.R. Asymmetric gait analysis using a dtw algorithm with combined gyroscope and pressure sensor. Sensors (Basel), (2021). 21, 3750.
Lee, H.S. Application of dynamic time warping algorithm for pattern similarity of gait. J Exerc Rehabil, (2019). 15, 526–530.
Lee, H.S., Lee, J.H., & Kim, K.R. A method for selecting the optimal warping path of dynamic time warping in gait analysis. J Exerc Rehabil, (2024). 20, 42–48.
Li, C., Ma, Z., Yao, L., & Zhang, D. Improvements on EMG-based handwriting recognition with DTW algorithm. Annu Int Conf IEEE Eng Med Biol Soc, (2013). 2013, 2144–2147.
Li, M., Tian, S., Sun, L., & Chen, X. Gait analysis for post-stroke hemiparetic patient by multi-features fusion method. Sensors (Basel), (2019). 19, 1737.
Perttunen, J.R., Anttila, E., Sodergard, J., Merikanto, J., & Komi, P.V. Gait asymmetry in patients with limb length discrepancy. Scand J Med Sci Sports, (2004). 14, 49–56.
Robinson, R., Herzog, W., & Nigg, B.M. Use of force platform variables to quantify the effects of chiropractic manipulation on gait symmetry. J Manipulative Physiol Ther, (1987). 10, 172–176.
Velichko, V.M., & Zagoruyko, N.G. Automatic recognition of 200 words. Int J Man Mach Stud, (1970). 2, 223–234.

Article information Continued

Fig. 1

Comparison between gDTW and DTW results using sine signals and gait data. (A) Comparison of gDTW and DTW using sine signals. (B) Comparison of gDTW and DTW using gait data. gDTW, gait-specific dynamic time warping implemented in R; DTW, dynamic time warping implemented using the R package dtw.

Fig. 2

Markerset attached to the participants. R, right; L, left; V, virtual; ASIS, anterior superior iliac spine; JC, joint center.

Fig. 3

Post hoc for ankle joint. Circles in the figure indicate comparisons of all possible pairs. PDWP, perpendicular distances between the optimal warping path and the diagonal of the cost matrix; CI, confidence intervals; SLWS, same lower-limb within-subject group; SLBS, same lower-limb between-subjects group; OLWS, opposite lower-limb within-subject group. ***P<0.001.

Fig. 4

Post hoc for knee joint. Circles in the figure indicate comparisons of all possible pairs. PDWP, perpendicular distances between the optimal warping path and the diagonal of the cost matrix; CI, confidence intervals; SLWS, same lower-limb within-subject group; SLBS, same lower-limb between-subjects group; OLWS, opposite lower-limb within-subject group. ***P<0.001.

Fig. 5

Post hoc for hip joint. Squares in the figure represent groups. PDWP, perpendicular distances between the optimal warping path and the diagonal of the cost matrix; CI, confidence intervals; SLWS, same lower-limb within-subject group; SLBS, same lower-limb between-subjects group; OLWS, opposite lower-limb within-subject group. ***P<0.001.

Table 1

Anthropometric data of participants

Variable Male (n=27) Female (n=28) Total (n=55)
Age (yr) 26.0±2.2 22.7±2.3 24.3±2.8
Weight (kg) 74.5±10.4 57.0±7.0 65.6±12.4
Height (cm) 175.5±6.6 164.0±6.2 169.6±8.6

Values are presented as mean±standard deviation.

Table 2

Number of DTW analysis by groups

Group Gender Joint Compare No. of DTWs
SLWS Female Ankle Left leg vs. left leg & right leg vs. right leg 840
Hip Left leg vs. left leg & right leg vs. right leg 840
Knee Left leg vs. left leg & right leg vs. right leg 840
Male Ankle Left leg vs. left leg & right leg vs. right leg 810
Hip Left leg vs. left leg & right leg vs. right leg 810
Knee Left leg vs. left leg & right leg vs. right leg 810

SLBS Female Ankle Left leg vs. left leg & right leg vs. right leg 27,216
Hip Left leg vs. left leg & right leg vs. right leg 27,216
Knee Left leg vs. left leg & right leg vs. right leg 27,216
Male Ankle Left leg vs. left leg & right leg vs. right leg 25,272
Hip Left leg vs. left leg & right leg vs. right leg 25,272
Knee Left leg vs. left leg & right leg vs. right leg 25,272

OLWS Female Ankle Left leg vs. right leg 168
Hip Left leg vs. right leg 168
Knee Left leg vs. right leg 168
Male Ankle Left leg vs. right leg 162
Hip Left leg vs. right leg 162
Knee Left leg vs. right leg 162

Total 163,404

DTW, dynamic time warping; SLWS, same lower-limb within-subject group; SLBS, same lower-limb between-subjects group; OLWS, opposite lower-limb within-subject group.

Table 3

Descriptive statistics and 95% confidence intervals (CIs) of PDWP

Joint Group Gender No. Mean±SD 95% CI
Ankle SLWS Female 840 1.13±0.54 1.10–1.17
Male 810 1.17±0.77 1.12–1.22
SLBS Female 27,216 3.02±1.35 3.00–3.04
Male 25,272 2.67±1.13 2.65–2.68
OLWS Female 168 2.04±0.94 1.89–2.18
Male 162 2.06±1.12 1.89–2.24

Knee SLWS Female 840 1.15±1.15 1.07–1.23
Male 810 0.92±0.51 0.89–0.96
SLBS Female 27,216 3.23±3.22 3.19–3.27
Male 25,272 2.67±2.08 2.64–2.69
OLWS Female 168 1.46±1.12 1.28–1.63
Male 162 1.35±0.69 1.24–1.45

Hip SLWS Female 840 0.85±0.34 0.83–0.87
Male 810 0.77±0.33 0.74–0.79
SLBS Female 27,216 3.13±1.69 3.11–3.15
Male 25,272 3.08±1.55 3.07–3.10
OLWS Female 168 1.13±0.40 1.07–1.20
Male 162 1.11±0.53 1.03–1.19

PDWP, perpendicular distances between the optimal warping path and the diagonal of the cost matrix; SD, standard deviation; SLWS, same lower-limb within-subject group; SLBS, same lower-limb between-subjects group; OLWS, opposite lower-limb within-subject group.

Table 4

Results of the generalized linear model for the joints

Joint Names Effect Estimate SE 95% CI P-value
Ankle (Intercept) (Intercept) 2.02 0.02 1.98–2.05 <0.001
Group1 SLBS-SLWS 1.69 0.01 1.66–1.72 <0.001
Group2 OLWS-SLWS 0.90 0.05 0.80–1.00 <0.001
Gender1 Male-Female −0.10 0.03 −0.17 to −0.03 0.005
Group1×Gender1 SLBS-SLWS×Male-Female −0.39 0.03 −0.44 to −0.34 <0.001
Group2×Gender1 OLWS-SLWS×Male-Female −0.01 0.10 −0.22 to 0.19 0.893

Knee (Intercept) (Intercept) 1.80 0.02 1.75–1.85 <0.001
Group1 SLBS-SLWS 1.91 0.03 1.86–1.96 <0.001
Group2 OLWS-SLWS 0.36 0.07 0.23–0.52 <0.001
Gender1 Male-Female −0.30 0.05 −0.40 to −0.21 <0.001
Group1×Gender1 SLBS-SLWS×Male-Female −0.33 0.05 −0.43 to −0.23 <0.001
Group2×Gender1 OLWS-SLWS×Male-Female 0.12 0.15 −0.17 to 0.41 0.410

Hip (Intercept) (Intercept) 1.68 0.01 1.66–1.70 <0.001
Group1 SLBS-SLWS 2.30 0.01 2.27–2.32 <0.001
Group2 OLWS-SLWS 0.31 0.03 0.25–0.38 <0.001
Gender1 Male-Female −0.05 0.02 −0.10 to −0.01 0.027
Group1×Gender1 SLBS-SLWS×Male-Female 0.04 0.03 0.00–0.09 0.072
Group2×Gender1 OLWS-SLWS×Male-Female 0.06 0.07 −0.07 to 0.19 0.384

SE, standard error; CI, confidence intervals; SLWS, same lower-limb within-subject group; SLBS, same lower-limb between-subjects group; OLWS, opposite lower-limb within-subject group.

Table 5

Post hoc test for the interaction effect

Comparison Ankle Knee



Group Gender Group Gender P-value P-value
SLWS Female SLWS Male 1.000 <0.001

SLBS Female SLBS Male <0.001 <0.001

OLWS Female OLWS Male 1.000 1.000

SLWS Female SLBS Female <0.001 <0.001

SLWS Female SLBS Male <0.001 <0.001

SLWS Male SLBS Female <0.001 <0.001

SLWS Male SLBS Male <0.001 <0.001

SLWS Female OLWS Female <0.001 0.064

SLWS Female OLWS Male <0.001 0.829

SLWS Male OLWS Female <0.001 <0.001

SLWS Male OLWS Male <0.001 <0.001

SLBS Female OLWS Female <0.001 <0.001

SLBS Female OLWS Male <0.001 <0.001

SLBS Male OLWS Female <0.001 <0.001

SLBS Male OLWS Male <0.001 <0.001

SLWS, same lower-limb within-subject group; SLBS, same lower-limb between-subjects group; OLWS, opposite lower-limb within-subject group.

Table 6

Estimated marginal means with 95% confidence intervals (CIs)

Joint Group Gender Mean SE 95% CI
Ankle SLWS Female 1.13 0.02 1.10–1.17
Male 1.17 0.02 1.14–1.21
SLBS Female 3.02 0.01 3.00–3.04
Male 2.67 0.01 2.65–2.68
OLWS Female 2.04 0.07 1.90–2.17
Male 2.06 0.07 1.92–2.20

Knee SLWS Female 1.15 0.04 1.08–1.22
Male 0.92 0.03 0.86–0.98
SLBS Female 3.23 0.02 3.20–3.27
Male 2.67 0.02 2.64–2.70
OLWS Female 1.46 0.10 1.26–1.65
Male 1.35 0.09 1.16–1.53

Hip SLWS Female 0.85 0.02 0.82–0.88
Male 0.77 0.01 0.74–0.79
SLBS Female 3.13 0.01 3.11–3.14
Male 3.08 0.01 3.07–3.10
OLWS Female 1.13 0.05 1.05–1.22
Male 1.11 0.05 1.02–1.20

SE, standard error; SLWS, same lower-limb within-subject group; SLBS, same lower-limb between-subjects group; OLWS, opposite lower-limb within-subject group.