Evaluation function (II): Multivalued Ag
for a multivalued target variable Ag with values xi:

Ti = {t in ro | t[Ag] = xi}

 
A subgroup h is considered "unusual" if

2. the distribution of Ti in c(h) is significantly different from the distribution in ro

 
 
 
 Evaluating unusualness: 
Let pi0:=| Ti |/| r0 |, pi := | c(h)  Ç Ti | / | c(h) |, g = |c(h) / | r0 
       d(h) := g * Si=1..n(pi-pi0)^2                 (0 if g < s0)