Hotelling's T-squared test and variants