Motivation Color Scale Draw Map Assign Colors Results Geographically Weighted Regression Quantile Regression & Geographically Weighted Quantile Regression Discussion
spgwr
gwr.sel gwr
GWR
I R package : spgwr (dependent packages: sp, maptools)
I data(columbus)
I 5 variables
I crime - recorded crime per inhabitant
I income - average income values
I housing - average housing costs
I x - latitude
I y - longitude
I Relationship between crime and income & housing.
Motivation Color Scale Draw Map Assign Colors Results Geographically Weighted Regression Quantile Regression & Geographically Weighted Quantile Regression Discussion
spgwr
gwr.sel gwr
GWR
I R package : spgwr (dependent packages: sp, maptools)
I data(columbus)
I 5 variables
I crime - recorded crime per inhabitant
I income - average income values
I housing - average housing costs
I x - latitude
I y - longitude
Motivation Color Scale Draw Map Assign Colors Results Geographically Weighted Regression Quantile Regression & Geographically Weighted Quantile Regression Discussion
spgwr
gwr.sel gwr
GWR
I R package : spgwr (dependent packages: sp, maptools)
I data(columbus)
I 5 variables
I crime - recorded crime per inhabitant
I income - average income values
I housing - average housing costs
I x - latitude
I y - longitude
I Relationship between crime and income & housing.
Motivation Color Scale Draw Map Assign Colors Results Geographically Weighted Regression Quantile Regression & Geographically Weighted Quantile Regression Discussion
spgwr
gwr.sel gwr
GWR
I R package : spgwr (dependent packages: sp, maptools)
I data(columbus)
I 5 variables
I crime - recorded crime per inhabitant
I income - average income values
I housing - average housing costs
I x - latitude
Motivation Color Scale Draw Map Assign Colors Results Geographically Weighted Regression Quantile Regression & Geographically Weighted Quantile Regression Discussion
spgwr
gwr.sel
gwr
GWR
I Need to find a bandwidth for a given geographically weighted
regression by optimizing a selected function.
I gwr.sel(formula, data, coords, adapt=FALSE, ...)
I formula, data, coords.
I adapt - either TRUE: find the proportion between 0 and 1 of observations to include in weighting scheme (k-nearest neighbors), or FALSE find global bandwidth.
I Returns the cross-validation bandwidth.
Motivation Color Scale Draw Map Assign Colors Results Geographically Weighted Regression Quantile Regression & Geographically Weighted Quantile Regression Discussion
spgwr
gwr.sel
gwr
GWR
I Need to find a bandwidth for a given geographically weighted
regression by optimizing a selected function.
I gwr.sel(formula, data, coords, adapt=FALSE, ...)
I formula, data, coords.
I adapt - either TRUE: find the proportion between 0 and 1 of observations to include in weighting scheme (k-nearest neighbors), or FALSE find global bandwidth.
Motivation Color Scale Draw Map Assign Colors Results Geographically Weighted Regression Quantile Regression & Geographically Weighted Quantile Regression Discussion
spgwr
gwr.sel
gwr
GWR
I Need to find a bandwidth for a given geographically weighted
regression by optimizing a selected function.
I gwr.sel(formula, data, coords, adapt=FALSE, ...)
I formula, data, coords.
I adapt - either TRUE: find the proportion between 0 and 1 of observations to include in weighting scheme (k-nearest neighbors), or FALSE find global bandwidth.
I Returns the cross-validation bandwidth.
Motivation Color Scale Draw Map Assign Colors Results Geographically Weighted Regression Quantile Regression & Geographically Weighted Quantile Regression Discussion
spgwr
gwr.sel
gwr
GWR
I Need to find a bandwidth for a given geographically weighted
regression by optimizing a selected function.
I gwr.sel(formula, data, coords, adapt=FALSE, ...)
I formula, data, coords.
I adapt - either TRUE: find the proportion between 0 and 1 of observations to include in weighting scheme (k-nearest neighbors), or FALSE find global bandwidth.
Motivation Color Scale Draw Map Assign Colors Results Geographically Weighted Regression Quantile Regression & Geographically Weighted Quantile Regression Discussion
spgwr
gwr.sel
gwr
GWR
I Need to find a bandwidth for a given geographically weighted
regression by optimizing a selected function.
I gwr.sel(formula, data, coords, adapt=FALSE, ...)
I formula, data, coords.
I adapt - either TRUE: find the proportion between 0 and 1 of observations to include in weighting scheme (k-nearest neighbors), or FALSE find global bandwidth.
I Returns the cross-validation bandwidth.
Motivation Color Scale Draw Map Assign Colors Results Geographically Weighted Regression Quantile Regression & Geographically Weighted Quantile Regression Discussion spgwr gwr.sel gwr
GWR
I Fit GWR model.I gwr(formula, data, coords, bandwidth, ...)
I formula, data, coords.
I bandwidth - bandwidth used in the weighting function.
Motivation Color Scale Draw Map Assign Colors Results Geographically Weighted Regression Quantile Regression & Geographically Weighted Quantile Regression Discussion spgwr gwr.sel gwr
GWR
I Fit GWR model.I gwr(formula, data, coords, bandwidth, ...)
I formula, data, coords.
I bandwidth - bandwidth used in the weighting function.
I An example.
Motivation Color Scale Draw Map Assign Colors Results Geographically Weighted Regression Quantile Regression & Geographically Weighted Quantile Regression Discussion spgwr gwr.sel gwr
GWR
I Fit GWR model.I gwr(formula, data, coords, bandwidth, ...)
I formula, data, coords.
I bandwidth - bandwidth used in the weighting function.
Motivation Color Scale Draw Map Assign Colors Results Geographically Weighted Regression Quantile Regression & Geographically Weighted Quantile Regression Discussion spgwr gwr.sel gwr
GWR
I Fit GWR model.I gwr(formula, data, coords, bandwidth, ...)
I formula, data, coords.
I bandwidth - bandwidth used in the weighting function.
I An example.
Motivation Color Scale Draw Map Assign Colors Results Geographically Weighted Regression Quantile Regression & Geographically Weighted Quantile Regression Discussion spgwr gwr.sel gwr
GWR
I Fit GWR model.I gwr(formula, data, coords, bandwidth, ...)
I formula, data, coords.
I bandwidth - bandwidth used in the weighting function.
Motivation Color Scale Draw Map Assign Colors Results Geographically Weighted Regression Quantile Regression & Geographically Weighted Quantile Regression Discussion