Performed on a set of non-negative numbers and labels of size N. There must be two specific labels. Label 1 must be 1 and label 2 must be 2. There can also be any other labels that will be ignored.
T value
Find the number and sum of each group.
Na: number of values in group 1
Nb: number of values in group 2
N: Na + Nb
Sa:
Sb:
Compute the sample mean of each group.
Ma:
Mb:
Compute the sum of squared deviates for each group.