[R] Runs up and runs down test

John jwd at surewest.net
Sat May 19 21:09:04 CEST 2012


On Sat, 19 May 2012 09:50:27 +0200
Hans W Borchers <hwborchers at googlemail.com> wrote:

> JWDougherty <jwd <at> surewest.net> writes:
> 
> > Can someone point me to an implementation of the "runs up and runs
> > down" test, or does such beast exist in R? From web searches the
> > "runs up and runs down" test is commonly used for testing
> > pseudo-random number generators and in simulations.  John C. Davis
> > describes its use in geology in his book on geological statistics
> > (2002).  Having searched the full site, I can locate only the
> > "runs.test()" in the tseries package.
> 
> See the "Runs test" in the *Dieharder* random number test suite
> (if I understand your request properly),
> available in R through the 'RDieHarder' package.
> 
> Hans Werner
> 
Thank you Hans.  I'm not sure if it will work or not.  If it is
embedded in the suite and can't be used on other data, it will not
work.  Thanks very much for the help.

JWDougherty



More information about the R-help mailing list