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:
data1array_like

first sample data with observations in rows and variables in columns

data2array_like

second sample data with observations in rows and variables in columns

Returns:
resultsinstance of a results class with attributes

statistic, pvalue, t2 and df


Last update: Oct 29, 2024