Robust statistics for testing equality of means or variances