Research Article | Open Access

Volume 2021 |Article ID 5526717 | https://doi.org/10.1155/2021/5526717

Weiyan Mu, Xin Wang, Xi Wu, Shifeng Xiong, "Detecting Changes under Multivariate Normal Distributions via the Generalized Inference", Mathematical Problems in Engineering, vol. 2021, Article ID 5526717, 7 pages, 2021. https://doi.org/10.1155/2021/5526717

# Detecting Changes under Multivariate Normal Distributions via the Generalized Inference

Revised09 May 2021
Accepted15 May 2021
Published25 May 2021

#### Abstract

It is commonly encountered in many fields to detect whether a change occurs on a population after a special process. Based on observations for describing the population before and after the process, we formulate this problem as two statistical hypotheses testing problems within a framework of multivariate statistical analysis and then propose a generalized inference approach to solve them. The corresponding generalized values and their calculation details are provided. The proposed method is also extended to multiple testing problems. Simulation studies show that the proposed values have satisfactory frequentist performance. We illustrate our methods with a real application in manufacturing of bearings that are used in medical devices.

#### 1. Introduction

In many practical problems, we need to analyze uncertainty of a population induced by an operation. Specifically, let be the indices that describe the population. For independent individuals from the population, let denote their values of . After some operation acts on these individuals, their values become , respectively. These can be viewed as an independent sample from , the indices of the population after the operation. We are interested in whether the operation has a significant influence on the population, i.e., there exists a significant change from to .

There are a number of examples of the above problem in real applications. In medicine, the population can be the whole patients, and their indices become after they take a kind of drugs. In manufacturing, the population can be the whole products, and their indices become after a certain process. We want to know whether the change from to is statistically significant.

Note that is usually larger than 1, i.e., we need to consider more than one indices simultaneously. This paper studies the problem of testing changes within a framework of multivariate statistical analysis. Let , and assume a multivariate normal distribution with unknown mean and covariance matrix , where is positive definite. The value of can be used to quantify the uncertainty of the change from to , where denotes the trace of a matrix, and we let it be the parameter of interest. Let the independent sample of be , where for . With a prespecified , the problem of testing changes is formulated as the following statistical hypothesis testing problems:where is prespecified by experienced practitioners and can be viewed as a threshold value for justifying whether a change significantly occurs from to . In other words, we say that a change significantly occurs if and only if is greater than . When we need strong evidence to support that change occurs, we should consider testing (1). This can be used in testing whether a drug is effective. When we need strong evidence to support that there is no change, we should consider testing (2). This can be used in manufacturing where we expect that some process does not influence the product.

It should be pointed out that the above statistical problems are completely different from the conventional two-sample comparison test since is not independent of . They are indices of the same population in two phases. Problems (1) and (2) are also different from mean tests or covariance tests of multivariate normal distributions, which can be derived based on the Wilks statistics (likelihood ratio statistics) , since the parameter involves both the mean and a part of the covariance matrix. To the best of our knowledge, there is no work on the above statistical hypothesis testing problems for detecting changes. Existing research studies on change detection in the literature  relate to different statistical models or focuses. Note that the distributions of the likelihood ratio statistics under the null one-sided hypotheses like (1) and (2) are very complicated . In this paper, we use the generalized inference approach [6, 7] to provide generalized -values of testing (1) and (2). The concept of the generalized value was introduced by Tsui and Weerahandi ; this idea was extended to interval estimation by Weerahandi . Since then the generalized inference approach has been successfully applied to many complex inferential problems, many of which appear in industry and medical science, see Mu et al. , Chen and Ye , and Feng and Tian  among many others. For multivariate normal distributions, Gamage et al.  and Park  proposed the generalized inference methods for specified problems, which are different from the above testing problems in (1) and (2). The generalized inference approach is proven to be asymptotically correct under mild conditions . Simulation results in the literature indicate that this approach usually possesses good frequentist properties. Another appealing feature of the generalized inference approach is its simplicity under some parametric models, especially normal models. We do not need to derive complex (asymptotic) distributions of test statistics such as the likelihood ratio statistics for one-sided hypotheses.

