Skip to contents

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.