A New Non-parametric Test for Multivariate Paired Data and Pair Matching
Abstract
In paired design studies, it is common to have multiple measurements taken for the same set of subjects under different conditions. In observational studies, it is many times of interest to conduct pair matching on multiple covariates between a treatment group and a control group, and to test the treatment effect represented by multiple response variables on well pair-matched data. However, there is a lack of an effective test on multivariate paired data. The multivariate paired Hotelling’s test can sometimes be used, but its power decreases fast as the dimension increases. Existing methods for assessing the balance of multiple covariates in matched observational studies usually ignore the paired structure and thus they do not perform well under some settings. In this work, we propose a new non-parametric test for paired data, which exhibits a substantial power improvement over existing methods under a wide range of situations. We also derive the asymptotic distribution of the new test and the approximate -value is reasonably accurate under finite samples through simulation studies even when the dimension is larger than the sample size, making the new test an easy-off-the-shelf tool for real applications. The proposed test is illustrated through an analysis of a real data set on the Alzheimer’s disease research.
Keywords: Graph-based test; Nonparametric test; Paired-comparison permutation null distribution; Pair matching.
1 Introduction
Paired data are prevalent in paired design studies, where each subject is measured twice at two different time points or under two different situations. In many applications, multiple variables are measured and it is of interest to test whether they are significantly different under the two situations. For example, in studying the Alzheimer’s disease, neuropsychologic evaluation plays a central role in the clinical characterization of the disease (McKhann et al., 1984; Weintraub et al., 2009). It provides confirmatory evidence of the diagnosis of dementia. In a typical study, cognitive performance of participants is evaluated at approximately annual visits. Variables, such as total number of animals named in 60 seconds, orientation subscale score, total number of story units recalled from the current test administration, and so on, are recorded to reflect the performance, and it is of scientific interest to find out whether there is a significant difference in their neuropsychologic measures after several years. In addition, pair-matched data are also frequently encountered in causal inference. For instance, sex differences in the Alzheimer’s disease have aroused more and more attention (Carter et al., 2012; Mazure and Swendsen, 2016). In particular, an important study is to compare neuropsychologic performances between well-matched female participants and male participants. In this case, the two groups are matched well on a few covariates such as age and BMI, and then the test is done on their neuropsychology measurement variables.
For two-sample comparison on paired data, the conventional way is to take the difference between the corresponding values from the two data sets and convert the problem into a one-sample problem. If only one variable is measured, there are many choices, including the paired -test, sign test, signed-rank test, paired-comparison permutation test, and general scoring systems (Wilcoxon, 1992; Conover, 1998). When more than one variable is measured, the multivariate paired Hotelling’s test has been widely applied. However, unless the dimension of the data is very low, this test depends on whether the differences follow a multivariate Gaussian distribution. Also, the power of the test decreases quickly as the dimension increases. This is a common issue for parametric testing procedures as the number of parameters one has to estimate increases quickly as the dimension increases, such as the covariance matrix, unless strong assumptions are imposed. For example, in a real application on the Alzheimer’s disease research, 22 neuropsychology measurement variables are collected (details of the data are provided in Section 4). When the multivariate paired Hotelling’s test is applied to test whether there is any difference in neuropsychology measures between the initial visit and the visit after five years for the mild dementia group, its -value is 0.2121. So the test cannot reject the null hypothesis and concludes no significant difference. However, if applying the paired -test to each variable, we see that 11 out of 22 -values of the paired -test are less than 0.05 and the smallest one is 0.001 (Table 1). So the paired -test would reject the null hypothesis at 0.05 significance level even by the Bonferroni correction. Hence, the multivariate paired Hotelling’s test does not meet the needs for many applications with multiple variables.
Variable | -value |
---|---|
MMSEORDA | 0.068 |
MMSEORLO | 0.173 |
PENTAGON | 0.534 |
NACCMMSE | 0.022 |
LOGIMEM | 0.303 |
MEMUNITS | 0.315 |
MEMTIME | 0.740 |
DIGIF | 0.024 |
DIGIFLEN | 0.014 |
DIGIB | 0.027 |
DIGIBLEN | 0.031 |
ANIMALS | 0.090 |
VEG | 0.039 |
TRAILA | 0.041 |
TRAILARR | 0.071 |
TRAILALI | 0.418 |
TRAILB | 0.005 |
TRAILBRR | 0.227 |
TRAILBLI | 0.013 |
WAIS | 0.001 |
BOSTON | 0.005 |
COGSTAT | 0.643 |
Paired settings also arise naturally from matched observational studies, where a key question is that whether the covariates of a treated group and its matched control group are well balanced. Some approaches have been proposed to compare the distributions of the observed covariates, such as the method of combined differences (Hansen and Bowers, 2008) and the crossmatch test (Rosenbaum, 2005). More recently, Chen and Small (2020) proposed new tests (CrossNN and CrossMST) based on the similarity information of subjects. However, these existing tests do not fully utilize the paired structure, which makes them less effective under some circumstances as illustrated in our simulations (Section 3.2) and real application (Section 4.2).
In this paper, we propose a new non-parametric framework for paired data that can be applied to multivariate data with the dimension comparable with or possibly higher than the sample size (Section 2). This new non-parametric framework for paired data relies on a similarity graph constructed on the observations. We also derive the asymptotic distribution of the statistic under the paired-comparison permutation null distribution, facilitating its application to large data sets. The performance of the proposed test is examined through extensive simulation studies in Section 3. The new test is illustrated through a real data application on the Alzheimer’s disease research in Section 4. We discuss two other related statistics in Section 5 and conclude in Section 6.
2 A new non-parametric test for paired data based on a similarity graph
In two-sample tests, with observations in sample 1 and observations in sample 2, the two-sample permutation framework is to randomly assign out of the total pooled observations to sample 1 and the rest to sample 2 due to exchangeability of the observations under the null hypothesis of equal distribution. However, for paired data, the observations from the two samples are no longer exchangeable. On the other hand, the corresponding observations (paired observations) are exchangeable under the null hypothesis. Let , , be the paired data. The paired-comparison permutation null distribution places probability on each of choices of “assigning to sample 1 and to sample 2” or “assigning to sample 1 and to sample 2” for each . In the following, when there is no further specification, we use pr, , var and cov to denote probability, expectation, variance and covariance, respectively, under this paired-comparison permutation null distribution.
We first construct a similarity graph on the pool observations. The idea of utilizing a similarity graph has proven to be successful under the two-sample hypothesis testing problems for high-dimensional data (Friedman and Rafsky, 1979; Chen and Friedman, 2017). We use to denote the similarity graph, such as the minimum spanning tree (MST), which is a spanning tree that connects all observations with the sum of the distances of the edges in the tree minimized. Since the graph-based statistic is usually more powerful under a slightly denser graph (Friedman and Rafsky, 1979), we choose 5-MST as the similarity graph in our simulation studies and real application as recommended by Chen and Friedman (2017). Here, a -MST is the union of the 1st, th MSTs, where the 1st MST is the MST and the jth () MST is a spanning tree that connects all observations such that the sum of the edges in the tree is minimized under the constraint that it does not contain any edge in the 1st, th MSTs.
Since the graph is constructed on the pooled observations, it is unchanged under the paired-comparison permutation null distribution. For notation simplicity, we do not include as a subscript for the quantities depending on . Let be the number of edges in the similarity graph connecting observations from sample 1, and be the number of edges connecting observations from sample 2. Here, and are random variables under the paired-comparison permutation null distribution. The new test statistic is defined as
(1) |
where . The test is rejected at level if .
In the following, we derive exact analytic expressions for , , , and , so that the proposed test statistic can be computed quickly (Section 2.1), and then discuss how to determine the critical value in an analytic way (Section 2.2).
2.1 Analytic expressions for the new paired test statistic
Let be the total number of observations and let , , where is the indicator function. Let be the indicator function that equals 1 when is assigned to sample 1 under the paired-comparison permutation null distribution, and 0 if is assigned to sample 2. It is easy to see that . We use to denote the minimum of and , and use to denote the maximum of and . Let and be the two indices belonging to pair , i.e., if , and if . Then, we always have . Let and be the two indices belonging to pair . Since assigning to sample 1 is independent of assigning to sample 1, and are independent.
For an edge in , we denote it by the indices of the nodes connected by the edge. Then by definition, we have
Here, we do not distinguish edge from edge . For graph , let be the number of edges in the graph. Let be the subgraph in that connects observations from different pairs, i.e., contains edges . Let be the subgraph in that connects to node . Then is the degree of node in . Let be the number of pairs of edges , and be the number of pairs of edges . The analytic expressions are provided in the following theorem.
Theorem 1.
The analytic expressions of the expectations and variances under the paired-comparison permutation null are as follows:
Remark 1.
The expectation and variance of are very different from those under the permutation null for the two-sample test setting. Also, they only depend on , the set of edges that connect observations from different pairs. This is because the two end nodes of an edge connecting observations from a pair would always be in different samples under the pair-comparison permutation null distribution. Hence, one could construct a similarity graph that does not include any edge connecting within a pair. It is reasonable to not use the information of edge connecting within pairs as they only reflect that the subjects are distinct enough rather than they are not changed under a different circumstance.
To ensure that the proposed test statistic is well defined, needs to be invertible.
Theorem 2.
The proposed test statistic is well defined except the following two scenarios:
-
1.
For each pair , the two nodes have the same degree in , i.e., , for all ’s; or
-
2.
.
Remark 2.
This theorem follows straightforwardly from the analytic expression of derived in Theorem 1. After some simplifications, we have that the determinant of is
Hence, is well defined except for when , i.e., the two scenarios in Theorem 2.
Let be the subgraph of that connects any nodes in the pairs of and . Then it has eight possible configurations if there is at least one edge in . The eight configurations are shown in Figure 1.