This paper is organized as follows. Section 2 presents the generalized inference approach for testing (1) and (2). Section 3 extends the proposed method to multiple testing problems. In Section 4, we make a simulation study for Type-I error and power performance of the proposed methods. We apply our method to a dataset in manufacturing in Section 5. We conclude the paper with some concluding remarks in Section 6.

#### 2. Methodology

Based on the sample independently and identically distributed from , we first construct the generalized pivotal quantities of the unknown parameters , which can induce the generalized pivotal quantity of . Then, the generalized values for testing (1) and (2) can be given by the generalized pivotal quantity of .

Let

It is known that , the Wishart distribution with degrees of freedom and scale parameter matrix . Let be the Cholesky factor of . That is, , where is a lower triangular matrix with positive diagonal elements. Such a decomposition is unique for any positive definite matrix . Let be the Cholesky factor of with positive diagonal elements. Writeand we see that is a lower triangular matrix with positive diagonal elements and , which indicates that is the unique Cholesky factor of . On the contrary, we writeand is independent of . Based on the construction method of generalized pivotal quantities introduced by , we can obtain from (4) and (5) that the generalized pivotal quantities of and are

Therefore, the generalized pivotal quantity of is

By (7), the generalized -values for testing (1) and (2) are given byrespectively.

Note that can be viewed as a distribution estimator  or a generalized bootstrap variable  for . Some experience shows that overestimates in finite-sample cases, and this will lead to biases in testing one-side hypotheses such as (1) and (2). To overcome the difficulty, here we use Xiong  generalized bootstrap variable method to present new values for (1) and (2). Letbe the maximum likelihood estimator of . By Xiong  method, can be used to approximate the distribution of , and this leads to values for testing (1) and (2):respectively. We can use some combinations of the above results to give values. Algorithm 1 provides implemental details for computing the value in (11), and those for computing (8), (9), and (12) can be obtained similarly.

 Inputs: the sample , the threshold value , and the Monte Carlo sample size Steps: (1) Compute and in (3) and in (10). (2) Compute the Cholesky factor of with positive diagonal elements. (3) For : Generate independent of . Compute the Cholesky factor of with positive diagonal elements. By (7), compute the th observation . End loop. (4) Compute , where is the indicator function.

#### 3. Extension to Multistage Detections

We sometimes need to detect the changes after a multistage process. Let denote the initial indices of the population. After the th stage, becomes for . Denote , where with unknown mean and unknown positive definite covariance matrix for . We want to know which ones among the changes, , are statistically significant. Then, problems (1) and (2) should be extended to the following two multiple testing problems:andrespectively. Here, the threshold values , are prespecified.

Let . Based on the independent sample , we provide a Bonferroni inequality method for (13) and (14). The Bonferroni inequality is commonly used in multiple comparison problems . Algorithm 2 presents implemental details of our method for (13), and those for (14) can be obtained similarly. It can be seen that the Bonferroni inequality method is simple to implement. It does not depend on the correlations between and can control the family-wise error rate .

 Inputs: The sample , the threshold values , and the nominal level . Steps: (1) For : Use sample to compute the -value for testing by the generalized inference approach in Section 2. End loop. (2) Reject the null hypotheses if .
Inputs:The sample , the threshold values , and the nominal level .Steps:(1)For :Use sample to compute the -value for testingby the generalized inference approach in Section 2.End loop.(2)Reject the null hypotheses if .

#### 4. Simulation Study

We now illustrate the proposed procedure with some simulated data. We consider the following cases:

