Runs.runs_test()

statsmodels.sandbox.stats.runs.Runs.runs_test

Runs.runs_test(correction=True) [source]

basic version of runs test

Parameters:

correction: bool

Following the SAS manual, for samplesize below 50, the test statistic is corrected by 0.5. This can be turned off with correction=False, and was included to match R, tseries, which does not use any correction.

pvalue based on normal distribution, with integer correction

© 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.sandbox.stats.runs.Runs.runs_test.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部