Table 1.
Descriptive statistics of demographic features and clinical measures at baseline.
Fig 1.
A graphical illustration of the three possible scenarios derived by CCF.
Panel A shows the two series of data that evolve simultaneously, panel B shows a series of RA data that precedes the MS series by 1 visit, and panel C shows a series of MS data that precedes the RA series by 1 visit.
Fig 2.
Examples of CCF plots of RA on MS for two patients included in this study.
The conventional CCF identified the strongest absolute correlation (tallest overall spike illustrated in red and green stripes the same as the strongest positive correlation) at lag = −4 (panel A) and +1 (panel B). The modified CCF identified the strongest positive correlation (tallest spike above the zero line) at lag = −4 (panel A, in red and green stripes because the same as the strongest absolute correlation) and +6 (panel B, illustrated in green). The dashed blue horizontal lines indicate statistical significance at the p = 0.05 level.
Fig 3.
The number of patients with the strongest correlation at each visit lag for the RA on MS relation using the conventional and modified CCFs.
Negative lags indicate that RA precedes MS series and positive lags indicate that MS precedes RA series. With both CCFs, the number of visit lags ranges from −7 to 7.
Fig 4.
Boxplots of measure of the strongest absolute correlations at different group of visit lags using the conventional CCF.
Boxplots are shown for the visit lag = 0 in which the RA and MS series evolve simultaneously (Panel A), visit lag<0 in which change in the RA series precedes change in the MS series (Panel B), and for visit lag>0 in which change in the MS series precedes change in the RA series.
Fig 5.
Boxplots of measure of the strongest positive correlations at different group of visit lags using the modified CCF.
Boxplots are shown for the visit lag = 0 in which the RA and MS series evolve simultaneously (Panel A), visit lag<0 in which change in the RA series precedes change in the MS series (Panel B), and for visit lag>0 in which change in the MS series precedes change in the RA series.
Table 2.
Summary of descriptive statistics for each visit lag group with the use of conventional and modified CCFs.
Table 3.
Result of LRT to compare the models with and without random effect for within three visit groups.
Fig 6.
Histograms of lags for 120 pairs of 11 series in 9 simulated datasets with different parameter settings.
An autoregressive model (AR = 1) with decreasing trend (0.5) and random error with Gaussian process of mean 0 and SD 1 was used to simulate the first series X(t); the second series, Y(t), was simulated by scaling (0.8) on X(t) series with lag -1,0 and 1 for panels in column 1, 2 and 3, respectively. While the panels in row 1 indicate the result of no added random error to Y(t) series, random error with Gaussian process of mean 0 and SD 1, mean 0 and SD 2 was further added in to the Y(t) series for the panels in row 2 and 3.