Summarises Monte-Carlo draws from a semmcci object when the
moderator W is continuous.
The function outputs:
mod_coeff – table of every moderated path coefficient
(aw, bw, dw, cpw) with its base
counterpart and 95 % CI;
beta_coef – indirect effect at three reference points of W (–1 SD, mean, +1 SD);
path_HML – likewise, the moderated primary paths
(a, b, …) at the three W levels;
theta_curve – full curve of the indirect effect over a user-defined grid of centred W;
path_curve – full curve for every moderated base path.
Significance stars ("*") are added where the CI excludes 0.
analyze_mm_continuous(
mc_result,
data,
MP,
W_raw_name = "W",
ci_level = 0.95,
W_values = NULL,
n_curve = 120,
digits = 8
)A named list with components:
mod_coeffModerated path coefficients (aw,
bw, …).
beta_coefIndirect effect at –1 SD / 0 SD / +1 SD.
path_HMLModerated base paths at the three W levels.
theta_curveData frame of the indirect effect curve.
path_curveData frame of each moderated base-path curve.
A semmcci object returned by MCMI2().
A processed data frame (first element of
PrepareData() output) that contains the raw moderator column.
Name of the moderator column in data.
Default "W".
Two-sided confidence level (default 0.95).
Numeric vector of raw W values at which to
evaluate “Low / Mid / High” effects.
If NULL (default) the vector \(mean(W) ± 1\,SD\) is used.
Integer, number of points used to draw the continuous
effect curve (default 120).
Integer, decimal places for rounding (default 3).