upsilon {MBESS} | R Documentation |
This function implements the upsilon effect size statistic as described in Lachowicz, Preacher, & Kelley (in press) for mediation.
Description
This function implements the upsilon effect size statistic as described in Lachowicz, Preacher, & Kelley (in press) for mediation.
Usage
upsilon(x, mediator, dv, conf.level = 0.95, bootstrap = TRUE,
bootstrap.package = "lavaan", bootstrap.type="ordinary", B = 1000,
boot.data.out=FALSE, ...)
Arguments
x |
|
mediator |
|
dv |
|
conf.level |
|
bootstrap |
|
bootstrap.package |
The package that will be used for bootstrapping, either lavaan or boot (default is lavaan). |
bootstrap.type |
The type of bootstrap confidence interval. If |
B |
The number of bootstrap replications (1000 is default) |
boot.data.out |
|
... |
Allows specifictions for functions that are used within this function. |
Value
Returns the value of the effect size upsilon for a simple mediation model.
Note
Note that this function overcomes some limitations of other effects for mediation models, such as those discussed in Preacher and Kelley (2012) and Wen and Fan (2015) and that was developed and delineated in Lachowicz, Preacher, and Kelley, K (in press). This function can only be used for simple mediation models at this time. Note that upsilon()
was included in the mediation()
function but it has become it's own function to provide more flexibility.
Author(s)
Lachowicz Mark J. Lachowicz (Vanderbilt University; Mark.J.Lachowicz@Vanderbilt.edu)
References
Lachowicz, M. J., Preacher, K. J., & Kelley, K. (in press). A novel measure of effect size for mediation analysis. Psychological Methods, X, X–X.
Preacher, K. J., & Kelley, K. (2011). Effect size measures for mediation models: quantitative strategies for communicating indirect effects. Psychological Methods, 16, 93–115.
Wen, Z., & Fan, X. (2015). Monotonicity of effect sizes: Questioning kappa-squared as mediation effect size measure. Psychological Methods, 20, 193–203.