Provides tools to construct and exploit spatially weighted context data. Spatial weights are derived by a Kernel function from a userdefined matrix of distances between contextual units. Spatial weights can then be applied either to precise contextual measures or to aggregate estimates based on microlevel survey data, to compute spatially weighted context data. Available aggregation functions include indicators of central tendency, dispersion, or intergroup variability, and take into account survey design weights. The package further allows combining the resulting spatially weighted context data with individuallevel predictor and outcome variables, for the purposes of multilevel modelling. An ad hoc stratified bootstrap resampling procedure generates robust point estimates for multilevel regression coefficients and model fit indicators, and computes confidence intervals adjusted for measurement dependency and measurement error of aggregate estimates. As an additional feature, residual and explained spatial dependency can be estimated for the tested models.
Package details 


Author  Till Junge [aut, cre], Sandra Penic [aut], Mathieu Cossuta [aut], Guy Elcheroth [aut], Stephanie Glaeser [ctb], Davide Morselli [ctb] 
Maintainer  Till Junge <[email protected]> 
License  GPL (>= 2) 
Version  1.05 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.