U_innerproduct: Inner product in the Hilbert space of U-centered distance...

Description Usage Arguments Value References Examples

View source: R/U_innerproduct.R

Description

Inner product in the Hilbert space of U-centered distance matrices

Usage

1

Arguments

A

U-centered distance matrix

B

U-centered distance matrix

Value

U_innerproduct returns the inner product of A and B, which is a scalar

References

Park, Trevor, Xiaofeng Shao, and Shun Yao. "Partial martingale difference correlation." Electronic Journal of Statistics 9.1 (2015): 1492-1517.

Examples

1
2
3
4
5
A <- iris[1:50, 1:2]
B <- iris[1:50, 3:4]
A_Ucenter <- U_center(A)
B_Ucenter <- U_center(B)
U_innerproduct(A_Ucenter, B_Ucenter)

jeffjyan/MDD documentation built on Dec. 9, 2019, 12:16 a.m.