comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Random testing
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Random testing [message #52065 is a reply to message #52063] Tue, 02 January 2007 07:24 Go to previous message
news.verizon.net is currently offline  news.verizon.net
Messages: 47
Registered: August 2003
Member
Joshua wrote:
> Does anybody know how to test
> a binary mask for spatial randomness?
> All I'm trying to do is see whether the 1's are spatially random
> or systematic.

I assume that you are refering to a 2-d mask. You might want to look
at Section 14.7 of "Numerical Recipes" titled "Do Two-Dimensional
Distributions differ?", which provides code for the 2-d K-S test.
Their example model function (quadv1) is a uniform 2-d random
distribution. Unfortunately, I am not aware of an IDL
implementations of this code. (Also check the bug fix at low number
counts given in
http://www.numerical-recipes.com/forum/showthread.php?t=576).

You could also just test the 1-d distributions of X and Y for
randomness, for example, by using the ksone.pro procedure at
http://idlastro.gsfc.nasa.gov/ftp/pro/math/. But this will not rule
out any non-random correlation between X and Y. --Wayne
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Moving XML elements between documents with IDL
Next Topic: Re: Is ITTVIS abandoning me?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 21:37:29 PDT 2025

Total time taken to generate the page: 2.00132 seconds