knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of sppois is to implement the two stage estimator for spatial autoregressive Poisson models proposed by Lambert et al. (2010)
This package does not currently implement the Lambert methods. Contributions welcome.
sppois is not on CRAN. When it is, you can install the released version of sppois from CRAN with:
install.packages("sppois")
For now, you can install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("gregmacfarlane/sppois")
The package allows users to estimate a full-information maximum likelihood estimation of spatially-autogressive poisson count models.
library(sppois) crime_sppois <- sarpoisson(crime_i ~ income + home_value, data = columbus_crime, listw = columbus_neighbors, method = "fiml") summary(crime_sppois)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.