TY - JOUR
AU - Furrer, Reinhard
AU - Sain, Stephan R.
PY - 2010/09/16
Y2 - 2024/04/13
TI - spam: A Sparse Matrix R Package with Emphasis on MCMC Methods for Gaussian Markov Random Fields
JF - Journal of Statistical Software
JA - J. Stat. Soft.
VL - 36
IS - 10
SE - Articles
DO - 10.18637/jss.v036.i10
UR - https://www.jstatsoft.org/index.php/jss/article/view/v036i10
SP - 1 - 25
AB - <b>spam</b> is an <b>R</b> package for sparse matrix algebra with emphasis on a Cholesky factorization of sparse positive definite matrices. The implemantation of <b>spam</b> is based on the competing philosophical maxims to be competitively fast compared to existing tools and to be easy to use, modify and extend. The first is addressed by using fast Fortran routines and the second by assuring S3 and S4 compatibility. One of the features of <b>spam</b> is to exploit the algorithmic steps of the Cholesky factorization and hence to perform only a fraction of the workload when factorizing matrices with the same sparsity structure. Simulations show that exploiting this break-down of the factorization results in a speed-up of about a factor 5 and memory savings of about a factor 10 for large matrices and slightly smaller factors for huge matrices. The article is motivated with Markov chain Monte Carlo methods for Gaussian Markov random fields, but many other statistical applications are mentioned that profit from an efficient Cholesky factorization as well.
ER -