SA_lookup | R Documentation |
SA_lookup()
is used to look up the sensitivity analysis results for a two-wave mediation model when provided with the cross-sectional correlations.
SA_lookup(CorXM, CorXY, CorMY)
CorXM |
The observed correlation between predictor X and mediator M. |
CorXY |
The observed correlation between predictor X and outcome Y. |
CorMY |
The observed correlation between mediator M and outcome Y. |
Results of a sensitivity analysis with varying cross-lagged and autoregressive correlations.
# specify correlations
xm <- .2
xy <- .3
my <- .4
output <- SA_lookup(
CorXM = xm,
CorXY = xy,
CorMY = my
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.