Multi-group variance statistics.
Tvar(value, group)
Arguments
value |
Value variable of length nobs . |
group |
Grouping variable of length nobs . Must contain two or more distinct values. |
Value
A vector of length two, containing the variance of within-group means and within-group medians, respectively.