Description Usage Arguments Value References Examples
Calculate the U-statistic measure of dependence given two kernel matrices J and K, as described in Section 7.1 of \insertCiteBKS2020USP. For the featured examples considered these matrices can be calculated using FourierKernel or InfKern. Alternatively, if a different basis is to be used, then the kernels can be entered separately.
1 | KernStat(J, K)
|
J |
n \times n kernel matrix corresponding to first sample. |
K |
n \times n kernel matrix corresponding to second sample. |
Test statistic measure the strength of dependence between the two samples.
BKS2020USP
1 2 3 | x=runif(100); y=runif(100); M=3
J=FourierKernel(x,M); K=FourierKernel(y,M)
KernStat(J,K)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.