Standardize conditional mediation results using existing joint draws
Source:R/standardize_moderation.R
standardize_moderation.RdStandardize conditional mediation results using existing joint draws
Value
A moderation list with the same conditional tables and curves as the raw output, or a list with mc and boot components for ci_method="both".
Details
Conditional indirect and total effects are divided by the marginal model-implied SD of Ydiff. Conditional paths use their endpoint scales. Moderator probe values remain fixed in raw units; continuous interaction coefficients in mod_coeff are reported per SD of W. Dummy variables retain 0/1 units. Coefficients and scales are transformed jointly for each draw. Intervals are percentile intervals, as in the raw conditional tables. Metadata attributes record scales, probe conventions and draw diagnostics. With fixed.x=TRUE, external moments are held fixed. MI uses pooled primitive parameters and the existing first-imputation probing reference. For models with endogenous products, marginal variances are pooled jointly with coefficients before taking square roots, retaining their sampling covariance. Saved endogenous-product fits and MI draws require compatible algorithm identifiers. Refit unversioned old models rather than restandardizing them.