Learn R Programming

spacom (version 1.0-5)

Spatially Weighted Context Data for Multilevel Modelling

Description

Provides tools to construct and exploit spatially weighted context data. Spatial weights are derived by a Kernel function from a user-defined matrix of distances between contextual units. Spatial weights can then be applied either to precise contextual measures or to aggregate estimates based on micro-level survey data, to compute spatially weighted context data. Available aggregation functions include indicators of central tendency, dispersion, or inter-group variability, and take into account survey design weights. The package further allows combining the resulting spatially weighted context data with individual-level 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.

Copy Link

Version

Install

install.packages('spacom')

Monthly Downloads

44

Version

1.0-5

License

GPL (>= 2)

Maintainer

Till Junge

Last Published

February 11th, 2016

Functions in spacom (1.0-5)

d_geo

A distance matrix for TRACES areas
WeightMatrix

Create spatial weighting matrices
homog_census

Dataset homog_census
SpawExact

Create and describe spatially weighted precise contextual indicators
ResampleMLSpawOutput-class

Class "ResampleMLSpawOutput"
spacom-package

Spatially weighted context data for multilevel modelling
CH1903

CH1903
SpawAggregateOutput-class

Class "SpawAggregateOutput"
MLSpawExactOutput-class

Class "MLSpawExactOutput"
SpawAggregate

Create and describe spatially weighted survey estimates for contextual indicators
traces_event

Dataset traces_event
traces_ind

Dataset traces_ind
GPS

GPS
d_migr

A distance matrix for TRACES areas
d_ident

A distance matrix for TRACES areas
ExploreMLSpawExact

Exploratory multilevel analysis with spatially weighted context data
ResampleMLSpawExact

Spatially weighted multilevel analysis with stratified resampling for exact context data
ResampleMLSpawAggregate

Spatially weighted multilevel analysis with stratified resampling for aggregated context data
MultiKeyHash-class

Class "MultiKeyHash"
d_ethnic

A distance matrix for TRACES areas
MLSpawExact

Standard multilevel analysis applied to spatially weighted context data
MLSpawResidMoran

Testing the (residual) spatial dependency
aggregation functions

Aggregation functions provided by spacom