| kb.test-class | R Documentation | 
A class to represent the results of Gaussian kernel-based quadratic distance tests. This includes the normality test, the two-sample test statistics and the k-sample tests.
methodString indicating the kernel-based quadratic distance test performed.
UnThe value of the test U-statistic.
VnThe value of the test V-statistic.
H0_UnA logical value indicating whether or not the null hypothesis is rejected according to U-statistic.
H0_VnA logical value indicating whether or not the null hypothesis is rejected according to Vn.
dataList of samples X (and Y).
CV_UnThe critical value computed for the test Un.
CV_VnThe critical value computed for the test Vn.
cv_methodThe method used to estimate the critical value (one of "subsampling", "permutation" or "bootstrap").
hA list with the value of bandwidth parameter used for the Gaussian
kernel. If the function select_h is used, then also the matrix
of computed power values and the resulting power plot are provided.
BNumber of bootstrap/permutation/subsampling replications.
var_UnExact variance of the kernel-based U-statistic.
kb.test() for the function that generates this class.
# create a kb.test object
x <- matrix(rnorm(100), ncol = 2)
y <- matrix(rnorm(100), ncol = 2)
# Normality test
kb.test(x, h = 0.5)
# Two-sample test
kb.test(x, y, h=0.5, method = "subsampling", b = 0.9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.