When installing the TVMM package, type the following command: install.packages(“TVMM”, dependencies = TRUE). If you have already installed the package when trying to use the interactive guide (guiTVMM ()), a message will appear. Install the tkrplot package as the following command line: install.packages(“tkrplot”).
This GUI aims to offer the user an interactive way to carry out decision-making procedures under the vector of population means of non-normal, normal, and normal contaminated populations. For this, the TVMM package available in software R was built with the main objective of providing alternative statistical tests to the well-known T2 test of Hotelling that works for high-dimensional data and are more general, not requiring multivariate normality of the data. One of the limitations of the traditional T2 test is that it is not applicable for data of this nature due to the singularity of the covariance matrix. In addition, it should not be used under non-normality and heterogeneity of the variances. Our proposed tests adapted to the likelihood ratio test (LRT) do not present these limitations.
The data must be saved in an excel file with the extension .csv or a notepad file with extension .txt, one file for the data matrix and another for the vector of averages (see Figure 1).
Figure 1: Data presentation: observation matrix and vector of means (.txt).
To use this GUI it is necessary to have software R (https://cran.r-project.org/) and RStudio, free version (https://rstudio.com/products/rstudio/download/). Then install and load the TVMM package. Right after, type the following command: guiTVMM(gui = TRUE). A graphical interface will appear, as shown in Figure 2.
Figure 2: Installing the package and loading the GUI.