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]
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 29 Mar. 2025.
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
02/2702/2803/0103/0203/0303/0403/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/28Downloads for KMD234567891011121314TrendBars

Today's Hot Picks in Authors and Packages

landmix  
Landmark Prediction for Mixture Data
Non-parametric prediction of survival outcomes for mixture data that incorporates covariates and a l ...
Download / Learn more Package Citations See dependency  
gglgbtq  
Show Pride on 'ggplot2' Plots
Provides multiple palettes based on pride flags with tailored themes. ...
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  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

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