richarddmorey / BayesFactor

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

posterior from regression with interactions does not use interaction terms #55

Closed richarddmorey closed 9 years ago

richarddmorey commented 9 years ago
data(attitude)
bf=generalTestBF(rating~complaints+privileges+complaints:privileges,data=attitude)
head(posterior(bf[4], iterations = 100))

The interaction columns in the design matrix are not passed to the Gibbs sampler.