Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.64.0806251900330.6017@reclus.nhh.no>
Date: 2008-06-25T17:01:28Z
From: Roger Bivand
Subject: What is the unit of fixed bandwidth calculated from gwr.sel?
In-Reply-To: <d1b8ff630806250944j6eb6f2fema6e1f560f775d5d5@mail.gmail.com>

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