Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jan 29, 2025
1 parent 7548abb commit 69e54f6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions paper/paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ The two probably most popular R packages for extracting these quantities of inte

# Key concepts

- Conceptual differences between predictions and marginal means?
- Concept of focal and non-focal terms?
- For marginalization, we can refer to non-focal terms, meaning it would be good to have the concept introduced somewhere

## Predictions

At a fundamental level, `modelbased` and similar packages leverage model *predictions*.
Expand Down Expand Up @@ -77,17 +81,17 @@ For instance, `estimate_relation(..., predict="link")` will be equivalent to `es
These functions belong to the same family, and their relevance depends on the model and the research question.


## Marginal effects
## Marginal means and effects

The concept of "marginal" in statistical modeling refers to the effect of one variable when all other variables are held constant at specific values
(e.g., their reference value, or their empirical or theoretical average).
This is crucial for interpreting how individual predictors influence the response variable in complex models.

- `estimate_means()`: computes **Marginal Means**, i.e., the average predictions for each level of a categorical predictor, averaged across all levels of other predictors.
- `estimate_contrasts()`: computes **Marginal Contrasts**, i.e., the comparison the marginal means of different levels of a factor to assess differences or effects.
- `estimate_slopes()`: computes **Marginal Slopes**, i.e., the change in the response variable for a one-unit change in a predictor, holding all other predictors constant. They are essentially the partial derivatives of the response with respect to each predictor, useful for continuous predictors.
- `estimate_slopes()`: computes **Marginal Slopes**, i.e., the change in the response variable for an infinitesimal change in a predictor, averaged across all levels of other predictors. They are essentially the partial derivatives of the response with respect to each predictor, useful for continuous predictors.

The modelbased package simplifies the extraction of these effects, providing a clear interface to understand how different predictors interact with outcomes in various scenarios.
The modelbased package simplifies the extraction of these quantities, providing a clear interface to understand how different predictors interact with outcomes in various scenarios.

[details about types of marginalization]

Expand Down

0 comments on commit 69e54f6

Please sign in to comment.