Added documentation for prior command (CLI).
parent
a40214ae8d
commit
bdb5068235
|
@ -13040,6 +13040,48 @@ A @code{1*Nblck} array of doubles. Current acceptance ratios.
|
||||||
|
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
|
|
||||||
|
@deffn {MATLAB/Octave command line} prior [options[, ...]];
|
||||||
|
|
||||||
|
Prints various informations about the prior distribution depending on
|
||||||
|
the options. If no options are provided, the command returns the list
|
||||||
|
of available options. Following options are available:
|
||||||
|
|
||||||
|
@table @code
|
||||||
|
|
||||||
|
@item table
|
||||||
|
Prints a table describing the marginal prior distributions (mean, mode,
|
||||||
|
std., lower and upper bounds, HPD interval).
|
||||||
|
|
||||||
|
@item moments
|
||||||
|
Computes and displays first and second order moments of the endogenous
|
||||||
|
variables at the prior mode (considering the linearized version of the
|
||||||
|
model).
|
||||||
|
|
||||||
|
@item optimize
|
||||||
|
Optimizes the prior density (starting from a random initial guess). The
|
||||||
|
parameters such that the steady state does not exist or does not satisfy
|
||||||
|
the Blanchard and Kahn conditions are penalized, as they would be when
|
||||||
|
maximizing the posterior density. If a significant proportion of the
|
||||||
|
prior mass is defined over such regions, the optimization algorithm may
|
||||||
|
fail to converge to the true solution (the prior mode).
|
||||||
|
|
||||||
|
@item simulate
|
||||||
|
Computes the effective prior mass using a Monte-Carlo. Ideally the
|
||||||
|
effective prior mass should be equal to 1, otherwise problems may arise
|
||||||
|
when maximising the posterior density and model comparison based
|
||||||
|
on marginal densities may be unfair. When comparing models, say @math{A}
|
||||||
|
and @math{B}, the marginal densities, @math{m_A} and @math{m_B}, should
|
||||||
|
be corrected for the estimated effective prior mass @math{p_A\neq p_B
|
||||||
|
\leq 1} so that the prior mass of the compared models are identical.
|
||||||
|
|
||||||
|
@item plot
|
||||||
|
Plots the marginal prior density.
|
||||||
|
|
||||||
|
@end table
|
||||||
|
|
||||||
|
@end deffn
|
||||||
|
|
||||||
@node Bibliography
|
@node Bibliography
|
||||||
@chapter Bibliography
|
@chapter Bibliography
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue