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.1")



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.1, https://cran.r-project.org/web/packages/KMD. Accessed 05 Oct. 2026.
Previous versions and publish date:
0.1.0 (2022-10-06 18:10), (2026-07-09 12:20)
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

genie  
Fast, Robust, and Outlier Resistant Hierarchical Clustering
Includes the reference implementation of Genie - a hierarchical clustering algorithm that links two ...
Download / Learn more Package Citations See dependency  
cdlTools  
Tools to Download and Work with USDA Cropscape Data
Downloads USDA National Agricultural Statistics Service (NASS) cropscape data for a specified state ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
correlation  
Methods for Correlation Analysis
Lightweight package for computing different kinds of correlations, such as partial correlations, Ba ...
Download / Learn more Package Citations See dependency  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

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