Alternative to car::vif() for brmsfit models

Part of modeling is assessing the collinearity of the model. I normally do this with car::vif(fit), but after fitting a model in brms I tried car::vif(brmsfit) and got the following error

Error: No group-level effects detected. Call method ‘fixef’ to access population-level effects.

How can I asses collinarity with models with in brms?

There is no such method for brmsfit objects. I suggest you run your model once with lm() just to extract the VIFs.

When you ask brms related questions, please give your question the “Interfaces - brms” tag.

2 Likes