statsmodels.stats.multivariate.test_mvmean_2indep

statsmodels.stats.multivariate.test_mvmean_2indep(data1, data2)[source]

Hotellings test for multivariate mean in two independent samples

The null hypothesis is that both samples have the same mean. The alternative hypothesis is that means differ.

Parameters:
data1 : array_like

first sample data with observations in rows and variables in columns

data2 : array_like

second sample data with observations in rows and variables in columns

Returns:

results – statistic, pvalue, t2 and df

Return type:

instance of a results class with attributes