Description Usage Arguments Value Examples
function draws variance of idiosyncratic components from inverse gamma distribution.
1 | draw_sig(yt, lambda, ft, Ttq, nu0, s0)
|
yt |
A matrix of demeaned and standardized time series data. |
lambda |
A vector of dimension n x k of the factor loadings. |
ft |
A matrix of the factors. |
Ttq |
Number of high-frequency periods minus lag length for state equation. |
nu0 |
shape (degrees of freedom) of IG distribution. |
s0 |
Prior for the rate (reciprocal of scale) of IG distribution (1/100=0,01 as benchmark residuals of AR(1) from OLS). |
Matrix R.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.