Description Usage Arguments Value
Simulates from the posterior distribution of the parameters of a simple Bayesian Factor Analysis using the Gibbs algorithm, considering vague prior distributions for all parameters.
1 | bfa(Y, k, N = 5000)
|
Y |
A T by m matrix containing each m-dimensional observation in each row. |
k |
The number of factors to be considered. |
N |
The number of iterations for the MCMC algorithm to run. |
A list with the chains 'factor', 'beta' and 'vars'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.