Wrapper to fit regressions #91
Replies: 3 comments 3 replies
-
I bet you can guess what I think of this even without me saying 😅 |
Beta Was this translation helpful? Give feedback.
-
Yeah, sounds good. We just need to clarify how to implement the formula-feature:
This list is probably much longer, but you may try to write a first draft (which might end up in rewriting the easystats packages 😬 ). |
Beta Was this translation helpful? Give feedback.
-
for the formula, I'd go the brms/lme4 way and having every part in the formula, I personally hate when random effects are a separate argument (for the zi and what not, no idea, as I never use them so I trust your judgment)
I'm a simple psychologist i don't
I think by default the family is gaussian-identity, and if different the family arg is simply passed down to the relevant function (wether glm() or glmer() etc) |
Beta Was this translation helpful? Give feedback.
-
easystats/parameters#361 (reply in thread) made me think, whether it would make sense to add a little "wrapper" for regressions...
Basically it would just use a decision algorithm based on the formula, like:
bayesian=T
, use the according rstanarm functionsIt could be quite basic and work for the most basic usecases, as this would be a convenience wrapper rather than a cutting-edge expert-level feature. Benefits could be native full easystats support, like we could clean/tidy up the output so that it's consistent no-matter what package was internally used.
I mean, at least I would use it since for 99% of my work I use the models above 😁 so it would visually please me to always use the same function to fit models (+ in a pipe friendly way)
Beta Was this translation helpful? Give feedback.
All reactions