Description Usage Arguments Value Author(s) References See Also Examples
Draws N samples from the conditional distribution of θ_1,…,θ_n given y_1,…,y_n in a Gaussian state space model.
1 | ksimulate(ss, N = 1)
|
ss |
an object of class |
N |
an integer giving the number of simulated realizations wanted. |
An array of dimension n \times p \times N. The i'th
simulated state vector at time t is located in [t,,i]
.
Claus Dethlefsen and Søren Lundbye-Christensen.
C.K. Carter and R. Kohn (1994). On Gibbs Sampling for State Space Models. Biometrika, 3, 541-553.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.