The print
method of the
cond_indirect_effects
-class object.
If bootstrapping confidence intervals
were requested, this method has the
option to print
p-values computed by the
method presented in Asparouhov and Muthén (2021).
Note that these p-values are asymmetric
bootstrap p-values based on the
distribution of the bootstrap estimates.
They not computed based on the
distribution under the null hypothesis.
For a p-value of a, it means that
a 100(1 - a)% bootstrapping confidence
interval
will have one of its limits equal to
0. A confidence interval
with a higher confidence level will
include zero, while a confidence
interval with a lower confidence level
will exclude zero.
Using Original Standard Errors
If these conditions are met, the
stored standard errors, if available,
will be used test an effect and
form it confidence interval:
Confidence intervals have not been
formed (e.g., by bootstrapping or
Monte Carlo).
The path has no mediators.
The model has only one group.
The path is moderated by one or
more moderator.
Both the x
-variable and the
y
-variable are not standardized.
If the model is fitted by OLS
regression (e.g., using stats::lm()
),
then the variance-covariance matrix
of the coefficient estimates will be
used, and the p-value and confidence
intervals are computed from the t
statistic.
If the model is fitted by structural
equation modeling using lavaan
, then
the variance-covariance computed by
lavaan
will be used, and the p-value
and confidence intervals are computed
from the z statistic.
Caution
If the model is fitted by structural
equation modeling and has moderators,
the standard errors, p-values,
and confidence interval computed
from the variance-covariance matrices
for conditional effects
can only be trusted if all covariances
involving the product terms are free.
If any of them are fixed, for example,
fixed to zero, it is possible
that the model is not invariant to
linear transformation of the variables.
The method as.data.frame()
for
cond_indirect_effects
objects is
used to convert this class of objects
to data frames. Used internally by the
print method but can also be used for
getting a data frame with columns such
as p-values and standard errors added.