This dataset contains 2,700 observations, generated under 3 different conditions
(1) Ideal case
(2) Floor effect, No latent interaction
(3) Smaller correlation at larger slope
Format
A dataframe with 2700 rows and 5 variables:
dataset
: ideal, floor, or smaller correlation at larger slopemoderator
: a factor that potentially interacts withx
, values: low, medium, or highx
y
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.