Skip to content

Commit

Permalink
remove wrong function name
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Feb 25, 2025
1 parent fc2b2af commit 2036f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/introduction_comparisons_2.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ estimate_contrasts(m, "Petal.Length", by = "Petal.Width=[sd]", digits = 1)

### Floodlight analysis and Johnson-Neyman intervals

Another way to handle models with two numeric variables in an interaction is to use so-called floodlight analysis, a spotlight analysis for all values of the moderator variable, which is implemented in the `johnson_neyman()` function that creates Johnson-Neyman intervals. These intervals indicate the values of the moderator at which the slope of the predictor is significant (cf. _Johnson et al. 1950, McCabe et al. 2018_).
Another way to handle models with two numeric variables in an interaction is to use so-called floodlight analysis, a spotlight analysis for all values of the moderator variable. These intervals indicate the values of the moderator at which the slope of the predictor is significant (cf. _Johnson et al. 1950, McCabe et al. 2018_).

Let's look at an example. We first plot the predicted values of `Income` for `Murder` at different values of `Illiteracy`.

Expand Down

0 comments on commit 2036f0d

Please sign in to comment.