bwd1avar: bwd1avar

View source: R/bwd1avar.R

bwd1avarR Documentation

bwd1avar

Description

Given a q-dimensional random vector \mathbf{X} = (\mathbf{X}_{1},...,\mathbf{X}_{k}) with \mathbf{X}_{i} a d_{i}-dimensional random vector, i.e., q = d_{1} + ... + d_{k}, this function computes the asymptotic variance of the plug-in estimator for the correlation-based Bures-Wasserstein coefficient \mathcal{D}_{1} between \mathbf{X}_{1},...,\mathbf{X}_{k} given the entire correlation matrix \mathbf{R}. The argument dim should be in ascending order.

Usage

bwd1avar(R, dim)

Arguments

R

The correlation matrix of \mathbf{X}.

dim

The vector of dimensions (d_{1},...,d_{k}), in ascending order.

Details

The asymptotic variance of the plug-in estimator \mathcal{D}_{1}(\widehat{\mathbf{R}}_{n}) is computed at \mathbf{R}, where \widehat{\mathbf{R}}_{n} is the sample matrix of normal scores rank correlations. The underlying assumption is that the copula of \mathbf{X} is Gaussian.

Value

The asymptotic variance of the plug-in estimator for the first Bures-Wasserstein dependence coefficient \mathcal{D}_{1} between \mathbf{X}_{1},...,\mathbf{X}_{k}.

References

De Keyser, S. & Gijbels, I. (2024). High-dimensional copula-based Wasserstein dependence. doi: https://doi.org/10.48550/arXiv.2404.07141.

See Also

bwd1 for the computation of the first Bures-Wasserstein dependence coefficient \mathcal{D}_{1}, bwd2 for the computation of the second Bures-Wasserstein dependence coefficient \mathcal{D}_{2}, bwd2avar for the computation of the asymptotic variance of the plug-in estimator for \mathcal{D}_{2}, bwd1asR0 for sampling from the asymptotic distribution of the plug-in estimator for \mathcal{D}_{1} under the hypothesis of independence between \mathbf{X}_{1},\dots,\mathbf{X}_{k}, bwd2asR0 for sampling from the asymptotic distribution of the plug-in estimator for \mathcal{D}_{2} under the hypothesis of independence between \mathbf{X}_{1},\dots,\mathbf{X}_{k}, estR for the computation of the sample matrix of normal scores rank correlations, otsort for rearranging the columns of sample such that dim is in ascending order.

Examples

q = 10
dim = c(1,2,3,4)

# AR(1) correlation matrix with correlation 0.5
R = 0.5^(abs(matrix(1:q-1,nrow = q, ncol = q, byrow = TRUE) - (1:q-1)))

bwd1avar(R,dim)

VecDep documentation built on April 4, 2025, 5:14 a.m.