data_Cohen_Aiken_West_2003_7 | R Documentation |
Moderated regression data for a continuous predictor and a continuous moderator from Cohen, Cohen, West, & Aiken (2003, Chapter 7).
data(data_Cohen_Aiken_West_2003_7)
Cohen, J., Cohen, P., West, S. G., & Aiken, L. S. (2003). Applied multiple regression/correlation analysis for the behavioral sciences (3rd ed.). Lawrence Erlbaum Associates.
head(data_Cohen_Aiken_West_2003_7)
# replicates p 276 of Chapter 7 of Cohen, Cohen, West, & Aiken (2003)
MODERATED_REGRESSION(data=data_Cohen_Aiken_West_2003_7, DV='yendu',
IV='xage', IV_range='tumble',
MOD='zexer', MOD_levels='AikenWest',
quantiles_IV=c(.1, .9), quantiles_MOD=c(.25, .5, .75),
center = TRUE,
plot_type = 'regions')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.