Skip to content

Variogram in spatial package

3 messages · Hywel Jones, Christopher Paciorek, Roger Bivand

#
A resubmission, as no one has replied and I still have
the problem.
--- Hywel Jones <hywelm.jones at talk21.com> wrote:

            
___________________________________________________________
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk
___________________________________________________________ 
Inbox full of unwanted email? Get leading protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
#
Hi Hywel,

I'm not familiar with 'spatial' but you might look at the variogram tools in 'geoR'.  This should allow you do look for anisotropy - I believe the function is vario4.

You should be able to check empirically if the variogram is on the residuals by comparing variogram with surf.ls with variogram without surf.ls but based on the residuals that you calculate yourself with lm().

Presumably 'x' is h, and you should be able to figure out the units based on the range of the 'x' axis...
I believe in geoR the output of variogram is labelled 'semivariance' so you can be sure it is gamma and not 2 gamma.
Not sure about variogram from 'spatial'.

 ----------------------------------------------------------------------------------------------
Chris Paciorek / Asst. Professor        Email: paciorek at hsph.harvard.edu
Department of Biostatistics             Voice: 617-432-4912
Harvard School of Public Health         Fax:   617-432-5619
655 Huntington Av., Bldg. 2-407         WWW: www.biostat.harvard.edu/~paciorek
Boston, MA 02115 USA                    Permanent forward: paciorek at alumni.cmu.edu
A resubmission, as no one has replied and I still have
the problem.
--- Hywel Jones <hywelm.jones at talk21.com> wrote:

            
___________________________________________________________
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk
___________________________________________________________ 
Inbox full of unwanted email? Get leading protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html

_______________________________________________
R- sig- Geo mailing list
R- sig- Geo at stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r- sig- geo
#
On Fri, 26 Jan 2007, Hywel Jones wrote:

            
The spatial package is described in more detail in Venables, W. N. and
Ripley, B. D. (2002) _Modern Applied Statistics with S._ Fourth edition.  
Springer, as the help page says.
Yes, I believe so.
The documentation is the source code. Alternatively run the same data
through similar functions in the gstat, geoR, or fields packages to
cross-check?  My reading of MASS is that the plot is of the semi-variogram
with distances in the original scaling.
I don't think anisotropy is available in the spatial package, perhaps try 
one of the other packages?