[R-sig-Geo] Generating geo-statistical data

Luca Morandini luca.morandini1 at gmail.com
Thu Jun 9 12:28:52 CEST 2011


I would like to generate, for educational purpose, data with a set level of 
auto-correlation; that is, I would like to generate Zs that exhibit an higher 
correlation with points that are closer to their locations.

One method I've found out in "Statistical methods for spatial data analysis" is 
the use of convolutions (in the sense of "smoothers"), that is, to generate random 
Zs and then compute Z2s as Z + (some weight based on neighbouring points).

Of curse this would work, but, ideally, I would like to set a level of 
autocorrelation and then have a function generating data with (about) that 
level... any suggestion ?


Luca Morandini

More information about the R-sig-Geo mailing list