compute_mcmc_results {sectorgap} | R Documentation |
Results for sampled parameters and states
Description
Computes estimation results for the MCMC sampling output for a specific HPDI and evaluation function (e.g. mean or median).
Usage
compute_mcmc_results(
model,
settings,
mcmc,
data,
HPDIprob = NULL,
fit = NULL,
...
)
Arguments
model |
state space model object, returned by the function
|
settings |
list with model setting, in the format returned by the
function |
mcmc |
list with draws of parameters and states (including burnin phase) |
data |
list with at least two named components: |
HPDIprob |
probability of highest posterior density interval, optional
if |
fit |
(optional) an object of class |
... |
additional arguments (in case |
Details
If fit
is supplied, the arguments
model, settings, mcmc
will be taken from this object.
Value
An object of class ss_fit
.