DSNET: Distributed Two-Sample Covariance Matrix Testing

View source: R/DSNET.R

DSNETR Documentation

Distributed Two-Sample Covariance Matrix Testing

Description

A fast experimental distributed variance-comparison test. The samples are divided into K non-overlapping blocks. Block summaries are aggregated to construct a global variance-difference statistic. The p-value is obtained by permutation calibration.

This is an experimental alternative, not the original SNET statistic from the thesis.

Usage

DSNET(X, Y, K, B = 20, mc.cores = 1L, k = 3, alpha = 0.05, P = 99)

Arguments

X

Numeric matrix of n1 by p.

Y

Numeric matrix of n2 by p.

K

Number of blocks.

B

Retained for compatibility with existing scripts.

mc.cores

Retained for compatibility.

k

Retained for compatibility.

alpha

Significance level.

P

Number of permutations.

Value

A list containing stat, pval, power, fdr, Xopt and Yopt.


Docovt documentation built on Oct. 19, 2026, 5:06 p.m.

Related to DSNET in Docovt...