Notice that
where
It is not hard to see that
Hence, if every subgraph belongs to one of the three configurations, , and , then is noninvertible.
2.2 Asymptotics
For the critical value , it can be determined by performing the paired-comparison permutation directly, which is however time consuming. To make the test more application friendly, we study the asymptotic distribution of the statistic .
Before stating the theorem, we define two additional terms on the similarity graph : for edge , let and be the indices of the nodes connected by the edge .
We use to denote that and are of the same order, and to denote that is of a smaller order than .
To derive the asymptotic behavior of our statistic, we work under the following conditions for some :
Condition 1.
.
Condition 2.
.
Condition 3.
.
Remark 3.
The parameter could be any positive number. For example, when , the conditions above become the following conditions (2), (3) and (4), respectively.
(2) |
(3) |
(4) |
Here, Condition (2) sets a constraint on the number of edges sharing a pair in the graph such that it cannot be too large. (A similar condition was proposed for graph-based statistics for independent observations and was discussed in Chen and Friedman (2017) and Chen et al. (2018).)
Theorem 3.
Based on Theorem 3, it is easy to obtain the asymptotic distribution of .
Corollary 1.
We reject the null hypothesis at level when . Based on Corollary 1, can be approximated by , the quantile of the distribution.
We next check how well the rejection region can control Type I error through numerical studies. We consider the following three settings:
-
•
Setting 1 (S1): ;
-
•
Setting 2 (S2): ;
-
•
Setting 3 (S3): .
Here, and with , and . Then, in each setting, the distributions of and are the same.
(a) Empirical size at 0.05 nominal level
(S1) | 0.038 | 0.038 | 0.046 | 0.036 | 0.046 | 0.042 | 0.039 | 0.048 |
---|---|---|---|---|---|---|---|---|
(S2) | 0.040 | 0.043 | 0.030 | 0.045 | 0.041 | 0.048 | 0.042 | 0.041 |
(S3) | 0.039 | 0.025 | 0.042 | 0.040 | 0.034 | 0.040 | 0.040 | 0.037 |
(b) Empirical size at 0.1 nominal level
(S1) | 0.081 | 0.087 | 0.081 | 0.088 | 0.085 | 0.089 | 0.094 | 0.100 |
---|---|---|---|---|---|---|---|---|
(S2) | 0.077 | 0.100 | 0.078 | 0.095 | 0.084 | 0.094 | 0.095 | 0.096 |
(S3) | 0.079 | 0.072 | 0.085 | 0.091 | 0.084 | 0.092 | 0.088 | 0.088 |
Table 2 shows the empirical sizes of the proposed test under 0.05 and 0.1 nominal levels. The empirical size is computed as the fraction of trials (out of 1000) that the test statistic is greater than . We see that the empirical sizes are well controlled for the proposed test even for quite small sample sizes under both low and high dimensions in all three settings.
3 Performance of the proposed test
In this section, we evaluate the performance of the paired graph-based test through two-sample testing for paired nonindependent data and pair matching. The proposed test is compared with the multivariate paired Hotelling’s test (pHT) in Section 3.1, and compared with pHT and four existing tests for matching: the method of combined differences (Hansen and Bowers, 2008), the crossmatch test (Rosenbaum, 2005), CrossNN and CrossMST tests (Chen and Small, 2020) in Section 3.2. The levels of the tests are all set to be 0.05. For the paired graph-based test, we reject the test when . For the paired Hotelling’s test, let , , and . The null hypothesis is rejected if
where denotes the 0.95 quantile of an F-distribution with and degrees of freedom.
3.1 Two-sample testing for paired nonindependent data
We first examine the performance of the proposed test for data from the same family of distributions. We consider the three settings (S1), (S2) and (S3) in Section 2.2 but with different choices of and . Let the number of pairs be fixed at the moderate size with . We assess how the proposed statistic behaves when the dimension is comparable to or larger than the number of pairs by considering three dimensions: , and . For each setting, we consider two alternatives for each listed below.
-
(i)
Only differs from with , , and .
-
(ii)
Parameter differs from and differs from with , , , and , where for , for and for .
(a) Data from the same family of distributions (i) , (ii) , 50 100 1000 50 100 1000 multivariate normal pHT 0.788 - - 0.729 - - 0.709 0.754 0.810 0.972 0.974 0.999 multivariate t pHT 0.750 - - 0.671 - - 0.826 0.823 0.543 0.942 0.941 0.916 multivariate log-normal pHT 0.450 - - 0.611 - - 0.780 0.821 0.847 0.995 0.993 0.992
(b) Data from different families of distributions 50 100 1000 50 100 1000 pHT 0.053 - - 0.429 - - 0.643 0.758 0.980 0.752 0.928 1.000 pHT 0.039 - - 0.416 - - 0.566 0.658 0.960 0.639 0.856 1.000 pHT 0.041 - - 0.440 - - 0.358 0.486 0.920 0.571 0.778 1.000
The results under various scenarios are summarized in Table 3. We first look at the results under moderate-dimensional settings (). When only differs from , the paired Hotelling’s test has high power for the multivariate normal and multivariate distributions, but is not good for the multivariate log-normal distribution. When and , the performance of paired Hotelling’s is much worse than the proposed test , especially for the multivariate log-normal distribution. For results under dimensions and , exhibits pretty good performance under all the settings, while the paired Hotelling’s cannot be applied as .
Additionally, under setting (ii), and are set to be the same as those under setting (i), while becomes different from . Thus, the difference between the two samples should be more significant. Comparing the results under setting (ii) with those under setting (i), we observe an increasing power of for the three distributions, while the power of pHT decreases for the multivariate normal and multivariate distributions.
Now we examine the performance of when and are from different families of distributions. Suppose , , . We generate data by
where is a constant vector, and are independent with each other. Let and . We consider three types of distributions for : (i) , (ii) , variance , skewness 1 and (iii) , variance . Therefore, , , and . Let and . Let with the element of being and . For each , we consider two settings for : and .
Table 3 gives the results. We first take a look at the results when there is no mean difference between the two samples (). When , the means and variances of and are the same, while the two distributions and are different, and we would expect a powerful test to reject the null hypothesis. However, the paired Hotelling’s test has almost no power under and cannot be applied to high-dimensional scenarios (), so it cannot detect the shape difference between two distributions. The proposed test performs well under all these scenarios. When there is a mean difference between the two samples (), the paired Hotelling’s exhibits some power under , though the proposed test has a higher power. For the high dimensional scenarios (), the paired Hotelling’s is inapplicable, while the power of is very high.
3.2 Assessing covariate balance for pair matching
Following a similar simulation setting as in Franklin et al. (2014), we assume that 20-dimensional covariates are observed, where independent identically follows Laplace distribution with mean 0 and variance 0.65. The exposure/treatment, , depends on these 20 covariates as well as three unobserved transformations of them (). We simulate as a binary variable via the logistic model , where and define the log-odds ratios between exposures and controls in the pre-matched data set. We generated 1000 subjects and determined whether each of them is exposed or not. Then the control subjects are matched to exposed subjects through their propensity scores on .
We consider the following four scenarios.
-
(i)
Zero coefficients for both and : and .
-
(ii)
Nonzero coefficients for observed covariates only: and .
-
(iii)
Nonzero coefficients for unobserved covariates only: and .
-
(iv)
Nonzero coefficients for both and : and .
Here, scenario (i) is used to examine the empirical size since the covariates of treated subjects and controls are generated from the same distribution. For each scenario, we simulate 1000 data sets. Define the standardized mean difference as where and are the sample mean and variance for treated subjects and controls . For each of the 23 covariates, we calculate the standardized mean difference between the treatment group and control group before and after matching. Figure 2 shows the boxplots of standardized mean difference of 1000 data set with the left panels denoting before matching and right panels denoting after matching. We see that the standardized mean differences of the observed covariates are relatively close to 0 after matching under all scenarios. However, the unobserved covariates are very unbalanced after matching when (scenarios (iii) and (iv)), which indicates the distribution of () is not well balanced. Since we aim to test whether the joint distributions of the covariates in the matched control group and the treatment group are the same, we would expect that a good test rejects the null hypothesis under scenarios (iii) and (iv), while it accepts the null hypothesis under scenarios (i) and (ii).