For each case, we use Algorithm 1 to implement our tests when . The combinations of are given in Table 1. The Monte Carlo sample size in Algorithm 1 is set as . The empirical Type-I errors over 10,000 repetitions are shown in Table 1. We can see that most errors are close to or less than the nominal level . As increases, the errors become closer to . These findings indicate that the proposed testing methods are effective.

 Case (I) Case (II) Case (III) Case (IV) Testing (1), Testing (2), Testing (1), Testing (2), 0.061 0.054 0.056 0.061 0.027 0.047 0.047 0.053 0.098 0.068 0.058 0.049 0.006 0.018 0.025 0.034 0.073 0.053 0.054 0.046 0.034 0.032 0.045 0.046 0.066 0.050 0.038 0.039 0.016 0.024 0.038 0.045

In addition, we compute the powers of our test for (1) under Case (I). First, we let increase and compute the powers at and . The results are shown in the left side of Figure 1. Then, we fix , and compute the powers at and with increasing . The results are displayed in the right side of Figure 1. It can be seen that the power performance of our method is reasonable: the power tends to one fast as or increases.

#### 5. Case Study

A bearing is the basic element of any rotating mechanism . For a certain type of bearings that are used in medical devices, we investigate the manufacturing process of their retainers. Figure 2 shows a type of bearing retainers. There is a postprocessing in the entire manufacturing process, including two cleaning stages and one heat treatment stage. The objective is to assess whether the inner and outer diameters of the retainers significantly change after each stage in the postprocessing.

In this study, we obtain 34 sample retainers and measure their inner and outer diameters before and after the postprocessing. The original data cannot be open due to a confidentiality agreement, and thus, they were slightly modified via a linear transformation. We use the modified data to conduct our analysis. For the th retainer, let and denote its diameters before and after stage , respectively, where the first and second components of represent the inner and outer diameters, respectively. The scatter plots of and are presented in Figure 3 for . Based on the data, we test the multiple hypotheses (14) using the Bonferroni inequality method in Algorithm 2. The values of in the three stages are, respectively, , , and , which are suggested by engineers. With the Monte Carlo sample size , we obtain the generalized values , , and , respectively. Given the nominal level , we should reject and , and this indicates that the inner and outer diameters do not significantly change after the second cleaning stage and the heat treatment stage.

#### 6. Concluding Remarks

In this paper, we have proposed a multivariate statistical approach to detect whether a change occurs after some process. The parameter of interest in our approach describes both changes in mean and variance terms and can be acted as an index to detect the change of the population. The generalized values for testing whether the parameter of interest exceeds a threshold value have been presented, and we have shown them to have good performance in our simulations. We also apply our methods to analyze products of bearing retainers and conclude that they do not significantly change after two stages in the postprocessing. A future topic is to extend our methods to other models when the normal assumption does not match the data. For such cases, it may be difficult to use the generalized inference approach. We will consider to combine this approach and other popular inferential methods such as the bootstrap method [20, 21]. Another possible future direction is to study the false discovery rate control method  when the number of stages in Section 3 is large.

#### Data Availability

In the case study part (Section 5), we obtain 34 sample retainers and measure their inner and outer diameters before and after the postprocessing. The data cannot be open due to a confidentiality agreement, and thus, they were slightly modified.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest.

#### Acknowledgments

This work was supported by the National Natural Science Foundation of China (Grant nos. 11671386, 11871033, and 11871294).

