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

[paper] writing #332

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

[paper] writing #332

wants to merge 8 commits into from

Conversation

DominiqueMakowski
Copy link
Member

Let's get this bad boi out.

@mattansb @bwiernik what would you write about the two backends, emmeans and marginaleffects, their main differences etc.

Do they both rely on the delta method?

@DominiqueMakowski
Copy link
Member Author

@strengejacke I think I'll need your help for the marginal section, the different types of marginalization etc. it's quite blurry in my head to be honest ^^

@DominiqueMakowski DominiqueMakowski linked an issue Jan 13, 2025 that may be closed by this pull request
@DominiqueMakowski
Copy link
Member Author

@easystats/core-team remaining bits:

  • add details about types of marginalization
  • Drawbacks/benefits of both backends
  • Polishing

@mattansb
Copy link
Member

emmeans relies on the delta method for non-linear transformations when those are done as part of the estimation.

@DominiqueMakowski where do you want my input, and what should it include? I must admit I have 0 familiarity with modelbased - I use marginaleffects, emmeans and ggeffects directly for plotting and estimation, so I have no idea what would be relevant here.

@DominiqueMakowski
Copy link
Member Author

I must admit I have 0 familiarity

Your torment over you can make the switch now 😛

Mostly if you could take a look at the technical details section that talks about the backends

@strengejacke
Copy link
Member

strengejacke commented Jan 14, 2025

I must admit I have 0 familiarity with modelbased

modelbased currently covers classical predict() (non-focal held constant at representative values) or estimates marginal means (non-focal averaged/weighted), the latter using emmeans resp. marginaleffects via estimate_means(). estimate_means() should return identical results for both emmeans and marginaleffects backends, i.e. currently we support marginaleffects by mimicking the emmeans-approach of marginalzation.

@DominiqueMakowski DominiqueMakowski mentioned this pull request Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Contrasting slopes: differences between backends
3 participants