Scenario | pHT | CD | CM | |||||
---|---|---|---|---|---|---|---|---|
(i) | 0.000 | 0.000 | 0.030 | 0.018 | 0.024 | 0.029 | 0.035 | 0.050 |
(ii) | 0.000 | 0.000 | 0.018 | 0.020 | 0.034 | 0.022 | 0.040 | 0.069 |
(iii) | 0.003 | 0.001 | 0.579 | 0.510 | 0.677 | 0.473 | 0.537 | 0.907 |
(iv) | 0.010 | 0.005 | 0.540 | 0.530 | 0.670 | 0.505 | 0.515 | 0.925 |
Denote the method of combined differences and crossmatch test by CD and CM, respectively. To apply the CrossNN and CrossMST tests, we consider 1-MST and 5-MST as the similarity graph and denote these tests by , , and , respectively. We present the proportion of trials that the tests reject the null hypothesis at 0.05 significance level in Table 4. We see all tests control empirical size well under scenario (i) and they deem the covariates well balanced under the reasonably balanced scenario (ii). For the results under scenarios (iii) and (iv), we observe the proposed test performs best with the highest power as expected. The crossmatch, CrossNN and CrossMST tests also show some power, while it is much less effective than the proposed test . The paired Hotelling’s test and the method of combined differences do not have power under scenarios (iii) and (iv).
4 A real application on Alzheimer’s disease research
In this section, we illustrate the newly developed test in a research project studying the Alzheimer’s disease. The data were collected by multiple Alzheimer’s Disease Centers between September 2005 and December 2018 (see Beekly et al. (2007) for details). Participants were evaluated on cognitive performance at their initial visits, and latter approximate annual follow-up visits. The information is recorded in the Uniform Data Set (UDS), which is a longitudinal, standardized data set maintained by the National Alzheimer’s Coordinating Center (NACC) and more information can be found in https://www.alz.washington.edu/. The data set consists of about 725 variables obtained from approximately annual comprehensive evaluations of 39,412 research volunteers as of the December 2018 data freeze. In our study, we requested for data containing participants with at least 4 visits.
4.1 Comparison of neuropsychologic performances between two visits
We first study the participants’ neuropsychologic performance over time, so we focused on the Neuropsychological Battery Summary Scores in Form C1, which contains 22 neuropsychology measurement variables. A description of these 22 variables are provided in LABEL:app:variable. We group the participants into three groups according to the CDR Dementia Staging Instrument in their first visits: no dementia (Group I), very mild dementia (Group II), and mild dementia (Group III). We test whether their neuropsychologic performances in five years differ from those in their initial visits. After removing missing data, the sample sizes () of three groups are 1747, 539, and 41, respectively.
Group I | Group II | Group III | ||||
---|---|---|---|---|---|---|
statistic | -value | statistic | -value | statistic | -value | |
pHT | 27.09 | 1e-4 | 11.83 | 1e-4 | 1.44 | 0.2121 |
39.78 | 1e-4 | 37.93 | 1e-4 | 7.60 | 0.0224 |
Table 5 presents the results of the paired Hotelling’s test (pHT) and the proposed test . We first check the results for Group I in testing whether their neuropsychologic measures in five years differ from those in their initial visits. We see that both the paired Hotelling’s test and our new test reject the null hypothesis with extremely small -value. Thus, it is clear there is a significant difference in the neuropsychologic measures between the two visits. Similarly, we would reject the null hypothesis for Group II.
For Group III, as the sample size is relatively small, the power of the tests decreases. We see that the paired Hotelling’s test cannot reject the null hypothesis, while the proposed test rejects the null hypothesis with a small -value. To see which result is more reliable, we check the data in more details. In particular, we perform the paired -test to each of the 22 neuropsychologic measurement variables. It turns out that the paired -test has -value less than 0.05 for 11 out of these 22 variables and the smallest -value is 0.001 (Table 1). Then, by the Bonferroni correction, the paired -test would reject the null hypothesis at 0.05 significance level (), supporting the result from .
These results reveal that for all the participants from the three groups, neuropsychologic measures after several years would become significantly different from those in the initial visits. It suggests that researchers pay attention to the changes of cognitive performance even for no dementia or (very) mild dementia participants.
4.2 Assessment of covariate balance in pair matching for examining sex effect
Several papers have previously reported a sex effect on Alzheimer’s disease (Payami et al., 1996; Podcasy and Epperson, 2016; Grimm et al., 2016). In this study, we focus on the data from the initial visit and only consider the white participant who has no stroke, no transient ischemic attack, no serious heart problem (e.g., atrial fibrillation, cardiac bypass procedure, congestive heart failure), no diabetes, no brain trauma, no Parkinson’s disease, no seizures, no other neurological and psychiatric disorder, do not abuse substances (except alcohol), and meanwhile, no Frontotemporal lobar degeneration mutation and Alzheimer’s disease mutation in her/his family, no cognitive impairment in her/his first-degree family. There are 13 covariates in total under consideration (Table 6). Here, each of TOBAC30, TOBAC100, CVHATT and DEP2YRS is a 0-1 variable, which is transformed to one dummy variable. CVANGIO and ALCOHOL are categorical variables with three categories: absent, recent/active, remote/inactive, and both of them are transformed to two dummy variables, respectively. We match 105 male participants with 105 female participants, among 153 female participants, expecting the covariates in the control (female) group are balanced with the exposed/treated (male) group. We adopt pairmatch() function in the optmatch package in R (Hansen, 2007) on treated to control distances with the distance computed from the match_on() using the logit propensity scores.
(a) Matching results of Section 4.2
Before matching | After matching | |||||||||
Description | Covariates | Male | Female | SD1 | SD2 | SD3 | Female | SD1 | SD2 | SD3 |
Age at visit | NACCAGE | 72.762 | 72.092 | 0.081 | -0.130 | 0.048 | 72.848 | -0.010 | -0.149 | 0.247 |
Body mass index (BMI) | NACCBMI | 26.827 | 26.852 | -0.005 | -0.489 | -0.367 | 26.035 | 0.169 | -0.354 | 0.073 |
Total years smoked cigarettes | SMOKYRS | 9.114 | 9.248 | -0.010 | -0.238 | -0.516 | 9.133 | -0.001 | -0.080 | -0.178 |
Blood pressure, systolic | BPSYS | 135.152 | 133.915 | 0.068 | -0.079 | 0.091 | 134.419 | 0.041 | -0.044 | 0.229 |
Blood pressure, diastolic | BPDIAS | 75.505 | 76.307 | -0.084 | -0.329 | -0.069 | 75.66 | -0.016 | -0.258 | -0.038 |
Smoked cigarettes in last 30 days | TOBAC30 | 0.019 | 0.033 | -0.086 | -0.510 | -2.869 | 0.019 | 0.000 | 0.000 | 0.000 |
Smoked 100 cigarettes in life | TOBAC100 | 0.486 | 0.425 | 0.122 | 0.022 | -0.238 | 0.495 | -0.019 | -0.001 | 0.038 |
Heart attack | CVHATT | 0.114 | 0.013 | 0.422 | 1.534 | 4.741 | 0.019 | 0.387 | 1.364 | 4.037 |
Angioplasty/endarterectomy/stent | CVANGIO | |||||||||
Recent/Active | CVANGIO1 | 0.019 | 0.000 | 0.196 | 1.981 | 19.620 | 0.000 | 0.196 | 1.981 | 19.620 |
Remote/Inactive | CVANGIO2 | 0.095 | 0.026 | 0.291 | 1.078 | 3.414 | 0.019 | 0.331 | 1.275 | 4.252 |
Alcohol abuse | ALCOHOL | |||||||||
Recent/Active | ALCOHOL1 | 0.019 | 0.007 | 0.111 | 0.960 | 8.080 | 0.010 | 0.080 | 0.652 | 5.156 |
Remote/Inactive | ALCOHOL2 | 0.029 | 0.020 | 0.058 | 0.360 | 2.112 | 0.029 | 0.000 | 0.000 | 0.000 |
Active depression in last 2 years | DEP2YRS | 0.229 | 0.294 | -0.149 | -0.162 | 0.120 | 0.210 | 0.046 | 0.062 | -0.007 |
(b) Matching results of Section 4.3 Before matching After matching Description Covariates Male Female SD1 SD2 SD3 Female SD1 SD2 SD3 Age at visit NACCAGE 74.750 73.500 0.162 -0.350 0.258 74.684 0.009 -0.180 0.367 Body mass index (BMI) NACCBMI 26.429 26.894 -0.095 -0.698 -0.816 25.961 0.106 -0.404 -0.844 Total years smoked cigarettes SMOKYRS 9.882 10.308 -0.031 -0.054 -0.039 11.000 -0.079 -0.114 -0.183 Smoked cigarettes in last 30 days TOBAC30 0.026 0.025 0.008 0.049 0.278 0.026 0.000 0.000 0.000
To measure the balance of covariates in the control group and the treatment group, we use the standardized mean difference (SD1), and define the standardized variance difference (SD2) and standardized third central moment difference (SD3) as
where and are the sample variance and the third sample central moment for treated subjects and controls . Table 6 lists means, SD1, SD2 and SD3 before and after matching. We see that the covariates are not balanced before matching. For example, the values of SD1, SD2 and SD3 for CVHATT are 0.422, 1.534 and 4.741. After matching, it seems that the covariates are still not balanced well. For example, SD3 of the four covariates, CVHATT, CVANGIO1, CVANGIO2 and ALCOHOL1, are larger than 4.
Now we apply the paired Hotelling’s (pHT), the method of combined differences (CD), the crossmatch (CM), the CrossNN (NN1, NN2), the CrossMST (MST1, MST2) and the proposed test () to the paired data after matching. Only our proposed test gives small -value 0.005. By contrast, the -values of pHT, CD, CM, NN1, NN2, MST1 and MST2 are 0.087, 0.100, 0.669, 0.541, 0.219, 0.249, 0.266, respectively, which indicates that the other tests cannot reject the null hypothesis of balanced covariates at 0.05 significance level. To explore which result is more reliable, we apply the paired -test to each of the 13 covariates. It turns out that the smallest -value of the paired -test is 0.001. So the paired -test would reject the null hypothesis at 0.05 significance level () by the Bonferroni correction, supporting the result of .
4.3 Comparison of neuropsychologic performances for pair-matched data
Another question of interest is to compare the neuropsychologic performances between well-matched female participants and male participants. To make the matching easier, we focus on the data from the initial visit and only consider the white participant who has no stroke, no transient ischemic attack, no atrial fibrillation, no heart problem, no angioplasty/endarterectomy/stent, no active depression in the last two years, no diabetes, no brain trauma, no Parkinson’s disease, no seizures, no alcohol abuse, no other neurological and psychiatric disorder, and meanwhile, no Frontotemporal lobar degeneration mutation and Alzheimer’s disease mutation in her/his family, no cognitive impairment in her/his first-degree family. In addition, only four covariates, NACCAGE, NACCBMI, SMOKYRS and TOBAC30, are under consideration now (Table 6). Adopting the same matching method as in Section 4.2, we match 76 male participants with 76 female participants, among 120 female participants.
The means, SD1, SD2 and SD3 before and after matching are provided in Table 6. We see the covariates of the data after matching are much more balanced than those in Section 4.2. We apply the proposed test and other existing tests to the matched covariates. Since the -values of pHT, CD, CM, NN1, NN2, MST1, MST2 and are 0.372, 0.366, 0.804, 0.280, 0.688, 0.082, 0.163 and 0.056, respectively, all these tests cannot reject the null hypothesis at 0.05 significance level. So we deem the covariates reasonably balanced jointly.
After obtaining well-matched participants, we apply the paired Hotelling’s test (pHT) and the proposed test () to test whether the neuropsychologic performances in the female group differ from those in the male group. Here, 22 neuropsychology measurement variables are considered as in Section 4.1. The -values of pHT and are 0.068 and 0.008, respectively, so the proposed test rejects the null hypothesis of equal neuropsychologic performances between the female group and the male group, while pHT accepts the null hypothesis at 0.05 significance level. We further explore the data by applying the paired -test to each of the 22 covariates. We see that the smallest -value of the paired -test is 0.001. The paired -test would reject the null hypothesis at 0.05 significance level () by the Bonferroni correction. Therefore, the proposed test is more reliable and the sex may have an effect on Alzheimer’s disease.
5 Discussion
If we are only interested in the location difference or the scale difference. The following two statistics can be considered:
-
•
paired mean test
(5) The test is rejected at level if .
-
•
paired scale test
(6) The test is rejected at level if .
The statistics and are effective for the location and scale alternatives, respectively.
Based on Theorem 3, the asymptotic distributions of and can be derived, and we could set , the quantile of the standard normal distribution, and , for easy implementation of the two tests.
Corollary 2.
With the analytic expressions of the expectations and variances in Theorem 1, we could further study the relationship among the statistics , and .
Proposition 1.
We have
Proof.
Let
It is easy to see that is invertible. From the definition of (Equation (1)), it can be written as
Plugging and , we have . Then, . ∎
6 Conclusion
Paired data arise naturally in a variety of applications. In many contemporary datasets, the number of measurements is often comparable to or even larger than the number of pairs. We propose a new non-parametric test for paired data upon a graph-based two-sample testing framework. Since all existing graph-based tests are inapplicable for paired data owing to the nature of paired observations, we propose to use the paired-comparison permutation null distribution and develop the statistic . The simulation studies demonstrate that works well for assessing covariate balance in pair matching besides testing paired data. It exhibits high power under a wide range of situations including shape, location and/or scale alternatives. Under the paired-comparison permutation null, the asymptotic distribution of our new statistic is also derived. The approximate -value based on the asymptotic result is reasonably accurate to the permutation -value under finite samples, making the test fast applicable in practice.
As one advantage inherited from the graph-based tests, the proposed test can also be applied to multi-type complex data, such as non-Euclidean data, as long as a reasonable distance can be defined over the observations.
Acknowledgements
Hao Chen was supported in part by NSF awards DMS-1513653 and DMS-1848579. Xiao-Hua Zhou was supported in part by the National Science Foundation of China (NSFC 81773546 and NSFC 12026606). The NACC database is funded by NIA/NIH Grant U24 AG072122. NACC data are contributed by the NIA-funded ADRCs: P30 AG019610 (PI Eric Reiman, MD), P30 AG013846 (PI Neil Kowall, MD), P50 AG008702 (PI Scott Small, MD), P50 AG025688 (PI Allan Levey, MD, PhD), P50 AG047266 (PI Todd Golde, MD, PhD), P30 AG010133 (PI Andrew Saykin, PsyD), P50 AG005146 (PI Marilyn Albert, PhD), P50 AG005134 (PI Bradley Hyman, MD, PhD), P50 AG016574 (PI Ronald Petersen, MD, PhD), P50 AG005138 (PI Mary Sano, PhD), P30 AG008051 (PI Thomas Wisniewski, MD), P30 AG013854 (PI Robert Vassar, PhD), P30 AG008017 (PI Jeffrey Kaye, MD), P30 AG010161 (PI David Bennett, MD), P50 AG047366 (PI Victor Henderson, MD, MS), P30 AG010129 (PI Charles DeCarli, MD), P50 AG016573 (PI Frank LaFerla, PhD), P50 AG005131 (PI James Brewer, MD, PhD), P50 AG023501 (PI Bruce Miller, MD), P30 AG035982 (PI Russell Swerdlow, MD), P30 AG028383 (PI Linda Van Eldik, PhD), P30 AG053760 (PI Henry Paulson, MD, PhD), P30 AG010124 (PI John Trojanowski, MD, PhD), P50 AG005133 (PI Oscar Lopez, MD), P50 AG005142 (PI Helena Chui, MD), P30 AG012300 (PI Roger Rosenberg, MD), P30 AG049638 (PI Suzanne Craft, PhD), P50 AG005136 (PI Thomas Grabowski, MD), P50 AG033514 (PI Sanjay Asthana, MD, FRCP), P50 AG005681 (PI John Morris, MD), P50 AG047270 (PI Stephen Strittmatter, MD, PhD).
References
- Beekly et al. (2007) Beekly, D. L., Ramos, E. M., Lee, W. W., Deitrich, W. D., Jacka, M. E., Wu, J., Hubbard, J. L., Koepsell, T. D., Morris, J. C., Kukull, W. A., et al. (2007). The National Alzheimer’s Coordinating Center (NACC) database: the uniform data set. Alzheimer Disease & Associated Disorders 21, 249–258.
- Carter et al. (2012) Carter, C. L., Resnick, E. M., Mallampalli, M., and Kalbarczyk, A. (2012). Sex and gender differences in alzheimer’s disease: recommendations for future research. Journal of Women’s Health 21, 1018–1023.
- Chen et al. (2018) Chen, H., Chen, X., and Su, Y. (2018). A weighted edge-count two-sample test for multivariate and object data. Journal of the American Statistical Association 113, 1146–1155.
- Chen and Friedman (2017) Chen, H. and Friedman, J. H. (2017). A new graph-based two-sample test for multivariate and object data. Journal of the American Statistical Association 112, 397–409.
- Chen and Small (2020) Chen, H. and Small, D. S. (2020). New multivariate tests for assessing covariate balance in matched observational studies. Biometrics .
- Conover (1998) Conover, W. J. (1998). Practical nonparametric statistics, volume 350. John Wiley & Sons.
- Franklin et al. (2014) Franklin, J. M., Rassen, J. A., Ackermann, D., Bartels, D. B., and Schneeweiss, S. (2014). Metrics for covariate balance in cohort studies of causal effects. Statistics in Medicine 33, 1685–1699.
- Friedman and Rafsky (1979) Friedman, J. H. and Rafsky, L. C. (1979). Multivariate generalizations of the Wald-Wolfowitz and Smirnov two-sample tests. The Annals of Statistics 7, 697–717.
- Grimm et al. (2016) Grimm, A., Mensah-Nyagan, A. G., and Eckert, A. (2016). Alzheimer, mitochondria and gender. Neuroscience & Biobehavioral Reviews 67, 89–101.
- Hansen (2007) Hansen, B. B. (2007). Optmatch: Flexible, optimal matching for observational studies. New Functions for Multivariate Analysis 7, 18–24.
- Hansen and Bowers (2008) Hansen, B. B. and Bowers, J. (2008). Covariate balance in simple, stratified and clustered comparative studies. Statistical Science 23, 219–236.
- Mazure and Swendsen (2016) Mazure, C. M. and Swendsen, J. (2016). Sex differences in Alzheimer’s disease and other dementias. The Lancet. Neurology 15, 451.
- McKhann et al. (1984) McKhann, G., Drachman, D., Folstein, M., Katzman, R., Price, D., and Stadlan, E. M. (1984). Clinical diagnosis of Alzheimer’s disease: report of the NINCDS-ADRDA Work Group under the auspices of Department of Health and Human Services Task Force on Alzheimer’s Disease. Neurology 34, 939–939.
- Payami et al. (1996) Payami, H., Zareparsi, S., Montee, K. R., Sexton, G. J., Kaye, J. A., Bird, T. D., Yu, C.-E., Wijsman, E. M., Heston, L. L., Litt, M., et al. (1996). Gender difference in apolipoprotein E-associated risk for familial Alzheimer disease: a possible clue to the higher incidence of Alzheimer disease in women. American Journal of Human Genetics 58, 803.
- Podcasy and Epperson (2016) Podcasy, J. L. and Epperson, C. N. (2016). Considering sex and gender in Alzheimer disease and other dementias. Dialogues in Clinical Neuroscience 18, 437.
- Rosenbaum (2005) Rosenbaum, P. R. (2005). An exact distribution-free test comparing two multivariate distributions based on adjacency. Journal of the Royal Statistical Society: Series B (Statistical Methodology) 67, 515–530.
- Weintraub et al. (2009) Weintraub, S., Salmon, D., Mercaldo, N., Ferris, S., Graff-Radford, N. R., Chui, H., Cummings, J., DeCarli, C., Foster, N. L., Galasko, D., et al. (2009). The Alzheimer’s disease centers’ uniform data set (UDS): The neuropsychological test battery. Alzheimer Disease and Associated Disorders 23, 91.
- Wilcoxon (1992) Wilcoxon, F. (1992). Individual comparisons by ranking methods. In Breakthroughs in statistics, pages 196–202. Springer.