Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixed models #14

Open
lindeloev opened this issue Mar 5, 2018 · 4 comments
Open

Mixed models #14

lindeloev opened this issue Mar 5, 2018 · 4 comments
Assignees

Comments

@lindeloev
Copy link

BAS makes using well-established prior types a breeze. Thanks for that!

I would very much like to see BAS.lm and BAS.glm extended to mixed models, i.e. models with random effects. This would pave the road for Bayesian (G)LMMs in JASP where this has been requested for a while: https://github.com/jasp-stats/jasp-desktop/issues/1846 and https://github.com/jasp-stats/jasp-desktop/issues/1103.

@merliseclyde
Copy link
Owner

@lindeloev do you have a particular syntax or form for representing random effects? i.e. it would be helpful to piggy-back off of other package syntax for representing random effects. The independent representation in mgcv should be relatively easy to implement, but more general covariance structures need additional thought.

@lindeloev
Copy link
Author

@merliseclyde The lme4 syntax is widespread so should ease the adoption for many. So for example:

height ~ time * gender + (1 + time | id)

It is also used in brms which is strongly gaining popularity and has shown that this framework is scalable to specifying missing data imputation, censoring, etc.. In addition, specifying the random effect structure in the same formula that specifies the fixed effects require a lot less syntax than having a separate random argument as mgcv and BayesFactor do.

@TarandeepKang
Copy link

Hi Dr Clyde,

I'm just wondering if you've been able to make any progress on including mixed models in your package? I agree with Jonas above, thatyou've been able to make any progress on including mixed models in your package? I agree with Jonas above, that this type of analysis has grown inutility in the last few years. Likewise, the lme4 style of syntax is certainly the most widespread, and is likely to represent the fewest barriers in encouraging users to adopt these types of models and use them from your package. I am happy to help out in any way that would be useful to you.

@Whirly123
Copy link

Whirly123 commented Aug 27, 2022

Wanted to check in on whether this is still on the road-map. There isn't anything out there for "default" bayes factors for mixed-model logistic regressions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants