scMANOVAestimation computes the regularized Multivariate ANalysis Of
VAriance (MANOVA) maximum likelihood estimates for semicontinuous
high-dimensional data. The estimation can be performed also for
low-dimensional data. The regularization parameters are provided as input
and the user can decide to perform the regularization adding the identity
matrix to the raw estimated covariance matrix (default, ident=TRUE)
or adding the diagonal values of the raw estimated covariance matrix
(ident=FALSE).
scMANOVAestimation(x, n, lambda = NULL, lambda0 = NULL,
ident = TRUE, posdef.check = TRUE, rm.vars = NA)An object of class scMANOVAestimation which is a list with the following components
matrix. Estimated proportion of missing values for each group
matrix. Estimated mean vector for each group
matrix. Estimated covariance matrix with ridge regularization
matrix. Estimated covariance matrix by maximum likelihood
vector. Estimated proportion of missing values under the null hypothesis
vector. Estimated mean vector under the null hypothesis
matrix. Estimated covariance matrix with ridge regularization under null hypothesis
matrix. Estimated covariance matrix by maximum likelihood under null hypothesis
vector or NULL. columns removed in the continuous part of the log-likelihood dues to insufficient number of observations in each group
scalar. Log-likelihood for the discrete part of the model
scalar. Log-likelihood
scalar. Log-likelihood for the discrete part of the model under the null hypothesis
scalar. Log-likelihood under null hypothesis
data.frame or matrix of data with units on the rows and variables on the columns
vector. The length corresponds to the number of groups, the elements to the number of observations in each group
scalar. Ridge regularization parameter
scalar. Ridge regularization parameter under null hypothesis
logical. If TRUE, lambda times the identity matrix is added to the raw estimated covariance matrix, if FALSE the diagonal values of the raw estimated covariance matrix are used instead
logical. Check if the estimated covariance matrix is positive definite
NA, NULL or vector. If NA variables are removed from the analysis when they do not have enough observations to compute covariances. If NULL or a zero length vector all the variables are retained. If it is a vector, it indicates the position of the variables to remove, no further variables are removed
Elena Sabbioni, Claudio Agostinelli and Alessio Farcomeni
Elena Sabbioni, Claudio Agostinelli and Alessio Farcomeni (2025) A regularized MANOVA test for semicontinuous high-dimensional data. Biometrical Journal, 67:e70054 DOI <doi:10.1002/bimj.70054> arXiv DOI <doi:10.48550/arXiv.2401.04036>
scMANOVA and scMANOVApermTest
set.seed(1234)
n <- c(5,5)
p <- 20
pmiss <- 0.1
x <- scMANOVAsimulation(n=n, p=p, pmiss=pmiss)
res <- scMANOVAestimation(x=x, n=n, lambda=3.59, lambda0=3.13)
res
Run the code above in your browser using DataLab