Skip to content
Prev 9440 / 29559 Next

all localR2 has NA values in gwr

On Thu, 30 Sep 2010, Danlin Yu wrote:

            
See ?spDistsN1, the distances are in kilometers.
Exactly!
I agree that adapt= may here be a better choice than a fixed bandwidth. I 
do not, however, think that local R2 will be available for this number of 
data points, as the hat matrix would be too big for memory. Please read up 
on the difference between fit points and data points, and consider fitting 
a model with hat matrix on a subset of the data, then using the 
fittedGWRobject= argument to provide the elements needed to get to local 
R2 (which is not the R2 of each local fit, it seems). Have you tried 
fitting in GWR3, SAM, or ArcGIS?

Hope this helps,

Roger