tsutils | R Documentation |
The tsutils package provides functions to support various aspects of time series and forecasting modelling. In particular this package includes: (i) tests and visualisations that can help the modeller explore time series components and perform decomposition; (ii) modelling shortcuts, such as functions to construct lagmatrices and seasonal dummy variables of various forms; (iii) an implementation of the Theta method; (iv) tools to facilitate the design of the forecasting process, such as ABC-XYZ analyses; and (v) "quality of life" tools, such as treating time series for trailing and leading values.
cmav
: centred moving average.
coxstuart
: Cox-Stuart test for location/dispersion.
decomp
: classical time series decomposition.
seasplot
: construct seasonal plots.
trendtest
: test a time series for trend.
getOptK
: optimal temporal aggregation level for AR(1), MA(1), ARMA(1,1).
lagmatrix
: create leads/lags of variable.
nemenyi
: nonparametric multiple comparisons.
residout
: construct control chart of residuals.
seasdummy
: create seasonal dummies.
theta
: Theta method.
Sthief
: temporal hierarchy S matrix.
plotSthief
: plot temporal hierarchy S matrix.
abc
: ABC analysis.
xyz
: XYZ analysis.
abcxyz
: ABC-XYZ analyses visualisation.
geomean
: geometric mean.
lambdaseq
: generate sequence of lambda for LASSO regression.
leadtrail
: remove leading/training zeros/NAs.
wins
: winsorisation, including vectorised versions colWins
and rowWins
.
referrals
: A&E monthly referrals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.