statsmodels.stats.weightstats.CompareMeans.from_data

classmethod CompareMeans.from_data(data1, data2, weights1=None, weights2=None, ddof1=0, ddof2=0) [source]

construct a CompareMeans object from data

Parameters:
  • data2 (data1,) – compared datasets
  • weights2 (weights1,) – weights for each observation of data1 and data2 respectively, with same length as zero axis of corresponding dataset.
  • ddof2 (ddof1,) – default ddof1=0, ddof2=0, degrees of freedom for data1, data2 respectively.
Returns:
Return type:

A CompareMeans instance.

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.stats.weightstats.CompareMeans.from_data.html