[R] variation explained by the non-spatial and spatial component using variogram models fitted to residuals of a non-spatial model (GeoR)

About this list Date view Thread view Subject view Author view Attachment view

From: Swantje Löbel (swantje.lobel@ebc.uu.se)
Date: Wed 12 May 2004 - 18:58:44 EST


Message-id: <20040512085841.06604EC9@pernis.its.uu.se>

Hello all!

 

I fitted a variogram model using GeoR to regression model residuals. I would
like to assess how much of the variation

is explained by the non-spatial regression model and the spatial model. I’ve
got the log likelihood, AIC and deviance respectively residual SS and R2 for
the non-spatial regression model, but only the log likelihood for the
spatial model. Are there any possibilities to get from the log likelihood to
the deviance or SS and thereby R2 of the spatial model?

 

I tried to get from the deviance to the log likelihood for models where I
had both quantities, but failed by using the formulas given in text books.
This might be due to that R does not report the scaled deviance. By dividing
by the reported scaling parameter, I did not get the same value either. A
problem however is that I did not have the likelihood for the full model. I
tried to calculate it from the sample variance as proposed by McCullagh and
Nelder: -0.5*log(2*pi*sigma2). Is that possible?

 

 

Any suggestions how to solve my problem?

 

Swantje

 

 

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:09 EST