View source: R/scMANOVApermTest.R
scMANOVApermTest | R Documentation |
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.
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, ...)
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 |
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
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 scMANOVAestimation
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.