richarddmorey / BayesFactor

BayesFactor R package for Bayesian data analysis with common statistical models.
https://richarddmorey.github.io/BayesFactor/
132 stars 49 forks source link

intercept with metric predictors #101

Closed SanVerhavert closed 7 years ago

SanVerhavert commented 7 years ago

Is there a reason why posterior does not return samples for the intercept (or mu) when metric predictors are used?

richarddmorey commented 7 years ago

Yes; it was integrated out analytically, and so does not appear in the Gibbs sampler output. This will change in the next version of BayesFactor. See https://github.com/richarddmorey/BayesFactor/commit/12829f1c29d1796140a41e59e6fdf18755187de3