[R-sig-Geo] calculate SSerror in fit.variogram

Paul Hiemstra hiemstra at knmi.nl
Thu Jun 28 12:50:59 CEST 2012


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



More information about the R-sig-Geo mailing list