powered by
The Kernel Maximum Mean Discrepancy object class
Objects can be created by calls of the form new("kmmd", ...). or by calling the kmmd function
new("kmmd", ...)
kmmd
kernelf
Object of class "kfunction" contains the kernel function used
"kfunction"
xmatrix
Object of class "kernelMatrix" containing the data used
"kernelMatrix"
Object of class "logical" contains value of : is H0 rejected (logical)
"logical"
AsympH0
Object of class "logical" contains value : is H0 rejected according to the asymptotic bound (logical)
mmdstats
Object of class "vector" contains the test statistics (vector of two)
"vector"
Radbound
Object of class "numeric" contains the Rademacher bound
"numeric"
Asymbound
Object of class "numeric" contains the asymptotic bound
signature(object = "kmmd"): returns the kernel function used
signature(object = "kmmd")
signature(object = "kmmd"): returns the value of H0 being rejected
signature(object = "kmmd"): returns the value of H0 being rejected according to the asymptotic bound
signature(object = "kmmd"): returns the values of the mmd statistics
signature(object = "kmmd"): returns the value of the Rademacher bound
signature(object = "kmmd"): returns the value of the asymptotic bound
kmmd,
# NOT RUN { # create data x <- matrix(runif(300),100) y <- matrix(runif(300)+1,100) mmdo <- kmmd(x, y) H0(mmdo) # }
Run the code above in your browser using DataLab