Learn R Programming

mgss (version 1.2)

A Matrix-Free Multigrid Preconditioner for Spline Smoothing

Description

Data smoothing with penalized splines is a popular method and is well established for one- or two-dimensional covariates. The extension to multiple covariates is straightforward but suffers from exponentially increasing memory requirements and computational complexity. This toolbox provides a matrix-free implementation of a conjugate gradient (CG) method for the regularized least squares problem resulting from tensor product B-spline smoothing with multivariate and scattered data. It further provides matrix-free preconditioned versions of the CG-algorithm where the user can choose between a simpler diagonal preconditioner and an advanced geometric multigrid preconditioner. The main advantage is that all algorithms are performed matrix-free and therefore require only a small amount of memory. For further detail see Siebenborn & Wagner (2021).

Copy Link

Version

Install

install.packages('mgss')

Monthly Downloads

200

Version

1.2

License

MIT + file LICENSE

Maintainer

Martin Siebenborn

Last Published

May 10th, 2021

Functions in mgss (1.2)

predict_smooth

Predictions from model
MGCG_smooth

High-dimensional spline smoothing using a matrix-free multigrid preconditioned CG-method.
CG_smooth

High-dimensional spline smoothing using a matrix-free CG-method.
PCG_smooth

High-dimensional spline smoothing using a matrix-free PCG-method.
estimate_trace

Trace estimation of the hat matrix.
generate_test_data

Generate multi-dimensional test data for spline smoothing.
mgss-package

mgss: A Matrix-Free Multigrid Preconditioner for Spline Smoothing