Description Usage Arguments Value
This function implements a basic Gibbs Sampler simulating between P( θ \mid Z,Y,Σ) and P( Σ \mid Z, Y, θ ).
1 | Gibbs(Z, Y, params, iters)
|
Z |
the list of model matrices for t=1,…,τ. |
Y |
the list of dependent variable vectors. |
params |
a three-component list, containing:
|
iters |
the number of sampling iterations. It must be remembered that the burn-in period must be accounted for in selecting the number of iterations. |
An object of class Gibbs
, containing:
the simulated runs for θ.
the simulated runs for Σ and Σ^{-1}.
the simulated covariance matrix of the parameters ( V_{β} )
This object is a list, containing three arrays of matrices and a matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.