abco | R Documentation |
Run the MCMC sampler for ABCO with a penalty on first (D = 1), or second (D = 2) differences of the conditional expectation. The penalty utilizes the dynamic horseshoe prior on the evolution errors. Sampling is accomplished with a (parameter-expanded) Gibbs sampler, mostly relying on a dynamic linear model representation.
abco(
y,
D = 1,
useAnom = TRUE,
obsSV = "const",
nsave = 1000,
nburn = 1000,
nskip = 4,
mcmc_params = list("mu", "omega", "yhat", "evol_sigma_t2", "r", "zeta", "obs_sigma_t2",
"zeta_sigma_t2", "dhs_phi", "dhs_mean", "h", "h_smooth"),
verbose = TRUE,
D_asv = 1,
evol_error_asv = "HS",
nugget_asv = TRUE
)
y |
the |
D |
degree of differencing (D = 1, or D = 2) |
useAnom |
logical; if TRUE, include an anomaly component in the observation equation |
obsSV |
Options for modeling the error variance. It must be one of the following:
|
nsave |
number of MCMC iterations to record |
nburn |
number of MCMC iterations to discard (burnin) |
nskip |
number of MCMC iterations to skip between saving iterations, i.e., save every (nskip + 1)th draw |
mcmc_params |
named list of parameters for which we store the MCMC output; must be one or more of:
|
verbose |
logical; should R report extra information on progress? |
D_asv |
integer; degree of differencing (0, 1, or 2) for the ASV model. Only used when |
evol_error_asv |
character; evolution error distribution for the ASV model. Must be one of the five options used in |
nugget_asv |
logical; if |
A named list of the nsave
MCMC samples for the parameters named in mcmc_params
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.