On exit: if
,
gives the
th element of the
th group, with
and
.
If , gives the th element of the pooled covariance, with and .
If , gives the th variance in the th group, with , and .
If , gives the th pooled variance., with and
If , gives the overall variance, with .