Re: [R] Worm distribution :-)

From: <>
Date: Tue 24 Oct 2006 - 12:58:58 GMT

Jim Lemon wrote (in response to a question from Alberto Monteiro):

> I once had to do this to generate "random dot stereograms" for
> perception experiments. One easy way is to build from one corner or
> edge (almost all these are rectangular, you can just clip out the
> figure you want later). The user defines a "hit" area for each
> successive point that contains the minimum and maximum allowable
> distances from the two nearest points (typically a small square).
> Points can be generated with two uniform random numbers having a mean
> of the distance to the center of the "hit" area and a range spanning
> the "hit" square. It was easy to churn out constrained random dot
> patterns on the fly with this method.

        This appears to be:

	(a) closely related to the ideas of ``partially ordered
	Markov models'' developed by Noel Cressie et al (see, e.g.
	Cressie, N., Zhu, J., Baddeley, A. J., and Nair, M. G.
	Directed Markov point processes as limits of partially
	ordered Markov models. Methodology and Computing in Applied
	Probability, 2, 5-21).

	(b) re-invention of the wheel.  As I pointed out in a
	previous posting to the list there are a brazillion ways of
	generating point patterns with interpoint inhibition, readily
	available in R.


					Rolf Turner

______________________________________________ mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed Oct 25 13:04:39 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 25 Oct 2006 - 04:30:15 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.