Dear list,

When I run a gwr using a model with two independent variables my local R2
only has NA values. I've read in some topic that this is problably because
the function cannot estimate localR2 correctly.
I tryed to get the same result with the columbus data, but was not able to.
Does anyone know what usually cause this? maybe a small or large bandwdth?
And a side question, when longlat=T,and your coordinates are in WGS84 the
values of bandwidth must be given in degrees?


I'm using R2.10.1 and package spgwr version 0.6-2. i give a summary of my
variables below. also my data is information collected in 10433 islands of
the American continent, which mean that I have distances between my points
varying from few meters to thousands of kilometers. I use a bandwidth of 20,
and used the bisquare method.

summary of my data
            y          x1            x2
Min.      0.00    1.310e-02   4.254e-02
1st Qu.  32.00  8.319e-01   1.628e+00
Median   47.00  1.696e+00  2.005e+01
Mean     84.25   2.043e+02 1.329e+02
3rd Qu. 143.00   5.822e+00 1.758e+02
Max.    425.00   5.152e+05  3.114e+03

code
test=gwr(y~x1+x2,,cbind(latitude,longitude),20,gwr.bisquare,longlat=T)

Thanks in advance,
Jorge Menezes

	[[alternative HTML version deleted]]

