getCov {flintyR} | R Documentation |
Covariance Computations Between Pairs of Distances (Independent Case)
Description
Computes covariance matrix entries and associated alpha, beta
and gamma quantities defined in Aw, Spence and Song (2023),
assuming the features of the dataset
are independent.
Usage
getCov(X, p = 2)
Arguments
X |
The binary or real matrix |
p |
The power |
Details
This is used in the large asymptotics of the permutation test.
Dependencies: buildReverse, getLpDistance
Value
The three distinct entries of covariance matrix,
[Package flintyR version 0.1.0 Index]