The following changes have been made since the initial release of
causal.decomp
0.0.1.
causal.decomp
0.1.0.sensitivity
is added, which implements the
sensitivity analysis for the causal decomposition analysis. As of
version 0.1.0, the argument boot.res
of
sensitivity
must be an object generated by smi
with a single mediator. The object generated by sensitivity
can be visualized in contour plots with robustness values using the
plot()
method.fit.m
and
fit.y
, the weights are incorporated in the estimation by
the smi
, mmi
, or pocr
function.sMIDUS
is added, which is synthetic data
containing variables from actual Midlife Development in the U.S. (MIDUS)
data used in Park et al. (2023). As the actual data is not publicly
available due to confidentiality concerns, sMIDUS
is not
directly derived from the actual data but artificially generated to
mimic the actual MIDUS data.