getRealVStat {flintyR}R Documentation

V Statistic for Real Matrices

Description

Computes VV statistic for a real matrix X\mathbf{X}, where V(X)V(\mathbf{X}) = scaled variance of lppl_p^p distances between the row samples of X\mathbf{X}.

Usage

getRealVStat(X, p)

Arguments

X

The N×PN \times P real matrix

p

The power pp of lppl_p^p, i.e., xpp=(x1p+...xnp)||x||_p^p = (x_1^p+...x_n^p)

Details

Dependencies: getLpDistance

Value

V(X)V(\mathbf{X}), the variance of the pairwise lppl_p^p distance between samples

Examples

X <- matrix(nrow = 5, ncol = 10, rnorm(50))
getRealVStat(X, p = 2)


[Package flintyR version 0.1.0 Index]