data_Pedhazur_1997 {SIMPLE.REGRESSION}R Documentation

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)

Source

Pedhazur, E. J. (1997). Multiple regression in behavioral research: Explanation and prediction. (3rd ed.). Fort Worth, Texas: Wadsworth Thomson Learning.

Examples

head(data_Pedhazur_1997)


# replicating results on p. 594 for the Johnson-Neyman technique for a categorical moderator	
SIMPLE.REGRESSION(data=data_Pedhazur_1997, DV='Y', 
                  IV='X', IV_type = 'numeric', IV_range='tumble',
                  MOD='Directive', MOD_type = 'factor', MOD_levels='quantiles', 
                  MOD_range=NULL,
                  quantiles_IV=c(.1, .9), quantiles_MOD=c(.25, .5, .75),
                  CENTER = FALSE, COVARS=NULL, 
                  PLOT_type = 'interaction', PLOT_title=NULL, 
                  Xaxis_label=NULL, Yaxis_label=NULL, LEGEND_label=NULL,
                  JN_type = 'Pedhazur', verbose=TRUE ) 


[Package SIMPLE.REGRESSION version 0.1.6 Index]