Skip to contents

Standardized Moderation Effect

Standardize selected variables and form nonparametric bootstrapping confidence intervals. std_selected() and std_selected_boot() also support mean-centering and regression models without interaction terms. stdmod_lavaan() provides preliminary support for interaction terms in a model fitted by lavaan::lavaan().

std_selected() std_selected_boot()
Standardize Variables in a Regression Model
stdmod_lavaan()
Standardized Moderation Effect and Its Bootstrap CI in 'lavaan'
stdmod() stdmod_boot()
Standardized Moderation Effect Given an 'lm' Output

Helper Functions

Plot moderation effects or compute conditional effects for specific levels of the moderators.

plotmod()
Moderation Effect Plot
cond_effect() cond_effect_boot()
Conditional Effects

Other Functions

summary(<std_selected>)
Summary Method for a 'std_selected' Class Object
update(<std_selected>)
The 'update' Method for a 'std_selected' Class Object
vcov(<std_selected>)
The 'vcov' Method for a 'std_selected' Class Object
add1(<std_selected>)
The 'add1' Method for a 'std_selected' Class Object
confint(<std_selected>)
Confidence Intervals for a 'std_selected' Class Object
print(<std_selected>)
Print Basic Information of a 'std_selected' Class Object
print(<cond_effect>)
Print a 'cond_effect' Class Object
coef(<cond_effect>)
Conditional Effect in a 'cond_effect'-Class Object
confint(<cond_effect>)
Confidence Intervals for a 'cond_effect' Class Object
print(<summary.std_selected>)
Print the Summary of a 'std_selected' Class Object
confint(<stdmod_lavaan>)
Confidence Intervals for a 'stdmod_lavaan' Class Object
print(<stdmod_lavaan>)
Print a 'stdmod_lavaan' Class Object
coef(<stdmod_lavaan>)
Standardized Moderation Effect in a 'stdmod_lavaan' Class Object

Datasets

Datasets used in examples.

sleep_emo_con
Sample Dataset: Predicting Sleep Duration
test_mod1
Sample Dataset: A Path Model With A Moderator
test_mod2
Sample Dataset: A Path Model With A Moderator
test_mod3_miss
Sample Dataset: A Path Model With A Moderator
test_x_1_w_1_v_1_cat1_n_500
Sample Dataset: One IV, One Moderator, Two Covariates
test_x_1_w_1_v_1_cat1_xw_cov_n_500
Sample Dataset: One IV, One Moderator, Two Covariates
test_x_1_w_1_v_1_cat1_xw_cov_wcat3_n_500
Sample Dataset: One IV, One 3-Category Moderator, Two Covariates
test_x_1_w_1_v_2_n_500
Sample Dataset: One IV, One Moderator, Two Covariates