Processing math: 100%

The function returns a vector of weights using the bisquare scheme:

wij(g)=(1(d2ij/d2))2 if dij<=d else wij(g)=0, where dij are the distances between the observations and d is the distance at which weights are set to zero.

gwr.bisquare(dist2, d)

Arguments

dist2

vector of squared distances between observations

d

distance at which weights are set to zero

Value

matrix of weights.

References

Fotheringham, A.S., Brunsdon, C., and Charlton, M.E., 2000, Quantitative Geography, London: Sage; C. Brunsdon, A.Stewart Fotheringham and M.E. Charlton, 1996, "Geographically Weighted Regression: A Method for Exploring Spatial Nonstationarity", Geographical Analysis, 28(4), 281-298; http://gwr.nuim.ie/

See also

Examples

plot(seq(-10,10,0.1), gwr.bisquare(seq(-10,10,0.1)^2, 6.0), type="l")