Two-group absolute-difference statistics.

Tdiff(value, group)

Arguments

value

Value variable of length nobs.

group

Grouping variable of length nobs. Must contain exactly two distinct values.

Value

A vector of length two, containing the absolute difference between group means and group medians, respectively.