| Library: | xclust |
| See also: | discrim distance lpdist |
| Macro: | aerlb | |
| Description: | computes the Lachenbruch-Mickey unbiased estimate of the actual discrimination error rate |
| Usage: | p = aerlb(x1, x2) | |
| Input: | ||
| x1 | n1 x p matrix (sample 1) | |
| x2 | n2 x p matrix (sample2) | |
| Output: | ||
| p | 2 x 1 vector, the estimate of the actual error rate (AER) | |
library("xplore")
library("xclust")
x1=normal(100, 2)
x2 = normal(50, 2) + 0.8
p = aerlb(x1, x2)
p
[1,] 0.250000 0.280000
| Library: | xclust |
| See also: | discrim distance lpdist |