var_two {QuadratiK}R Documentation

Exact variance of two-sample test

Description

Compute the exact variance of kernel test for the two-sample problem under the null hypothesis that F=G.

Usage

var_two(Kcen, nsamples)

Arguments

Kcen

the matrix with centered kernel values

nsamples

vector indicating sample's membership.

Value

the value of computed variance.


[Package QuadratiK version 1.1.3 Index]