statsmodels.stats.multivariate.test_mvmean_2indep

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

两个独立样本中多元均值的Hotelling检验

原假设是两个样本具有相同的均值。 备择假设是均值不同。

Parameters:
data1array_like

第一个样本数据,观测值在行中,变量在列中

data2array_like

第二个样本数据,观测值在行中,变量在列中

Returns:
resultsinstance of a results class with attributes

统计量, p值, t2 和 df


Last update: Oct 16, 2024