Description Usage Arguments Details Value Examples
function that allows to draw from posterior of factor loadings.
1 | draw_lam(yt, ft, R, lam0, V_lam)
|
yt |
A matrix of demeaned and standardized time series data. |
ft |
A matrix of the factors. |
R |
Diagonal matrix of dimension n of idiosyncratic component. |
lam0 |
Matrix of mean of initial factor loadings. |
V_lam |
Diagonal matrix of dimension k of Variance-Covariance matrix of initial factor loadings. |
The function conducts a normalization by demeaning and dividing by the standard deviation of the individual time series.
Element of a vector, coefficient of lambda.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.