[Date Index]
[Thread Index]
[Author Index]
Re: Randomness Test
*To*: mathgroup at smc.vnet.net
*Subject*: [mg57993] Re: Randomness Test
*From*: dh <dh at metrohm.ch>
*Date*: Thu, 16 Jun 2005 05:35:50 -0400 (EDT)
*References*: <d8oul6$a$1@smc.vnet.net>
*Sender*: owner-wri-mathgroup at wolfram.com
Hi Dave,
why do you not simply calculate the mean:
Mean[data]
If you are only interessted in the sign and the values do not matter you
could calculate how many more positives than negatives there are by:
Total[Sign/@ data]
sincerely, Daniel
Dave miller wrote:
> Okay, I have a sequence of numbers as below. When i do a scatter plot, there seems to be a bias toward positive numbers. Although when I run some tests like "runs test", it shows me that the numbers are random. If that is the case, then when i plot the numbers on a scatter plot, should'nt they be equally divided up and below the x axis? My goal is to prove that that there is a significant bias towards positive numbers.
>
>
> -0.164971751
> 1.137014315
> 0.622389791
> 0.048958333
> 1.232944503
> 0.3241877
> 0.1015
> 0.075538717
> 0.265537849
> -0.175252257
> 0.279807692
> -0.409979424
> 0.628232355
> -0.137667494
> 0.210711568
> -0.984059857
> -0.016778523
> 0.384063745
> 0.079707844
> -0.183936235
> -0.567394095
> 0
> 0.277777778
> 0.785185185
> 0.267555556
> 0.078717201
> 0.344352617
> 0
> 0.442245021
> 0.310665658
> 0.788764045
> 0.015850552
> -0.054098361
> 0
> 0
> 0.929482371
> 0.278787879
> 0.123773346
> 0.125175809
> 0
> 0
>
Prev by Date:
** Re: For Loop and Array related**
Next by Date:
**Problem defining assumptions on a set of variables**
Previous by thread:
**Re: Randomness Test**
Next by thread:
**Re: Randomness Test**
| |