[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Monte Carlo with preset spatial autocorrelation

From   "Susan Olivia" <>
Subject   st: Monte Carlo with preset spatial autocorrelation
Date   Mon, 11 May 2009 12:39:09 -0700

Dear Stata list,

I am wondering whether it is possible to generate artificial
data with a given strength of spatial autocorrelation (for a
pre-determined weighting matrix)?

I found on the STATA archive that Bill Gould wrote some code
about generating a random variable with a given correlation
structure. Here's the url:

But to do this in a spatial context would seem to be more
complicated given that the spatial autocorrelation will
depend not not only on the own and neighboring values, but
also how far apart they are place. 

If I can get any programming tips on this, much appreciated.


*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index