estimate_by_post_mean | R Documentation |
estimate_by_post_mean
is function to estimate alpha and logBF
estimate_by_post_mean(data, model, opts, alpha)
data |
data from fit_asl or fit_asl_parallel |
model |
1 = latent cause model, 2 = latent cause modulated RW model |
opts |
(optional) structure defining ASL options |
alpha |
vector of alpha |
df data frame containing post_mean_alpha(posterior mean alpha), logBF(log Bayes factor for the alpha>=0 model relative to the alpha=0 model), loglikelihood and probability each alpha.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.