LHZStatistic | R Documentation |
The function calculates the Li et al. (2022) empirical characteristic distance
LHZStatistic(X1, X2)
X1 |
First dataset as matrix |
X2 |
Second dataset as matrix |
Returns the calculated value for the empirical characteristic distance
Li, X., Hu, W. and Zhang, B. (2022). Measuring and testing homogeneity of distributions by characteristic distance, Statistical Papers 64 (2), 529-556, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/s00362-022-01327-7")}
Stolte, M., Kappenberg, F., Rahnenführer, J., Bommert, A. (2024). Methods for quantifying dataset similarity: a review, taxonomy and comparison. Statist. Surv. 18, 163 - 298. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1214/24-SS149")}
LHZ
# Draw some data
X1 <- matrix(rnorm(1000), ncol = 10)
X2 <- matrix(rnorm(1000, mean = 0.5), ncol = 10)
# Calculate LHZ statistic
LHZStatistic(X1, X2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.