getWithin | R Documentation |
Calculate the energy distance within a data set.
getWithin(alpha_, X_)
alpha_ |
A weighting parameter used for calculating the energy distance. This value should be in (0,2]. |
X_ |
A n by d matrix of the n d-dimensional observations. |
The returned value is a real number indicating the energy distance within the given data set.
Nicholas A. James
James NA, Matteson DS (2013). A Nonparametric Approach for Multiple Change Point Analysis of Multivariate Data.
Nicholas A. James, David S. Matteson (2014). "ecp: An R Package for Nonparametric Multiple Change Point Analysis of Multivariate Data.", "Journal of Statistical Software, 62(7), 1-25", URL "http://www.jstatsoft.org/v62/i07/"
Rizzo ML, Szekely GL (2005). Hierarchical clustering via joint between-within distances: Extending ward's minimum variance method. Journal of Classification. pp. 151 - 183.
Rizzo ML, Szekely GL (2010). Disco analysis: A nonparametric extension of analysis of variance. The Annals of Applied Statistics. pp. 1034 - 1055.
e.agglo
e.divisive
set.seed(100)
X = matrix(rnorm(150),ncol=2)
alpha = 1
distance = getWithin(alpha,X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.