Question spgwr package - running time gwr()
On Fri, 17 May 2019, Raphael Mesaric via R-sig-Geo wrote:
Dear all, Is there an option to shorten the running time for the gwr() function, similar to the ?LU? method for lagsarlm() in the spdep package? Because I have a model with roughly 500?000 observations, and the running time at the moment is quite long, respectively it has not yet terminated.
What are you actually doing? Why did you choose GWR? Are you fitting a GWR with 500K observations, or have you fitted a GWR with many fewer observations, and are now rendering that fitted model with 500K fit points? GWR is only for detecting possible non-stationarity or similar mis-specification in moderately sized data sets. Trying to fit with 500K gives a dense hat matrix of 500K x 500K, which is imposssible (or were it possible would be uninformative). Think of 5K as a sensible maximum if GWR is condidered sensible at all. I would think that finding a bandwidth is impossible too. Roger
Thank you for your help in advance. Best regards, Raphael Mesaric
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Roger Bivand Department of Economics, Norwegian School of Economics, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; e-mail: Roger.Bivand at nhh.no https://orcid.org/0000-0003-2392-6140 https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en