DescStatUV.test_mean()

statsmodels.emplike.descriptive.DescStatUV.test_mean

DescStatUV.test_mean(mu0, return_weights=False) [source]

Returns - 2 x log-likelihood ratio, p-value and weights for a hypothesis test of the mean.

Parameters:

mu0 : float

Mean value to be tested

return_weights : bool

If return_weights is True the funtion returns the weights of the observations under the null hypothesis. Default is False

Returns:

test_results : tuple

The log-likelihood ratio and p-value of mu0

© 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.emplike.descriptive.DescStatUV.test_mean.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部