s-news
[Top] [All Lists]

[S] calculating empirical semivariograms

To: <s-news@wubios.wustl.edu>
Subject: [S] calculating empirical semivariograms
From: "Paul Schwarz" <Paul.Schwarz@Cornell.EDU>
Date: Wed, 27 Sep 2000 20:38:01 -0400
Importance: Normal
Sender: owner-s-news@wubios.wustl.edu
S-News readers,

I'm interested in learning about the algorithms used to compute
empirical or sample semivariograms.  I have S+SpatialStats, for example,
so I have the means for calculating empirical semivariograms.  I also
understand the basic formula

  gamma(h) = 0.5*N(h)*sum(Zi - Zj)^2

used for estimating the semivariogram where h = i - j is the Euclidean
distance or "lag" and N(h) is the number of data pairs.  So my interest
is in learning about how to do these calculations in S-PLUS so that I
can experiment with other approaches for estimating these kinds of
statistics.  I am assuming that there are some relatively efficient ways
to do these calculations using vectors and matrices.  If anyone has
written code to do this in S-PLUS that they wouldn't mind sharing, I
would be grateful.

Thanks.

-Paul

Paul Schwarz

Cornell University
Department of Natural Resources
Fernow Hall
Ithaca, New York  14853-3001

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>