Note: the last dimension of the array
s
must be at least
if
, and at least
otherwise.
On exit: if
,
gives the
th element of the
th group.
If , gives the th element of the pooled covariance.
If , gives the th variance in the th group.
If , gives the th pooled variance.
If , gives the overall variance.