An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20080625/550abb25/attachment.pl>
What is the unit of fixed bandwidth calculated from gwr.sel?
2 messages · Debarchana Ghosh, Roger Bivand
On Wed, 25 Jun 2008, Debarchana Ghosh wrote:
Hi,
OS: Windows with 4 GB Ram. R-2.70
I calculated bandwidth using the gwr.sel function from the spgwr package
dat.bw.cv<-gwr.sel(yimp00~ english + slope30 + mac95d + mdinc_t + musa00 +
popden_t + dissewer + dismcd
+ diswater + ag04 + c1dishwy + c1dipark + tccost1 +
soil1 + soil2, data=dat,
coords = cbind(dat$longx, dat$laty), longlat=TRUE,
verbose = FALSE)
My x,y matrix is in latlong coordinates and hence the option is longlat =
TRUE. As per the manual, if longlat is TRUE, the distances are used on an
ellipse with WGS84 parameters. The output is:
dat.bw.cv
69.79589
My question is what is the unit of the fixed bandwidth here?
Kilometers - see ?spDistsN1.
Thanks, Debs.
Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: Roger.Bivand at nhh.no