Learn R Programming

SIMPLE.REGRESSION (version 0.1.9)

data_Pedhazur_1997: data_Pedhazur_1997

Description

Moderated regression data for a continuous predictor and a dichotomous moderator from Pedhazur (1997, p. 588).

Usage

data(data_Pedhazur_1997)

Arguments

Examples

Run this code
head(data_Pedhazur_1997)
# \donttest{
# replicating results on p. 594 for the Johnson-Neyman technique for a categorical moderator	
MODERATED_REGRESSION(data=data_Pedhazur_1997, DV='Y', 
                     IV='X', IV_range='tumble',
                     MOD='Directive', MOD_type = 'factor', MOD_levels='quantiles', 
                     quantiles_IV=c(.1, .9), quantiles_MOD=c(.25, .5, .75),
                     center = FALSE, 
                     plot_type = 'interaction', 
                     JN_type = 'Pedhazur') 
# }

Run the code above in your browser using DataLab