Draw posterior for measurement equation using an SSVS-prior
1 | draw_posterior_ssvs(fy, xy, K, P, N, Sigma, tau2, c2, gammam, alpha, beta, L)
|
fy |
'independent' variables |
xy |
'dependent' variables |
K |
number of variables in ts model |
P |
Number variables in ts model plus number of factors |
N |
total number of variables in factor data |
Sigma |
previous draw of variances |
tau2 |
variance of coefficients |
c2 |
factor for tau2 |
gammam |
previous draw of gammas |
alpha, beta |
priors for variances |
L |
previous draw of coefficients |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.