spam: A Sparse Matrix R Package with Emphasis on MCMC Methods for Gaussian Markov Random Fields
Reinhard Furrer and
Stephan R. Sain
Journal of Statistical Software, 2010, vol. 036, issue i10
Abstract:
spam is an R package for sparse matrix algebra with emphasis on a Cholesky factorization of sparse positive definite matrices. The implemantation of spam 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 spam 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.
Date: 2010-09-16
References: View complete reference list from CitEc
Citations: View citations in EconPapers (17)
Downloads: (external link)
https://www.jstatsoft.org/index.php/jss/article/view/v036i10/v36i10.pdf
https://www.jstatsoft.org/index.php/jss/article/do ... 0/spam_0.23-0.tar.gz
https://www.jstatsoft.org/index.php/jss/article/do ... ile/v036i10/v36i10.R
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:jss:jstsof:v:036:i10
DOI: 10.18637/jss.v036.i10
Access Statistics for this article
Journal of Statistical Software is currently edited by Bettina Grün, Edzer Pebesma and Achim Zeileis
More articles in Journal of Statistical Software from Foundation for Open Access Statistics
Bibliographic data for series maintained by Christopher F. Baum ().