Skip to content
Prev 6123 / 29559 Next

Error in simulation R-code

On Wed, 15 Jul 2009, Steve Hong wrote:

            
OK. Note that there may be latency issues - occasionally, it takes much 
longer for the mail servers to process submitted postings. You can also 
check in gmane, nabble, or the list archives to see whether postings have 
got through, for this list on:

http://n2.nabble.com/R-sig-geo-f2731867.html

http://news.gmane.org/gmane.comp.lang.r.geo

https://stat.ethz.ch/pipermail/r-sig-geo/
OK. Please check the ranges of your coordinate vectors; if the y vector is 
roughly in the single digit thousands, you are that number of km from the 
Equator, if in single digit millions, they are metres.
Yes, that's right. Add the ..., zero.policy=zp, ... to all the subsequent 
commands using the listw object too - the object does not record the fact 
that it's zero.policy was set to TRUE.
OK. When there are no indications of why work is being done, it has 
sometimes turned out to be a graduate (or undergraduate) who has been 
tasked by a clueless supervisor, who has then abandoned the unfortunate 
person with a tight deadline and no helpful advice.

I'm still not sure that just reporting the correlations between the 
out-of-sample predictions and observed values gets you anywhere useful, 
without knowing how the repeated 2/3 samples affect the autoregressive 
coefficient, which in turn affects the model coefficients. That was more 
what I was lacking for understanding. In addition, we don't know whether 
the observations are very clustered in space, which may lead to very dense 
weights, and poorer performance by the spatial model, especially if those 
weights were not those that generated the data.

Roger