[R-sig-Geo] [Gstat-info] Normal Score transform

Edzer Pebesma edzer.pebesma at uni-muenster.de
Thu Jun 12 21:06:06 CEST 2008


Ashton, I found it worth dropping at r-sig-geo. And did so.

Thanks, and best wishes,
--
Edzer

Ashton Shortridge wrote:
> Hi all,
>
> Not a question, but hopefully a contribution. I have been messing around with 
> normal scores, which are trivial in R, and back transforms, which are 
> anything but trivial. They are potentially useful when conducting Gaussian 
> simulation using predict() or krige() in gstat.
>
> Attached is a link to some experimental R functions I wrote for performing 
> normal score transforms and back transforms on data, along with example 
> routines demonstrating their use. They are not intended for serious 
> application - they are meant for those of us who might be curious about 
> exploring transform issues and geostatistics with normal scores. The code is 
> fairly heavily documented and somewhat sketchily referenced, and most of it 
> frankly would be trivial for any moderately experienced R programmer to 
> write - the core functions, even with comments, are only about 60 lines long. 
> I hope that nevertheless it will be a useful starting point for the 
> interested.
>
> The URL:
> http://www.msu.edu/~ashton/temp/nscore.R
>
> Documentation, background text, references, and instructions for running the 
> examples are located at the beginning of the script. The rest of the file 
> consists of function definitions. Running the script by itself executes no 
> code, but simply establishes the function definitions.
>
> I have thought about dropping it on ai-geostats but thought this might be a 
> better forum. Let me know what you think.
>
> Yours,
>
> Ashton
>
>




More information about the R-sig-Geo mailing list