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 25 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

airGRiwrm  
'airGR' Integrated Water Resource Management
Semi-distributed Precipitation-Runoff Modelling based on 'airGR' package models integrating human i ...
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  
foster  
Forest Structure Extrapolation with R
Set of tools to streamline the modeling of the relationship betweensatellite imagery time series or ...
Download / Learn more Package Citations See dependency  
edeaR  
Exploratory and Descriptive Event-Based Data Analysis
Exploratory and descriptive analysis of event based data. Provides methods for describing and select ...
Download / Learn more Package Citations See dependency  
sitmo  
Parallel Pseudo Random Number Generator (PPRNG) 'sitmo' Header Files
Provided within are two high quality and fast PPRNGs that may be used in an 'OpenMP' parallel enviro ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

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