es_from_ancova_f {metaConvert} | R Documentation |
Convert a F-statistic obtained from an ANCOVA model into several effect size measures.
Description
Convert a F-statistic obtained from an ANCOVA model into several effect size measures.
Usage
es_from_ancova_f(
ancova_f,
cov_outcome_r,
n_cov_ancova,
n_exp,
n_nexp,
smd_to_cor = "viechtbauer",
reverse_ancova_f
)
Arguments
ancova_f |
a F-statistic from an ANCOVA (binary predictor) |
cov_outcome_r |
correlation between the outcome and covariate(s) (multiple correlation when multiple covariates are included in the ANCOVA model). |
n_cov_ancova |
number of covariates in the ANCOVA model. |
n_exp |
number of participants in the experimental/exposed group. |
n_nexp |
number of participants in the non-experimental/non-exposed group. |
smd_to_cor |
formula used to convert the adjusted |
reverse_ancova_f |
a logical value indicating whether the direction of the generated effect sizes should be flipped. |
Details
This function first computes an "adjusted" Cohen's d (D), and Hedges' g (G) from the F-value of an ANCOVA (binary predictor). Odds ratio (OR) and correlation coefficients (R/Z) are then converted from the Cohen's d.
To estimate a Cohen's d the formula used is (table 12.3 in Cooper):
cohen\_d = \sqrt{ancova\_f * \frac{(n\_exp+n\_nexp)}{n\_exp*n\_nexp}} * \sqrt{1 - cov\_out\_cor^2}
To estimate other effect size measures,
Calculations of the es_from_cohen_d_adj()
are applied.
Value
This function estimates and converts between several effect size measures.
natural effect size measure | D + G |
converted effect size measure | OR + R + Z |
required input data | See 'Section 18. Adjusted: ANCOVA statistics, eta-squared' |
https://metaconvert.org/html/input.html | |
References
Cooper, H., Hedges, L. V., & Valentine, J. C. (Eds.). (2019). The handbook of research synthesis and meta-analysis. Russell Sage Foundation.
Examples
es_from_ancova_f(ancova_f = 4, cov_outcome_r = 0.2, n_cov_ancova = 3, n_exp = 20, n_nexp = 20)