scMANOVApermTest {semicontMANOVA} | R Documentation |
Multivariate ANalysis Of VAriance log-likelihood Test with Ridge Regularization for Semicontinuous High-Dimensional Data
Description
scMANOVApermTest
uses a permutation procedure to perform a test
based on a Multivariate ANalysis Of VAriance(MANOVA) Likelihood Ratio test statistic with a ridge
regularization. The statistic is developed for semicontinuous and
high-dimensional data, but can be used also in low-dimensional scenarios.
Usage
scMANOVApermTest(x, n, lambda = NULL, lambda0 = NULL, lambda.step = 0.1,
ident = FALSE, tol = 1e-08, penalty = function(n, p) log(n), B = 500,
parallel = c("no", "multicore", "snow"), ncpus = 1L, cl = NULL,
only.pvalue = TRUE, rm.vars = NA, ...)
Arguments
x |
|
n |
|
lambda |
scalar or a |
lambda0 |
|
lambda.step |
scalar. Step size used in the optimization procedure to find the smallest value of |
ident |
|
tol |
scalar. Used in the optimization procedure to find the smallest value of |
penalty |
|
B |
scalar. Number of permutations to run in the permutation test |
parallel |
The type of parallel operation to be used (if any) |
ncpus |
|
cl |
An optional |
only.pvalue |
|
rm.vars |
|
... |
Further parameters passed to |
Value
If only.pvalue=TRUE
(default) a scalar which is the p-value of the Wilks statistic obtain by a permutation procedure, otherwise an object of class
htest
Author(s)
Elena Sabbioni, Claudio Agostinelli and Alessio Farcomeni
References
Elena Sabbioni, Claudio Agostinelli and Alessio Farcomeni (2024) A regularized MANOVA test for semicontinuous high-dimensional data. arXiv: http://arxiv.org/abs/2401.04036
See Also
scMANOVA
and scMANOVAestimation
Examples
set.seed(1234)
n <- c(5,5)
p <- 20
pmiss <- 0.1
x <- scMANOVAsimulation(n=n, p=p, pmiss=pmiss)
res <- scMANOVApermTest(x=x, n=n, lambda=3.59, lambda0=3.13,
only.pvalue=FALSE)
res