1. H. Nagao, “On some test criteria for covariance matrix,” Annals of Statistics, vol. 1, pp. 700–709, 1973. View at: Publisher Site | Google Scholar
2. D. Ciuonzo, V. Carotenuto, and A. De Maio, “On multiple covariance equality testing with application to SAR change detection,” IEEE Transactions on Signal Processing, vol. 65, no. 19, pp. 5078–5091, 2017. View at: Publisher Site | Google Scholar
3. T. Banerjee, H. Firouzi, and A. O. Hero, “Non-parametric quickest change detection for large scale random matrices,” in Proceedings of the 2015 IEEE International Symposium on Information Theory (ISIT), Hong Kong, June 2015. View at: Publisher Site | Google Scholar
4. D. Ciuonzo and P. Salvo Rossi, “DECHADE: detecting slight changes with hard decisions in wireless sensor networks,” International Journal of General Systems, vol. 47, no. 5, pp. 535–548, 2018. View at: Publisher Site | Google Scholar
5. T. Robertson, F. T. Wright, and R. L. Dykstra, Order Restricted Statistical Inference, Wiley, New York, NY, USA, 1988.
6. K.-W. Tsui and S. Weerahandi, “Generalizedp-values in significance testing of hypotheses in the presence of nuisance parameters,” Journal of the American Statistical Association, vol. 84, no. 406, pp. 602–607, 1989. View at: Publisher Site | Google Scholar
7. S. Weerahandi, “Generalized confidence intervals,” Journal of the American Statistical Association, vol. 88, no. 423, pp. 899–905, 1993. View at: Publisher Site | Google Scholar
8. W. Mu, X. Xu, and S. Xiong, “Inference on system reliability for independent series components,” Communications in Statistics: Theory and Methods, vol. 38, pp. 409–418, 2009. View at: Google Scholar
9. P. Chen and Z.-S. Ye, “A systematic look at the gamma process capability indices,” European Journal of Operational Research, vol. 265, no. 2, pp. 589–597, 2018. View at: Publisher Site | Google Scholar
10. Y. Feng and L. Tian, “Measuring diagnostic accuracy for biomarkers under tree-ordering,” Statistical Methods in Medical Research, vol. 28, no. 5, pp. 1328–1346, 2019. View at: Publisher Site | Google Scholar
11. J. Gamage, T. Mathew, and S. Weerahandi, “Generalized p-values and generalized confidence regions for the multivariate Behrens-Fisher problem and MANOVA,” Journal of Multivariate Analysis, vol. 88, no. 1, pp. 177–189, 2004. View at: Publisher Site | Google Scholar
12. J. Park, “The generalized P-value in one-sided testing in two sample multivariate normal populations,” Journal of Statistical Planning and Inference, vol. 140, no. 4, pp. 1044–1055, 2010. View at: Publisher Site | Google Scholar
13. J. Hannig, H. Iyer, and P. Patterson, “Fiducial generalized confidence intervals,” Journal of the American Statistical Association, vol. 101, no. 473, pp. 254–269, 2006. View at: Publisher Site | Google Scholar
14. S. Xiong and W. Mu, “On construction of asymptotically correct confidence intervals,” Journal of Statistical Planning and Inference, vol. 139, no. 4, pp. 1394–1404, 2009. View at: Publisher Site | Google Scholar
15. S. Xiong, “An asymptotics look at the generalized inference,” Journal of Multivariate Analysis, vol. 102, no. 2, pp. 336–348, 2011. View at: Publisher Site | Google Scholar
16. D. A. Harville, Matrix Algebra from a Statistician’s Perspective, Springer, New York, NY, USA, 1997.
17. M.-g. Xie and K. Singh, “Confidence distribution, the frequentist distribution estimator of a parameter: a review,” International Statistical Review, vol. 81, no. 1, pp. 3–39, 2013. View at: Publisher Site | Google Scholar
18. S. Dudoit and M. J. van der Laan, Multiple Testing Procedures with Applications to Genomics, Springer, New York, NY, USA, 2008.
19. T. A. Harris and M. N. Kotzalas, Essential Concepts of Bearing Technology, CRC Press Marcel Dekker, New York, NY, USA, 2006.
20. S. Xiong and W. Mu, “Nonparametric interval estimation in one-way random-effects models,” Communications in Statistics: Theory and Methods, vol. 38, no. 3, pp. 322–331, 2009. View at: Publisher Site | Google Scholar
21. S. Xiong, “Local optimization-based statistical inference,” Electronic Journal of Statistics, vol. 11, pp. 2295–2320, 2017. View at: Publisher Site | Google Scholar
22. Y. Benjamini and Y. Hochberg, “Controlling the false discovery rate: a practical and powerful approach to multiple testing,” Journal of the Royal Statistical Society: Series B (Methodological), vol. 57, no. 1, pp. 289–300, 1995. View at: Publisher Site | Google Scholar