bsts_local_trend: BSTS with Stan and local trend

Description Usage Arguments Value

View source: R/models.R

Description

BSTS with Stan and local trend

Usage

1
2
bsts_local_trend(y, num_pred = 10, vb = FALSE, length_local_trend,
  prior_var_phi = 0.1, ...)

Arguments

y

Numeric vector of output values, i.e. vector of a series of R_t values

num_pred

number of time points to forecast

...

Arguments passed to 'rstan::sampling' (e.g. iter, chains).

Value

An object of class 'stanfit' returned by 'rstan::sampling'


nikosbosse/epipredictr documentation built on April 7, 2020, 9:51 p.m.