[R-sig-Geo] About adaptive spatial kernel for spgwr
Danlin Yu
danlinyu at csd.uwm.edu
Wed Jan 14 22:39:32 CET 2004
Hi, Mr. Hisaji Ono and all:
I think Fortheringham and collegues are using the cross-validation to
obtain an optimal number of nearest neighbor to replace the optimal
bandwidth. This way, every data point will have the same number of
observations participating the locally weighted regression.
I cannot actually implement the code in R myself, but I would like to
list my understanding of using the cross-validation procedure to obtain
the optimal number of nearest neighbors. If I am wrong in any aspect,
please correct me:
1. Choose the weighting scheme (bi-squre, or similar ones like
tri-cube);
2. Set the minimum number of nearest neighbor as the number of
explanatory variables plus 2, and the maximum number as the number of
observations (I guess for large number of observations, this may be very
computational intensive);
3. Loop through the minimum to the maximum, and obtain a CV score for
each number of nearest neighbor;
4. The smallest CV yields the optimal number of nearest neighbor.
I hope this will help.
On Thu, 15 Jan 2004, Hisaji Ono wrote:
> Hello, Professor Bivand.
>
> Currently I summaries GWR using Fotheringham et al. 's GWR book(Wiley).
>
> Although current spgwr has no support of adaptive spatial kernel, I'd like
> to add this kernel in it.
>
> But for me it's not enough to implement this only reading page 46's footnote
> in this books
>
> Could you give any hint for implementing adaptive spatial kernel to me?
>
> Regards.
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-geo
>
Sincerely,
Danlin Yu, Ph.D. Candidate
Department of Geography
University of Wisconsin, Milwaukee
Tel: (414)229-5818
Fax: (414)229-3981
Email: danlinyu at uwm.edu
More information about the R-sig-Geo
mailing list