richarddmorey / BayesFactor

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

4-way analysis takes too long to build #2

Closed richarddmorey closed 10 years ago

richarddmorey commented 10 years ago

If using "withmain", for instance, the following:

library(BayesFactor)

BayesFactor:::enumerateGeneralModels(x ~ a*b*c*d, whichModels="withmain", 
                                     neverExclude=NULL)

it takes a really, really long time to build the model set. The problem is two fold: the exponential growth in the number of models, and (suboptimal) way they are currently generated.

richarddmorey commented 10 years ago

Solved; see https://github.com/richarddmorey/BayesFactor/pull/3