1. Stests: an R package to perform multivariate statistical tests.
- Author
-
Piedrahita García, Jean Paul and Hernández Barajas, Freddy
- Subjects
- *
COVARIANCE matrices , *MONTE Carlo method , *NULL hypothesis , *SAMPLE size (Statistics) - Abstract
The Behrens-Fisher problem refers to a statistical challenge in comparing the mean vectors of two normally distributed p-variate populations when the covariance matrices of these populations are assumed to be unequal. This problem can be addressed using Hotelling's T² test that requires equality of covariance matrices. However, when the assumption of equality between the two covariance matrices is violated, the performance of this test can be affected, leading to incorrect conclusions. This article presents the implementation of 11 alternative tests proposed in the statistical literature for the Behrens-Fisher problem. These tests are hosted in the stests library in R, and any of these tests can be used through a single function. Additionally, this article conducted a Monte Carlo simulation study in which factors such as sample size, the distance between the mean vectors, and a scaling factor between the covariance matrices were examined. The results found that the rejection rate of the null hypothesis (H0: µ1 = µ2) increases when there is a greater discrepancy between the two mean vectors and when the sample size increases. The results demonstrate that all the tests developed in the stests package, which address the multivariate Behrens-Fisher problem, are plausible for comparing two mean vectors. [ABSTRACT FROM AUTHOR]
- Published
- 2024
- Full Text
- View/download PDF