Description Usage Arguments Details Value
Perform MCMC model fitting for an SBFAC model
1 |
model |
an object of type sbfac, as returned by sbfac(data) |
nsim |
number of iterations past burn-in |
nburn |
number of initial (burn-in) iterations to discard |
thin |
keep every thin'th MCMC sample (i.e. save nsim/thin samples) |
print.status |
how often to print status messages to console |
keep.scores |
save samples of factor scores |
keep.loadings |
save samples of factor loadings |
This function performs a specified number of MCMC iterations and returns an sbfac object containing summary statistics from the MCMC samples as well as the actual samples if keep.scores or keep.loadings are TRUE. Default behavior is to save only the loadings. It is recommended to examine traces and marginal posterior density estimates for the loadings as these can be highly skewed and/or multimodal so that the mean/variance are poor summaries. The scores are generally more 'normal'-looking. Take care with these settings as the samples can be very high dimensional.
The S3 sbfac
object model
, now with posterior samples/summaries.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.