Get initial parameter estimates for estimation
stsm_init_pars(
y,
freq,
trend,
cycle,
decomp = "",
harmonics = NULL,
prior = NULL
)
an object created from stsm_detect_frequency
Frequency of the data
Trend specification ("random-walk", "random-walk-drift", "double-random-walk", "random-walk2").
The period for the longer-term cycle
Decomposition model ("tend-cycle-seasonal", "trend-seasonal", "trend-cycle", "trend-noise")
The harmonics to split the seasonality into
A data table created by stsm_prior
named vector containing the initial parameter estimates for estimation