es_from_anova_pval {metaConvert} | R Documentation |
Convert a p-value from a one-way independent ANOVA to several effect size measures
Description
Convert a p-value from a one-way independent ANOVA to several effect size measures
Usage
es_from_anova_pval(
anova_f_pval,
n_exp,
n_nexp,
smd_to_cor = "viechtbauer",
reverse_anova_f_pval
)
Arguments
anova_f_pval |
p-value (two-tailed) from an ANOVA (binary predictor). If your p-value is one-tailed, simply multiply it by two. |
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 |
reverse_anova_f_pval |
a logical value indicating whether the direction of generated effect sizes should be flipped. |
Details
This function converts the p-value from the F-value of an ANOVA (one-way, binary predictor) into a t-value,
and then relies on the calculations of the es_from_student_t()
function.
To convert the p-value into a t-value, the following formula is used (table 12.1 in Cooper):
student\_t = qt(\frac{anova\_f\_pval}{2}, df = n\_exp + n\_nexp - 2)
Then, calculations of the es_from_student_t()
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 11. ANOVA statistics, Student's t-test, or point-bis correlation' |
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_anova_pval(anova_f_pval = 0.0012, n_exp = 20, n_nexp = 22)