[R] Using a variable in a covariance structure and as a predictor - is this OK?

From: Chris Mcowen <chrismcowen_at_gmail.com>
Date: Fri, 01 Apr 2011 09:24:02 +0100


Dear list,

I have the model below which i am using to account for spatial autocorrelation:

exponential <-corExp(form = ~ Longitude + Latitude)

explanation_mod_all <- gls(Lower_PD~Area+Elevation+Temperature+Preceipitation+Agriculture+Urban+Human.footprint+Population, correlation = exponential)

I want to see if Latitude and Longitude are significant, is it statistically and methodologically correct to add them to the model i.e

explanation_mod_all <- gls(Lower_PD~Area+Elevation+Temperature+Preceipitation+Agriculture+Urban+Human.footprint+Population+Longitude+Latitude, correlation = exponential) ?

Thanks

Chris



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 01 Apr 2011 - 08:31:33 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 01 Apr 2011 - 09:30:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive