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 04 Jun. 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

murphydiagram  
Murphy Diagrams for Forecast Comparisons
Data and code for the paper by Ehm, Gneiting, Jordan and Krueger ('Of Quantiles and Expectiles: Con ...
Download / Learn more Package Citations See dependency  
golem  
A Framework for Robust Shiny Applications
An opinionated framework for building a production-ready 'Shiny' application. This package contains ...
Download / Learn more Package Citations See dependency  
AMPLE  
Shiny Apps to Support Capacity Building on Harvest Control Rules
Three Shiny apps are provided that introduce Harvest Control Rules (HCR) for fisheries management. ...
Download / Learn more Package Citations See dependency  
phers  
Calculate Phenotype Risk Scores
Use phenotype risk scores based on linked clinical and genetic data to study Mendelian disease and ...
Download / Learn more Package Citations See dependency  
crplyr  
A 'dplyr' Interface for Crunch
In order to facilitate analysis of datasets hosted on the Crunch data platform ...
Download / Learn more Package Citations See dependency  
shinybusy  
Busy Indicators and Notifications for 'Shiny' Applications
Add indicators (spinner, progress bar, gif) in your 'shiny' applications to show the user that the ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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