Package: SpatialInference 0.1.0
SpatialInference: Tools for Statistical Inference with Geo-Coded Data
Fast computation of Conley (1999) <doi:10.1016/S0304-4076(98)00084-0> spatial heteroskedasticity and autocorrelation consistent (HAC) standard errors for linear regression models with geo-coded data, with a fast C++ implementation by Christensen, Hartman, and Samii (2021) <doi:10.1017/S0020818321000187>. Performance-critical distance calculations, kernel weighting, and variance component accumulation are implemented in C++ via 'Rcpp' and 'RcppArmadillo'. Includes tools for estimating the spatial correlation range from covariograms and correlograms following the bandwidth selection method proposed in Lehner (2026) <doi:10.48550/arXiv.2603.03997>, and diagnostic visualizations for bandwidth selection.
Authors:
SpatialInference_0.1.0.tar.gz
SpatialInference_0.1.0.tar.gz(r-4.7-arm64)SpatialInference_0.1.0.tar.gz(r-4.7-x86_64)SpatialInference_0.1.0.tar.gz(r-4.6-arm64)SpatialInference_0.1.0.tar.gz(r-4.6-x86_64)
SpatialInference_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
SpatialInference/json (API)
NEWS
| # Install 'SpatialInference' in R: |
| install.packages('SpatialInference', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/axlehner/spatialinference/issues
- US_counties_centroids - Centroids of Contiguous US Counties
Last updated from:0c9e7f5f8f. Checks:6 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 149 | ||
| linux-devel-x86_64 | OK | 182 | ||
| source / vignettes | OK | 270 | ||
| linux-release-arm64 | OK | 179 | ||
| linux-release-x86_64 | OK | 187 | ||
| wasm-release | OK | 154 |
Exports::=%>%Bal_XeeXhCcompute_conley_lfeconley_SEcoords_as_columnscovgm_rangeDistMatextract_corr_rangegravity_centroidgrid_FEinverseu_plot_conleyrangelm_sacTimeDistXeeXhCXeeXhC_Lg
Dependencies:classclassIntclidata.tableDBIe1071glueKernSmoothlifecyclemagrittrMASSpillarpkgconfigproxyRcppRcppArmadillorlangs2sftibbleunitsutf8vctrswk
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Spatial Variance Component for Balanced Panel | Bal_XeeXhC |
| Compute Conley Standard Error for a Single Coefficient | compute_conley_lfe |
| Conley Spatial HAC Variance-Covariance Estimation | conley_SE |
| Extract Coordinates as Columns from an sf Object | coords_as_columns |
| Covariogram Range Estimation and Visualization | covgm_range |
| Create Distance Matrix | DistMat |
| Extract Correlation Range from a Correlogram or Covariogram | extract_corr_range |
| Weighted Mean Centre (Centre of Gravity) | gravity_centroid |
| Create Spatial Grid Fixed Effects | grid_FE |
| Inverse-U Plot of Conley Standard Errors vs. Cutoff Distance | inverseu_plot_conleyrange |
| Linear Model with Spatial Autocorrelation Diagnostics | lm_sac |
| Temporal Variance Component (Time Dimension) | TimeDist |
| Centroids of Contiguous US Counties (2017) | US_counties_centroids |
| Spatial Variance Component (X'ee'X) | XeeXhC |
| Spatial Variance Component for Large Datasets | XeeXhC_Lg |
