Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: xclust
See also: discrim distance lpdist

Quantlet: 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, observations of sample 1
x2 n2 x p matrix, observations of sample 2
Output:
p 2 x 1 vector, the estimate of the actual error rate (AER)

Example:
library("xplore")
library("xclust")
randomize(0)
x1 =normal(100, 2)
x2 = normal(50, 2) + 0.8
p  = aerlb(x1, x2)
p

Result:
Contents of p

[1,] 0.25 0.28



Author: W. Haerdle, 20010912 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006