Hi Mohammad, There an implementation of Knuth's run test in the pLab programs. While these are apparently not being maintained anymore, there is a good description of the code here:
http://random.mat.sbg.ac.at/team/#software Download this file - the Mathematica code is on page 65. Leeb, H. and Lendl, O.: pLab -- Library reference, Version 1.0. Report No. 4, pLab -- reports, University of Salzburg, 1997. Abstract and compressed postscript file available . Jim ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
