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

bayestestR::frequentist_to_bayesian() similar to bayestestR::bayesian_as_frequentist() #684

Open
Polkas opened this issue Dec 5, 2024 · 0 comments
Labels
Enhancement 💥 Implemented features can be improved or revised

Comments

@Polkas
Copy link

Polkas commented Dec 5, 2024

I propose adding a function, frequentist_to_bayesian(), to bayestestR to enable seamless conversion of frequentist models (e.g., lm, glm, lme4, gam) into their Bayesian equivalents using packages like brms. This function would complement the existing bayesian_as_frequentist() by providing a two-way workflow between frequentist and Bayesian methods. It should extract the formula, data, and family from the input model and fit a Bayesian counterpart with default or user-specified priors. This would simplify Bayesian exploration for users and allow direct comparison of frequentist and Bayesian results, enhancing the versatility of the package.
Please take into account that I can help in development if needed.

@strengejacke strengejacke added the Enhancement 💥 Implemented features can be improved or revised label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement 💥 Implemented features can be improved or revised
Projects
None yet
Development

No branches or pull requests

2 participants