: R-Stat Help R-help@stat.math.ethz.ch
Subject: Re: [R] a series of 1's and -1's
On Wed, 11 Jan 2006, Mark Leeds wrote:
Does anyone know of a simple test
in any R package that given
a series of negative ones and positive
ones ( no other values are possible in the series )
returns a test
You could try to zip your data file and see whether there is a change in
file size that you feel is significant in which case the series is not
random (-:
... after converting the -1s and 1s to bits, of course.
__
R-help@stat.math.ethz.ch mailing
Does anyone know of a simple test
in any R package that given
a series of negative ones and positive
ones ( no other values are possible in the series )
returns a test of whether the series is random or not.
( a test at each point would be good but
I can use the apply function to implement
that )
on informational entropy here:
http://en.wikipedia.org/wiki/Informational_entropy
And if you do find a test in R, I would be interested as well.
Best,
Robert
-Original Message-
From: Mark Leeds [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 11, 2006 4:46 PM
To: R-Stat Help
Subject: [R] a series
On Wed, 11 Jan 2006, Mark Leeds wrote:
Does anyone know of a simple test
in any R package that given
a series of negative ones and positive
ones ( no other values are possible in the series )
returns a test of whether the series is random or not.
( a test at each point would be good but
I