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 :

doc_statsmodels
2017-01-18 16:15:23
Comments
Leave a Comment

Please login to continue.