| summary.dynamic_fit | R Documentation |
Summarise a fitted dynamic model
## S3 method for class 'dynamic_fit'
summary(object, probs = c(0.025, 0.5, 0.975), ...)
object |
A |
probs |
Quantile probabilities. Default |
... |
Unused. |
An object of class "summary.dynamic_fit" containing posterior
summaries of the global parameters (params, one row per parameter) and
of the fitted values (fitted). The rows of params and the draws they
summarise are
innov_sdsqrt(draws$innov_var): the estimated increment SD
for "gaussian" innovations, the marginal SD for "t" and
"mixture", and the root of the series-average variance for "sv".
t_dfdraws$nu, the Student-t degrees of freedom.
sv_mu, sv_phi, sv_sigmadraws$sv_mu, draws$sv_phi and
draws$sv_sigma, the parameters of the AR(1) log-variance process.
ar1_rhodraws$rho, the AR(1) coefficient.
drift_mu / intercept_mudraws$mu, the random-walk drift or
the AR(1) intercept.
gate_open_probdraws$pi_open, the probability that the
zero-inflation gate is open (one minus the structural-zero
probability).
Rows are included only where relevant. For "mixture" innovations only
innov_sd is reported. The mixture components are exchangeable and not
identified individually, so per-component summaries are not given. The
draws of the weights and component variances are in draws$mix_weight
and draws$mix_var. For the multinomial family every
latent parameter is reported once per non-baseline category, with the
category label in square brackets (e.g. innov_sd[B]), and the fitted
summary is a long data frame with a category column covering all K
categories.
sim <- simulate_dynamic_poisson(50, 0.2, 2, seed = 1)
fit <- fit_dynamic_model(sim$y, nsave = 200, nburn = 100, seed = 1)
summary(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.