priors.spec {DGM} | R Documentation |
Specify the priors. Without inputs, defaults will be used.
Description
Specify the priors. Without inputs, defaults will be used.
Usage
priors.spec(m0 = 0, CS0 = 3, n0 = 0.001, d0 = 0.001)
Arguments
m0 |
the value of the prior mean at time |
CS0 |
controls the scaling of the prior variance matrix |
n0 |
prior hyperparameter of precision |
d0 |
prior hyperparameter of precision |
Details
At time t=0
, (theta_{0} | D_{0}, phi) ~ N(m_{0},C*_{0} x phi^{-1})
,
where D_{0}
denotes the set of initial information.
Value
priors
a list with the prior hyperparameters. Relevant to dlm.lpl,
exhaustive.search, node, subject
.
References
West, M. & Harrison, J., 1997. Bayesian Forecasting and Dynamic Models. Springer New York.
Examples
pr=priors.spec()
pr=priors.spec(n0=0.002)