Last chance! 50% off unlimited learning
Sale ends in
structSSM
creates a state space
representation of structural time series.structSSM(y, trend = "level", seasonal = "none",
X = NULL, H = NULL, Q.level = NULL, Q.slope = NULL,
Q.seasonal = NULL, Q.regression = NULL, u = NULL,
distribution = c("Gaussian", "Poisson", "Binomial"),
transform = c("none", "ldl", "augment"),
tolF = .Machine$double.eps^0.5,
tol0 = .Machine$double.eps^0.5)
"level"
(local level model) "none"
(no seasonal), "time"
ts
, or a
object that can be coerced to such.KFAS
require
diagonal covariance matrix $H_t$. If
$H_t$ is not diagonal, model can be transformed
using one of the two options. Option "ldl"
performs LDL decomposition for covariance matrix
$H_t$, and m
with seasonal component being either time domain form
or frequency domain form where
Explanatory variables can also be added to the model; in
structSSM
function it is assumed that same
explanatory variables are used for all series. See
regSSM
and +
for more
complicated settings.
arimaSSM
for state space representation of
ARIMA model, regSSM
for state space
representation of a regression model,
SSModel
for custom SSModel
object
and KFAS
for general information regarding
the package and examples of its usage.