interaction_triptych {quartets}R Documentation

Interaction Triptych Data

Description

This dataset contains 2,700 observations, generated under 3 different conditions

Usage

interaction_triptych

Format

A dataframe with 2700 rows and 5 variables:

Details

In the ideal scenario, only the slopes differ by moderator level. In the "floor effect" scenario, there is an illusion of an interaction, even though only main effects were simulated. In the third scenario, the slopes increase with higher moderator values but the correlation decreases. Running only a linear model would not allow for appropriate differentiation between these effects.

In each case there is a potential moderator with "low" "medium" and "high" values.

References

Rohrer, Julia M., and Ruben C. Arslan. "Precise answers to vague questions: Issues with interactions." Advances in Methods and Practices in Psychological Science 4.2 (2021): 25152459211007368.


[Package quartets version 0.1.1 Index]