Skip to content
Back to formatted view

Raw Message

Message-ID: <4FEC3713.30203@knmi.nl>
Date: 2012-06-28T10:50:59Z
From: Paul Hiemstra
Subject: calculate SSerror in fit.variogram
In-Reply-To: <CAOytA4ZHm2Yks-d1LS5SgdkjdRSwTe0JFD8gR_P5oShBGSP1ag@mail.gmail.com>

On 06/22/2012 03:16 PM, Saman Monfared wrote:
> Hi.
> I have used fit.variogram in gstat.
> How can I calculate SSerror between the sample variogram and the
> fitted variogram model in different estimation method of
> fit.method=2-7.
>
> Thanks.
>
> Saman Monfared
> Msc Student,
> Department of Statistics, Shiraz University,
> Shiraz 71454, Iran
> Email: Samanmonfared1 at gmail.com
>
> Tel: +98 917 5305167
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Assuming the result of 'fit.variogram' is in the variable 'spam', this
will get you the SSErr:

attr(spam, "SSErr")

cheers,
Paul

-- 
Paul Hiemstra, Ph.D.
Global Climate Division
Royal Netherlands Meteorological Institute (KNMI)
Wilhelminalaan 10 | 3732 GK | De Bilt | Kamer B 3.22
P.O. Box 201 | 3730 AE | De Bilt
tel: +31 30 2206 494

http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770