gamKTS: A function to fill values by means of a generalized additive...

Description Details Value Author(s)

View source: R/gamKTS.R

Description

This function is used to fill gaps using a generalized additive model (gam) with tensor smoothing. It is used through the Multivariate Splines in the Filling Menu. Although the gam model is not necessarily a multivariate spline, the button has this name because we think is more familiar to the users.

Details

The user selects the time series to fill and a set of predictor time series. The function fits a generalized linear model a gap and uses the model to fill the gap. This is done for every gap in the gap set. It is used through the Multivariate Splines in the Filling Menu. The user can choose a fixed d.f. regression spline or a penalized regression spline. It is also possible to choose any of the smoothing bases allowed by the function mgcv::te.

Value

The filled time series in the environment KTSEnv and a summary of the results on the output window.

Author(s)

Marina Saez Andreu


KarsTS documentation built on Jan. 16, 2021, 5:07 p.m.