data_Cohen_Aiken_West_2003_9 {SIMPLE.REGRESSION}R Documentation

data_Cohen_Aiken_West_2003_9

Description

Moderated regression data for a continuous predictor and a categorical moderator from Cohen, Cohen, West, & Aiken (2003, Chapter 9).

Usage

data(data_Cohen_Aiken_West_2003_9)

Source

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.

Examples

head(data_Cohen_Aiken_West_2003_9)

# replicates p 376 of Chapter 9 of Cohen, Cohen, West, & Aiken (2003)
MODERATED_REGRESSION(data=data_Cohen_Aiken_West_2003_9, DV='SALARY',
                     IV='PUB', IV_range='tumble',
                     MOD='DEPART_f', MOD_type = 'factor', MOD_levels='AikenWest', 
                     quantiles_IV=c(.1, .9), quantiles_MOD=c(.25, .5, .75),
                     center = TRUE,  
                     plot_type = 'regions') 


[Package SIMPLE.REGRESSION version 0.1.9 Index]