Re: [R] LOCFIT help

From: Takatsugu Kobayashi <tkobayas_at_indiana.edu>
Date: Sat 07 Jan 2006 - 14:44:55 EST


Hi,

I have started to learn local regression models so as to identify statistically significant peaks in urban areas, such as population densities and congestion. I successfully ran /locfit/ and got several information on the fit. Now I got stuck. This is a very silly question, but isn't the first derivative of the fitted curve zero or close to zero? I got some very high numbers on that.

The commands I put are:

x<-Longitude
y<-Latitude
model.local<-locfit(log(POPDENSITY)~lp(x,y, nn=0.55))

span was determined by spgwr adaptive bandwidth.

Any help appreciated.

Thank you very much.

Taka

PhD student
Indiana University, Geography



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jan 07 14:51:28 2006

This archive was generated by hypermail 2.1.8 : Sat 07 Jan 2006 - 22:08:51 EST