fastmatrix: Fast Computation of some Matrices Useful in Statistics

Small set of functions to fast computation of some matrices and operations useful in statistics and econometrics. Currently, there are functions for efficient computation of duplication, commutation and symmetrizer matrices with minimal storage requirements. Some commonly used matrix decompositions (LU and LDL), basic matrix operations (for instance, Hadamard, Kronecker products and the Sherman-Morrison formula) and iterative solvers for linear systems are also available. In addition, the package includes a number of common statistical procedures such as the sweep operator, weighted mean and covariance matrix using an online algorithm, linear regression (using Cholesky, QR, SVD, sweep operator and conjugate gradients methods), ridge regression (with optimal selection of the ridge parameter considering several procedures), functions to compute the multivariate skewness, kurtosis, Mahalanobis distance (checking the positive defineteness) and the Wilson-Hilferty transformation of chi squared variables. Furthermore, the package provides interfaces to C code callable by another C code from other R packages.

Version: 0.4-124
Depends: R (≥ 3.5.0)
Published: 2022-08-10
Author: Felipe Osorio ORCID iD [aut, cre], Alonso Ogueda [aut]
Maintainer: Felipe Osorio <felipe.osorios at usm.cl>
License: GPL-3
URL: https://faosorios.github.io/fastmatrix/
NeedsCompilation: yes
Citation: fastmatrix citation info
Materials: ChangeLog
CRAN checks: fastmatrix results

Documentation:

Reference manual: fastmatrix.pdf

Downloads:

Package source: fastmatrix_0.4-124.tar.gz
Windows binaries: r-devel: fastmatrix_0.4-124.zip, r-release: fastmatrix_0.4-124.zip, r-oldrel: fastmatrix_0.4-124.zip
macOS binaries: r-release (arm64): fastmatrix_0.4-124.tgz, r-oldrel (arm64): fastmatrix_0.4-124.tgz, r-release (x86_64): fastmatrix_0.4-124.tgz, r-oldrel (x86_64): fastmatrix_0.4-124.tgz
Old sources: fastmatrix archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=fastmatrix to link to this page.