Other packages > Find by keyword >

KMD  

Kernel Measure of Multi-Sample Dissimilarity
View on CRAN: Click here


Download and install KMD package within the R console
Install from CRAN:
install.packages("KMD")

Install from Github:
library("remotes")
install_github("cran/KMD")

Install by package version:
library("remotes")
install_version("KMD", "0.1.0")



Attach the package and use:
library("KMD")
Maintained by
Zhen Huang
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2022-10-06
Latest Update: 2022-10-06
Description:
Implementations of the kernel measure of multi-sample dissimilarity (KMD) between several samples using K-nearest neighbor graphs and minimum spanning trees. The KMD measures the dissimilarity between multiple samples, based on the observations from them. It converges to the population quantity (depending on the kernel) which is between 0 and 1. A small value indicates the multiple samples are from the same distribution, and a large value indicates the corresponding distributions are different. The population quantity is 0 if and only if all distributions are the same, and 1 if and only if all distributions are mutually singular. The package also implements the tests based on KMD for H0: the M distributions are equal against H1: not all the distributions are equal. Both permutation test and asymptotic test are available. These tests are consistent against all alternatives where at least two samples have different distributions. For more details on KMD and the associated tests, see Huang, Z. and B. Sen (2022) .
How to cite:
Zhen Huang (2022). KMD: Kernel Measure of Multi-Sample Dissimilarity. R package version 0.1.0, https://cran.r-project.org/web/packages/KMD. Accessed 06 Mar. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited KMD R package
View KMD citation profile
Other R packages that KMD depends, imports, suggests or enhances
Complete documentation for KMD
Functions, R codes and Examples using the KMD R package
Some associated functions: KMD . KMD_test . 
Some associated R codes: KMD.R .  Full KMD package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  
DatabionicSwarm  
Swarm Intelligence for Self-Organized Clustering
Algorithms implementing populations of agents that interact with one another and sense their environ ...
Download / Learn more Package Citations See dependency  
EMVS  
The Expectation-Maximization Approach to Bayesian Variable Selection
An efficient expectation-maximization algorithm for fitting Bayesian spike-and-slab regularization p ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
openxlsx  
Read, Write and Edit xlsx Files
Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, stylin ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA