ABSTRACT
The relationship between two variables measured multiple times per individual has often been evaluated in clinical studies. These data are not independent; therefore, the Pearson correlation coefficient is inappropriate, and some correlation coefficients for these data have been proposed. However, in the presence of missing data, the existing methods can be biased. In this article, we proposed a weighted repeated measures correlation coefficient that provides an accurate estimate, even with missing data, in a study in which participants ideally have the same number of measurements. We also provided a bootstrap confidence interval for the weighted repeated measures correlation coefficients. We evaluated the performance of the proposed and existing methods (i.e., simple Pearson correlation coefficient, the Pearson correlation coefficient for average, average of the Pearson correlation coefficient, correlation coefficient based on analysis of covariance, and correlation coefficient based on the linear mixed‐effects model) through simulations and application to actual data. In numerical evaluations using simulations, the proposed method consistently outperformed existing methods. We recommend using a weighted repeated measures correlation coefficient to handle missing values in multiple‐measurement data.
Keywords: correlation, missing data, repeated measures
Abbreviations
- ANCOVA
analysis of covariance
- BSS
bed sensor vital‐sign monitoring system
- CI
confidence interval
- TA‐BSS
respiratory‐related tidal amplitude by the bed sensor vital‐sign monitoring system
- TV‐PN
tidal volume by a ventilator pneumotachograph
1. Introduction
The Pearson correlation coefficient is a well‐known indicator for evaluating the association between two variables for independent data [1] and is appropriate when each participant has only one pair of data. However, this is inadequate for data with two or more pairs of measurements per participant. Previous studies have investigated the correlation coefficients for such non‐independent data [2]. Two major correlation coefficients for multiple pairs of data have been proposed: one based on the analysis of covariance (ANCOVA) [3, 4, 5] and the other based on linear mixed‐effects models [6, 7, 8]. These methods estimate the correlation coefficient by adjusting for interindividual variability or individual‐level effects. In medical research, these correlation coefficients have been applied to studies with continuous monitoring [9, 10, 11, 12, 13, 14]. Intraclass correlation coefficients are often used in reliability tests with multiple pairs of data [15]. However, the intraclass correlation coefficient for repeated measurements assumes that true values of the measurement are constant at different timepoints.
When estimating the relationship between two variables, participants should be considered equally in ideal clinical research. The estimand is the individual average of the two‐variable correlation at a single timepoint in the target population. A situation in which one participant has several times as much measurement data as the other participants is not reasonable in typical situations. However, in clinical studies with repeated measurements, the amount of observed measurement data is not always the same among participants. When participants underwent differing numbers of measurements, the Pearson correlation coefficient and existing correlation coefficients for repeated measurement data could disproportionately reflect the features of participants with more data because these methods do not adjust for the number of measurements per participant. In studies where the same number of measurements is ideally planned for each individual, variations in the number of measurements can be considered a missing data problem. Although differences in the number of measurements can introduce bias, the influence of missing data on correlation coefficients with repeated measures has not been adequately investigated.
We propose a weighted repeated measures correlation coefficient, a new correlation coefficient for repeated measurement data that handles bias depending on the variation in the number of measurements. We added the averaging operation for each individual in the estimation to the existing correlation coefficients based on ANCOVA to equalize the degree of individual impact on the estimator. We also provide a bootstrap confidence interval for the weighted repeated measures correlation coefficients. In this study, we evaluated the performance of correlation coefficients based on the Pearson correlation coefficient, existing correlation coefficients for repeated measurement data, and weighted repeated measures correlation coefficients under both non‐missing and missing data conditions.
2. Correlation Coefficients for Repeated Measurement Data
In our study, we considered six correlation coefficients: three based on the Pearson correlation coefficient (, , and ), a correlation coefficient based on ANCOVA (), a correlation coefficient based on the linear mixed effects model (), and the weighted repeated measures correlation coefficient ().
We assumed a clinical study in which two variables were repeatedly measured in participants to estimate the correlation between them. Let the pair of random variables denote the variables to be evaluated, where refers to the participant and refers to the timepoint of the measurement. We let be the number of measurements obtained for participant in the study and be the number of measurements that should be obtained in the ideal study. We assumed that the ideal number of measurements was equal for all participants: . If missing data occurred at timepoint , then both and were considered missing.
There are some assumptions in each correlation coefficient. Pearson correlation coefficient () assumes that the multivariate distribution of and is constant across all measurements. We estimate the correlation of two variables at a single timepoint by repeated measurement data, therefore, , , , and assume the consistency in the conditional multivariate distribution of and given the participant.
2.1. Methods Based on the Pearson Correlation Coefficient
We considered three methods based on the Pearson correlation coefficient. The first method was the simple Pearson correlation coefficient (), which is computed as where is the covariance between and , and is the variance of . The Pearson correlation coefficient estimates the measurement average of the two‐variable correlation, which differs from the targeted estimand in our study. The second method was the Pearson correlation coefficient for averaged variables (), which is the correlation between and . This is computed as , where and . The third method was the average Pearson correlation coefficient (), which is the mean value of the Pearson correlation coefficient for each participant. This is computed by .
2.2. Correlation Coefficient Based on ANCOVA
The correlation coefficient based on ANCOVA () is estimated as the ratio of the sums of squares for and error, calculated using the linear regression model (), where refers to the intercept and refers to the individual effect of ‐th participant [5]. Let the sum of squares of be and the sum of squares of errors be . Let the observed value of be , the predicted value of based on the linear regression () be , and the predicted value of based on the linear regression be . The sum of the squares is defined as
The correlation coefficient is estimated with the following equation:
The sign of the correlation coefficient corresponds to the , which is the coefficient of in the regression analysis.
2.3. Correlation Coefficient Based on the Linear Mixed Effects Model
The correlation coefficient, based on the linear mixed‐effects model () is calculated from the covariance matrix estimated using the maximum likelihood method [8]. Let be the outcomes from the ith participant, where denotes the transpose, and and are the design matrices for fixed and random effects. The linear mixed effects model is presented as . In this study, we do not specify any random effects and use only the intercept and variable to identify and as fixed effects. The random effects follows a multivariate normal distribution and the error term follows a multivariate normal distribution where is the Kronecker product () between the correlation structure across timepoints and the following correlation structure :
Using the estimated value , the correlation coefficient is calculated to be
In our study, we assumed a compound symmetry structure in .
2.4. Weighted Repeated Measures Correlation Coefficient
We proposed a weighted repeated measures correlation coefficient (), which is a modification of the correlation coefficient based on ANCOVA. We added a new procedure for averaging the measurements for each participant when decomposing the sums of squares. In the proposed method, we calculate the modified sum of squares as
Using the modified sum of squares, we can adjust for the variation in the contribution of the participants to the sum of squares resulting from the missing data. We estimated the weighted repeated measures correlation coefficient with the following equation:
This formula is equivalent to the ANCOVA‐based correlation coefficient, with replaced by and replaced by .
2.5. Confidence Intervals
One option for estimating the confidence intervals for in the rmcorr package [16] in R is the bootstrap method. When estimating confidence intervals of confidence level (0.95 is the typical value), we sample times and estimate the correlation coefficient, and the lower and upper limits correspond to and percentile points respectively. We applied this estimation method to other correlation coefficients. In this study, we set and .
3. Simulation Study
3.1. Data Generation
We assumed clinical research with multiple timepoints to estimate the correlation coefficient for the target population. Although there may be heterogeneity in the correlation coefficient could be associated with missing measurements in the target population, this is not always evident in advance. For example, in a study of 14 participants (12 males and 2 females), described in Section 4, and the mean missing probability were 0.567 and 18.5% for males and 0.219 and 3.3% for females, respectively. We considered a situation in which there were subgroups with different correlations and missing probabilities in the target population.
We assumed a study with 30 participants, each with multiple measurements () of and . The simulation was repeated 10 000 times. The 30 participants consisted of 15 participants from each of the two latent classes, denoted as . For each participant, was generated from the multivariate normal distribution with the following mean structure and covariance matrix:
and
The missing probability for participant was generated from . The missing probability was constant at all timepoints. Parameters and were defined from the expected value and variance of , and the variance was always set to 0.04. We considered four scenarios varying and relationships between missing probability and correlations. Table 1 lists the parameter values used in the data generation.
TABLE 1.
Parameters in the simulation study.
| Scenario 1 | Scenario 2 | Scenario 3 | Scenario 4 | ||
|---|---|---|---|---|---|
|
|
0 | 1 | 0 | 1 | |
|
|
1 | 1 | 1 | 1 | |
|
|
0 | 1 | 0 | 1 | |
|
|
1 | 1 | 1 | 1 | |
|
|
0.8 | 0.8 | 0.8 | 0.8 | |
|
|
0.3 | 0.3 | 0.1 | 0.1 | |
|
|
0 | 0 | 0 | 0 | |
|
|
1 | 1 | 1 | 1 | |
|
|
0 | 0 | 0 | 0 | |
|
|
1 | 1 | 1 | 1 | |
|
|
0.4 | 0.4 | 0.4 | 0.4 | |
|
|
0.3 | 0.3 | 0.5 | 0.5 |
3.2. Evaluation
To evaluate the performance of the point estimation, we estimated six correlations () for 10 000 datasets with and without missing data and calculated their means and standard deviations.
We also evaluated the performance of the confidence intervals for and in Scenarios 1 to 4 with 50‐timepoints. The number of simulations for the confidence intervals was set to 1000. We calculated the proportion of the confidence interval containing 0.6 as the coverage probability and the average width of confidence intervals. SAS 9.4 was used for all statistical analyses.
3.3. Results
The mean and standard deviation of the point estimates for each correlation when measurements were repeated 10, 50, and 100 times were shown in Tables 2, 3, and 4, respectively. When there were no missing data, and were valid inferences. They were consistently 0.6 regardless of the number of timepoints and scenario. In all settings without missing data, was similar to . However, and were overestimated in Scenarios 2 and 4, and was slightly underestimated when the number of measurements was 10.
TABLE 2.
Mean and standard deviation of the point estimates for each correlation when measurements were 10.
| Correlation method | Scenario 1 | Scenario 2 | Scenario 3 | Scenario 4 | ||
|---|---|---|---|---|---|---|
| Full data |
|
0.60 (0.039) | 0.68 (0.032) | 0.60 (0.039) | 0.68 (0.032) | |
|
|
0.60 (0.128) | 0.89 (0.036) | 0.60 (0.128) | 0.89 (0.036) | ||
|
|
0.58 (0.041) | 0.58 (0.041) | 0.58 (0.041) | 0.58 (0.041) | ||
|
|
0.60 (0.040) | 0.60 (0.040) | 0.60 (0.040) | 0.60 (0.040) | ||
|
|
0.60 (0.040) | 0.60 (0.040) | 0.60 (0.040) | 0.60 (0.040) | ||
|
|
0.60 (0.040) | 0.60 (0.040) | 0.60 (0.040) | 0.60 (0.040) | ||
| Missing data |
|
0.60 (0.048) | 0.68 (0.040) | 0.66 (0.044) | 0.72 (0.036) | |
|
|
0.59 (0.152) | 0.84 (0.064) | 0.52 (0.184) | 0.80 (0.087) | ||
|
|
0.56 (0.064) | 0.56 (0.064) | 0.57 (0.075) | 0.57 (0.075) | ||
|
|
0.60 (0.052) | 0.60 (0.052) | 0.67 (0.047) | 0.67 (0.047) | ||
|
|
0.60 (0.051) | 0.60 (0.051) | 0.66 (0.047) | 0.66 (0.047) | ||
|
|
0.60 (0.054) | 0.60 (0.054) | 0.62 (0.060) | 0.62 (0.060) | ||
Note: Mean estimates of 0.6 are highlighted in bold.
TABLE 3.
Mean and standard deviation of the point estimates for each correlation when measurements were 50.
| Correlation method | Scenario 1 | Scenario 2 | Scenario 3 | Scenario 4 | ||
|---|---|---|---|---|---|---|
| Full data |
|
0.60 (0.017) | 0.68 (0.015) | 0.60 (0.017) | 0.68 (0.015) | |
|
|
0.60 (0.127) | 0.97 (0.009) | 0.60 (0.127) | 0.97 (0.009) | ||
|
|
0.60 (0.017) | 0.60 (0.017) | 0.60 (0.017) | 0.60 (0.017) | ||
|
|
0.60 (0.018) | 0.60 (0.018) | 0.60 (0.018) | 0.60 (0.018) | ||
|
|
0.60 (0.018) | 0.60 (0.018) | 0.60 (0.018) | 0.60 (0.018) | ||
|
|
0.60 (0.018) | 0.60 (0.018) | 0.60 (0.018) | 0.60 (0.018) | ||
| Missing data |
|
0.60 (0.024) | 0.68 (0.020) | 0.66 (0.022) | 0.72 (0.017) | |
|
|
0.59 (0.145) | 0.96 (0.018) | 0.53 (0.188) | 0.94 (0.032) | ||
|
|
0.59 (0.023) | 0.59 (0.023) | 0.59 (0.029) | 0.59 (0.029) | ||
|
|
0.60 (0.024) | 0.60 (0.024) | 0.66 (0.022) | 0.66 (0.022) | ||
|
|
0.60 (0.024) | 0.60 (0.024) | 0.66 (0.022) | 0.66 (0.022) | ||
|
|
0.60 (0.023) | 0.60 (0.023) | 0.60 (0.027) | 0.60 (0.027) | ||
Note: Mean estimates of 0.6 are highlighted in bold.
TABLE 4.
Mean and standard deviation of the point estimates for each correlation when measurements were 100.
| Correlation method | Scenario 1 | Scenario 2 | Scenario 3 | Scenario 4 | ||
|---|---|---|---|---|---|---|
| Full data |
|
0.60 (0.012) | 0.68 (0.010) | 0.60 (0.012) | 0.68 (0.010) | |
|
|
0.59 (0.128) | 0.99 (0.004) | 0.59 (0.128) | 0.99 (0.004) | ||
|
|
0.60 (0.012) | 0.60 (0.012) | 0.60 (0.012) | 0.60 (0.012) | ||
|
|
0.60 (0.013) | 0.60 (0.013) | 0.60 (0.013) | 0.60 (0.013) | ||
|
|
0.60 (0.013) | 0.60 (0.013) | 0.60 (0.013) | 0.60 (0.013) | ||
|
|
0.60 (0.013) | 0.60 (0.013) | 0.60 (0.013) | 0.60 (0.013) | ||
| Missing data |
|
0.60 (0.019) | 0.68 (0.015) | 0.66 (0.017) | 0.72 (0.013) | |
|
|
0.59 (0.145) | 0.98 (0.009) | 0.53 (0.186) | 0.97 (0.018) | ||
|
|
0.60 (0.016) | 0.60 (0.016) | 0.60 (0.020) | 0.60 (0.020) | ||
|
|
0.60 (0.019) | 0.60 (0.019) | 0.66 (0.017) | 0.66 (0.017) | ||
|
|
0.60 (0.019) | 0.60 (0.019) | 0.66 (0.017) | 0.66 (0.017) | ||
|
|
0.60 (0.016) | 0.60 (0.016) | 0.60 (0.020) | 0.60 (0.020) | ||
Note: Mean estimates of 0.6 are highlighted in bold.
In Scenarios 1 and 2, in which the missing probability did not depend on the latent class, bias was not observed for , , and even with missing data. However, in Scenarios 3 and 4, where the missing probability depended on the latent class, and were biased, whereas the bias of was smaller for the missing data. The bias of was also small if the number of measurements was 50 or more. The correlation coefficient based on the mixed‐effects model did not converge by up to 20.2%.
Table 5 showed the coverage probabilities of the 95% confidence intervals using the bootstrap method for and . When there were no missing data, the coverage probability was 95.3%. When there was missing data, the coverage probability of was 93.7%, the coverage probability of was 90.4% for Scenarios 1 and 2, and 16.8% for Scenarios 3 and 4. Table 6 shows the average width of the 95% confidence intervals. When missing data were present, the confidence interval for was consistently wider than the interval for .
TABLE 5.
Coverage probabilities of the 95% confidence intervals by the bootstrap method.
| Correlation method | Scenario 1 | Scenario 2 | Scenario 3 | Scenario 4 | ||
|---|---|---|---|---|---|---|
| Full data |
|
95.3% | 95.3% | 95.3% | 95.3% | |
|
|
95.3% | 95.3% | 95.3% | 95.3% | ||
| Missing data |
|
90.4% | 90.4% | 16.8% | 16.8% | |
|
|
93.7% | 93.7% | 93.7% | 93.7% |
TABLE 6.
Average width of the 95% confidence intervals by the bootstrap method.
| Correlation method | Scenario 1 | Scenario 2 | Scenario 3 | Scenario 4 | ||
|---|---|---|---|---|---|---|
| Full data |
|
0.069 | 0.069 | 0.069 | 0.069 | |
|
|
0.069 | 0.069 | 0.069 | 0.069 | ||
| Missing data |
|
0.082 | 0.082 | 0.079 | 0.073 | |
|
|
0.087 | 0.087 | 0.099 | 0.099 |
4. Application Study
4.1. The Bed Sensor Vital‐Sign Monitoring System in ICU
We applied our method to a study of contact‐free respiratory rate and volume assessments using load cells under the bed legs (UMIN‐CTR: UMIN000047793) [17]. The Bed Sensor Vital‐Sign Monitoring System (BSS) was developed as an unconstrained monitoring system to measure the respiratory‐related tidal amplitude and respiratory rate using data from load cells at the four legs of the bed. This study assessed the correlation between respiratory‐related tidal amplitude by BSS (TA‐BSS) and the tidal volume by a ventilator pneumotachograph (TV‐PN) in 14 patients under mechanical ventilation in the ICU. Patients who provided consent and had available data for at least 24 h were included. Respiratory‐related data were recorded as one measurement every 10 min. Measurements were taken at 288 timepoints for 13 subjects and 248 timepoints for one subject. The median missing probability was 11.6%, with an interquartile range of 4.9% to 22.9%.
4.2. Statistical Method
We applied the correlation coefficients considered in the simulation study to assess the relationship between TA‐BSS and TV‐PN with the data from this study. Initially, we attempted to apply the correlation methods to the overall data; however, the method based on the mixed‐effects model could not obtain a convergence solution. Consequently, we estimated the point estimates using methods other than the mixed‐effects model for the overall data.
We also applied the correlation methods to a subsampled dataset, random sampling 50 data points per participant without replacement. The median missing probability in the subsampled dataset was 14.0%, with an interquartile range of 4.0% to 32.0%. Point estimates and 95% confidence intervals (CIs) were estimated using the bootstrap method. In the post hoc analysis, we excluded one participant with a negative Pearson correlation coefficient and reassessed the correlations.
5. Results
Table 7 shows the correlation coefficients for both the overall and subsampled datasets. In the sampled data, , , and were approximately 0.54; and were slightly higher; and was lower. The widths of the confidence intervals for , , and were similar and were slightly wider for . We performed 1000 bootstrap samplings to estimate the confidence intervals but obtained only 656 solutions for . Among the 14 Pearson correlation coefficients calculated for each participant in the estimation of , one was negatively correlated. A post hoc analysis excluding this participant was conducted, and the results were shown in Table 8. The exclusion did not affect the values for , , and , but influenced , , and , especially .
TABLE 7.
Repeated measures correlation between TA‐BSS and TV‐PN.
| Correlation method | Overall data | Sampling data | ||
|---|---|---|---|---|
| Estimate | Estimate | 95% CI | ||
|
|
0.593 | 0.566 | [0.518, 0.612] | |
|
|
0.622 | 0.593 | [0.535, 0.645] | |
|
|
0.360 | 0.385 | [0.320, 0.463] | |
|
|
0.552 | 0.544 | [0.486, 0.605] | |
|
|
NA | 0.544 | [0.485, 0.605] a | |
|
|
0.551 | 0.537 | [0.477, 0.598] | |
Abbreviations: CI, confidence interval; TA‐BSS, tidal amplitude by the bed sensor vital‐sign monitoring system; TV‐PN, tidal volume by a ventilator pneumotachograph.
Estimates were obtained only 656 times when bootstrapping.
TABLE 8.
Repeated measures correlation between TA‐BSS and TV‐PN excluding one participant with a negative Pearson correlation coefficient.
| Correlation method | 13 data | 14 data | Difference | |
|---|---|---|---|---|
|
|
0.603 | 0.566 | 0.037 | |
|
|
0.635 | 0.593 | 0.042 | |
|
|
0.444 | 0.385 | 0.059 | |
|
|
0.553 | 0.544 | 0.009 | |
|
|
0.553 | 0.544 | 0.009 | |
|
|
0.544 | 0.537 | 0.007 |
Abbreviations: TA‐BSS, tidal amplitude by the bed sensor vital‐sign monitoring system; TV‐PN, tidal volume by a ventilator pneumotachograph.
6. Discussion
The correlation coefficients for non‐independent repeated measurement data, where the Pearson correlation coefficient is not appropriate, have been proposed. However, in these methods, the difference in the number of measurements per participant is not adjusted and this could introduce bias in the estimation. In this study, we evaluated the performance of existing correlation coefficients for repeated measurement data with and without missing data in the simulation study and proposed the weighted repeated measures correlation coefficient for handling the variation in the number of measurements. After the simulation, these methods were applied to the actual data to evaluate the relationship between the TA‐BSS and TV‐PN.
In our simulations, when the missing data were independent of other variables, the proposed method and correlation coefficients based on ANCOVA and the mixed‐effects model showed minimal bias. However, in scenarios in which the missing probability and correlation were related, the correlation coefficients based on ANCOVA and the mixed‐effects model were equally overestimated. The proposed method, however, resulted in negligible bias.
We revealed that the proposed confidence interval is valid with and without missing data. Through simulation, we confirmed that the coverage proportion of the proposed confidence interval was approximately 95%. The proposed method showed a wider 95% confidence interval than that of the existing method, but the confidence interval based on the ANCOVA exhibited possible under‐coverage properties under missing data. This indicates that the width of the confidence interval of the existing method is underestimated. When there were no missing data (i.e., the number of timepoints was the same for all participants), the proposed method yielded the same value as the correlation coefficient based on ANCOVA.
Methods based on the Pearson correlation coefficient were only reasonable only in specific situations, even without missing data. As expected, when estimating the Pearson correlation coefficient from the whole dataset without considering repeated measures, or when estimating the Pearson correlation coefficient for the mean value for each participant, these estimators were not valid. This result is consistent with previous studies [2, 5]. The average Pearson correlation coefficient for each participant was underestimated when the number of timepoints was small. The Pearson correlation coefficient estimated from the samples is not an unbiased estimator, and the approximation is known, where is the correlation coefficient estimated from the sample and is the correlation coefficient for the population [18, 19]. This association could explain this underestimation. When the number of timepoints was sufficient, that is, 50 or more, the average Pearson correlation coefficient was an acceptable estimator, even with missing data.
We applied these methods to actual data to evaluate the relationship between the TA‐BSS and TV‐PN. As the results for , , and were almost the same, the influence of missing data were considered small, and the correlation was approximately 0.54. Despite the sufficient number of timepoints, the estimate of the was less than 0.54. Sensitivity analysis, excluding one participant with a negative Pearson correlation coefficient, showed that the change in was greater than that in , , and . Although further studies are needed, the results suggest that may not provide a stable estimate in situations where the sample size is small and includes outliers.
When applied to the overall actual data, could not provide a convergent solution. In our simulation, the correlation coefficient based on the mixed‐effects model did not converge up to 20.2% of the time. In our analysis, we assumed compound symmetry in the structure between timepoints; however, convergence problems arose. In studies with many measurements, such as digital health studies [20, 21], methods based on the mixed‐effects model may not be appropriate because of computational volume and convergence concerns.
Our proposed method's concept of averaging operation is similar to the informative cluster size in cluster‐randomized trials. The bias due to missing data in our study is referred to as the difference in the estimand for the participant‐average treatment effect and cluster‐average treatment effect in cluster‐randomized trials [22, 23, 24]. When estimating the correlation coefficient from repeated measurements, paying attention to the estimand is crucial. As mentioned in the Methods section, the estimation of Pearson's correlation coefficient and the repeated measures correlation coefficient are different. In addition, the difference between the ideal data and actual data should be adequately understood, and one should select an appropriate estimator for the research purpose in practical settings.
Our study had several limitations and areas for future research. First, the proposed method assumed independence within the participant; however, we did not evaluate the performance when this assumption was invalid. Assuming independence of measurement errors within the participant could be reasonable in settings where data are measured at multiple timepoints within a short period. However, when estimating the correlation coefficient for repeated measurement data followed for months or years, we may need to consider a non‐independent variance structure of the error. Only the correlation coefficient based on the mixed‐effects model can incorporate the complex variance structure. However, the mixed‐effects model would also be challenging when the number of timepoints is large, or when assuming a uniform structure among participants is unreasonable because the number of timepoints differs. Evaluating the correlation coefficient in these situations is a topic for future research. Second, the proposed method's efficiency and the confidence interval estimation still require further exploration. In this study, we have yet to show the proposed method's theoretical variance and confidence interval. There may be a better weighting that would reduce the variance because we proposed for the unbiased correlation coefficient, not for achieving the minimum variance of the estimator. Theoretical work to clarify the distribution and variance of the estimators we have proposed and discuss the optimal weights is one of the future research topics. These issues could provide the basis for constructing better confidence intervals and discussing sample size calculations. Confidence intervals for the correlation coefficient for repeated measurement data are often estimated using the bootstrap method [5, 25], which we also used to estimate the confidence intervals for the weighted repeated measures correlation coefficient. We emphasize that the proposed and existing estimators provide the same value when the number of observed measurements for each participant is the same. When there was variation in the number of measurements, the proposed method showed a slightly wider confidence interval than that of the existing method. However, a confidence interval based on the bootstrap method could provide sufficient performance for clinical and epidemiological studies, and this result did not necessarily show that the existing estimator would be superior in efficiency because the coverage probability of the existing estimator was under 95%.
In conclusion, we proposed the weighted repeated measures correlation coefficient and evaluated the performance of various correlation coefficients for repeated measurement data under conditions with and without missing data. Existing methods cannot estimate a valid correlation coefficient in some situations, depending on the number of timepoints, the expected value of the variables, and the mechanism of missing data. In contrast, the proposed method consistently provided valid estimates. Therefore, we recommend using the weighted repeated measures correlation coefficient for multiple data points with missing values.
Conflicts of Interest
This study used data obtained during collaborative research between Chiba University and MinebeaMitsumi Inc. in the application section. Shiroh Isono has an advisory contract with MinebeaMitsumi Inc. Shiroh Isono is one of the inventors of the vital sign monitoring system. None of the other authors has any conflicts of interest.
Supporting information
Data S1. Supporting Information.
Data S2. Supporting Information.
Data S3. Supporting Information.
Funding: The authors received no specific funding for this work.
Data Availability Statement
We provided SAS and R programs as supportive information for applying the proposed method (Weighted repeated measures correlation coefficient). The codes used in the Simulation study section and the Application study section are available from the corresponding author upon reasonable request. The Bed Sensor Vital‐Sign Monitoring System in ICU data is not publicly available.
References
- 1. LI L., “A Concordance Correlation Coefficient to Evaluate Reproducibility,” Biometrics 45, no. 1 (1989): 255–268. [PubMed] [Google Scholar]
- 2. Shan G., Zhang H., and Jiang T., “Correlation Coefficients for a Study With Repeated Measures,” Computational and Mathematical Methods in Medicine 2020 (2020): 7398324. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3. Bland J. M. and Altman D. G., “Calculating Correlation Coefficients With Repeated Observations: Part 1–Correlation Within Subjects,” BMJ 310, no. 6977 (1995): 446. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4. Bland J. M. and Altman D. G., “Calculating Correlation Coefficients With Repeated Observations: Part 2–Correlation Between Subjects,” BMJ 310, no. 6980 (1995): 633. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5. Bakdash J. Z. and Marusich L. R., “Repeated Measures Correlation,” Frontiers in Psychology 8 (2017): 456. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6. Lam M. and Webb K. A., “Correlation Between Two Variables in Repeated Measures,” in Proceedings of the American Statistical Association Biometrics Section (American Statistical Association, 1999), 213–218. [Google Scholar]
- 7. Hamlett A., Ryan L., and Wolfinger R., “On the Use of PROC MIXED to Estimate Correlation in the Presence of Repeated Measures,” Proceedings of the Statistics and Data Analysis Section 198 (2004): 29. [Google Scholar]
- 8. Roy A., “Estimating Correlation Coefficient Between Two Variables With Repeated Observations Using Mixed Effects Model,” Biometrical Journal 48, no. 2 (2006): 286–301. [DOI] [PubMed] [Google Scholar]
- 9. Murphy A. C., Bertolero M. A., Papadopoulos L., Lydon‐Staley D. M., and Bassett D. S., “Multimodal Network Dynamics Underpinning Working Memory,” Nature Communications 11, no. 1 (2020): 3035. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10. Strosberg J. R., Srirajaskanthan R., El‐Haddad G., et al., “Symptom Diaries of Patients With Midgut Neuroendocrine Tumors Treated With 177Lu‐DOTATATE,” Journal of Nuclear Medicine 62, no. 12 (2021): 1712–1718. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11. Carneiro‐Barrera A., Amaro‐Gahete F. J., Guillén‐Riquelme A., et al., “Effect of an Interdisciplinary Weight Loss and Lifestyle Intervention on Obstructive Sleep Apnea Severity: The INTERAPNEA Randomized Clinical Trial,” JAMA Network Open 5, no. 4 (2022): e228212, 10.1001/jamanetworkopen.2022.8212. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12. Poulard T., Bachasson D., Fossé Q., et al., “Poor Correlation Between Diaphragm Thickening Fraction and Transdiaphragmatic Pressure in Mechanically Ventilated Patients and Healthy Subjects,” Anesthesiology 136, no. 1 (2022): 162–175. [DOI] [PubMed] [Google Scholar]
- 13. Haines R. W., Fowler A. J., Liang K., et al., “Comparison of Cystatin C and Creatinine in the Assessment of Measured Kidney Function During Critical Illness,” Clinical Journal of the American Society of Nephrology 18, no. 8 (2023): 997–1005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14. Ukashi O., Lahat A., Ungar B., et al., “Pan‐Enteric Crohn's Capsule (Eliakim) Score Reliability and Responsiveness to Change in Active Crohn's Disease,” Journal of Crohn's & Colitis 18, no. 10 (2024): 1622–1630, 10.1093/ecco-jcc/jjae068. [DOI] [PubMed] [Google Scholar]
- 15. Koo T. K. and Li M. Y., “A Guideline of Selecting and Reporting Intraclass Correlation Coefficients for Reliability Research,” Journal of Chiropractic Medicine 15, no. 2 (2016): 155–163. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16. “Repeated Measures Correlation” [R package rmcorr version 0.6.0] (2023), https://cran.r‐project.org/web/packages/rmcorr/index.html.
- 17. Inada A., Inaba S., Matsumura Y., et al., “Contact‐Free Assessments of Respiratory Rate and Volume With Load Cells Under the Bed Legs in Ventilated Patients: A Prospective Exploratory Observational Study,” Journal of Applied Physiology 134, no. 6 (2023): 1341–1348. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18. Fisher R. A., “Frequency Distribution of the Values of the Correlation Coefficient in Samples From an Indefinitely Large Population,” Biometrika 10, no. 4 (1915): 507–521. [Google Scholar]
- 19. Zimmerman D. W., Zumbo B. D., and Williams R. H., “Bias in Estimation and Hypothesis Testing of Correlation,” Psicológica 24, no. 1 (2003): 133–158. [Google Scholar]
- 20. Gumus M., DeSouza D. D., Xu M., Fidalgo C., Simpson W., and Robin J., “Evaluating the Utility of Daily Speech Assessments for Monitoring Depression Symptoms,” Digital Health 9 (2023): 20552076231180524. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21. Ronca V., Martinez‐Levy A. C., Vozzi A., et al., “Wearable Technologies for Electrodermal and Cardiac Activity Measurements: A Comparison Between Fitbit Sense, Empatica E4 and Shimmer GSR3+,” Sensors 23, no. 13 (2023): 5847, 10.3390/s23135847. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22. Wang X., Turner E. L., Li F., et al., “Two Weights Make a Wrong: Cluster Randomized Trials With Variable Cluster Sizes and Heterogeneous Treatment Effects,” Contemporary Clinical Trials 114, no. 106702 (2022): 106702. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23. Kahan B. C., Li F., Copas A. J., and Harhay M. O., “Estimands in Cluster‐Randomized Trials: Choosing Analyses That Answer the Right Question,” International Journal of Epidemiology 52, no. 1 (2023): 107–118. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24. Kahan B. C., Li F., Blette B., Jairath V., Copas A., and Harhay M., “Informative Cluster Size in Cluster‐Randomised Trials: A Case Study From the TRIGGER Trial,” Clinical Trials 20, no. 6 (2023): 661–669. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25. Shan G., Zhang H., and Barbour J., “Bootstrap Confidence Intervals for Correlation Between Continuous Repeated Measures,” Journal of the Italian Statistical Society 30, no. 4 (2021): 1175–1195. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data S1. Supporting Information.
Data S2. Supporting Information.
Data S3. Supporting Information.
Data Availability Statement
We provided SAS and R programs as supportive information for applying the proposed method (Weighted repeated measures correlation coefficient). The codes used in the Simulation study section and the Application study section are available from the corresponding author upon reasonable request. The Bed Sensor Vital‐Sign Monitoring System in ICU data is not publicly available.
