Skip to content
Prev 3144 / 29559 Next

Comparing abundances at fixed locations in space - Syrjala test

Jean-Olivier Irisson wrote:

            
I think you still need to fit a model, and then you can test how 
useful your covariates are with standard techniques.
Think about fitting a straight line through some points. You find the 
line that best fits your points. Then you look at the residual 
differences between the line and your points. All the usual linear model 
theory about predictions and significance depends on those residuals 
being uncorrelated and independent. If you are fitting a straight line 
to a curve then that won't be true, and if you then say something about 
your straight line based on the linear model theory you'll be wrong.

  Now, you could fit a non-spatial generalised linear model to your data 
using glm() in R and then map the residuals. If the residual map shows 
structure, then there's something else going on that your model hasn't 
accounted for. Perhaps there is an obvious trend due to a covariate 
you've not included, such as elevation above sea level. You could then 
add this to your model. If the residual surface looks like random noise 
then you can use standard linear model theory to make conclusions about 
your covariate parameters.

  If the residual surface doesn't look like random noise then that's 
when you get into geoRglm functions which (I think) fit a GLM where the 
error surface (that's your residuals) is defined by a gaussian random 
field with a fitted covariance structure. Once that's done, the geoRglm 
code will tell you about your covariate parameter significance (I think! 
It's been a while since I've used it. Maybe Paulo and Ole can expand on 
this).

  So what I'd do is:

  * fit a simple GLM using glm.
  * Look at parameter estimates and significance.
  * Draw a map of residuals.
  * Then worry about spatial correlation.

  Oh, I'd also, if I were you, try and find a local statistician expert!

Barry