View source: R/es_from_ANCOVA_means.R
es_from_ancova_means_sd_pooled_crude | R Documentation |
Convert adjusted means obtained from an ANCOVA model and crude pooled standard deviation of two independent groups into several effect size measures
es_from_ancova_means_sd_pooled_crude(
ancova_mean_exp,
ancova_mean_nexp,
mean_sd_pooled,
cov_outcome_r,
n_cov_ancova,
n_exp,
n_nexp,
smd_to_cor = "viechtbauer",
reverse_ancova_means
)
ancova_mean_exp |
adjusted mean of participants in the experimental/exposed group. |
ancova_mean_nexp |
adjusted mean of participants in the non-experimental/non-exposed group. |
mean_sd_pooled |
crude pooled standard deviation. |
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_means |
a logical value indicating whether the direction of the generated effect sizes should be flipped. |
This function first computes an "adjusted" mean difference (MD) and Cohen's d (D) from the adjusted means and crude pooled standard deviation of two independent groups. Odds ratio (OR) and correlation coefficients (R/Z) are then converted from the Cohen's d.
To estimate the Cohen's d:
d = \frac{ancova\_mean\_exp - ancova\_mean\_nexp\_adj}{mean\_sd\_pooled}
To estimate the mean difference:
md = ancova\_mean\_exp - ancova\_mean\_nexp\_adj
md\_se = \sqrt{\frac{n\_exp + n\_nexp}{n\_exp * n\_nexp} * (1 - cov\_outcome\_r^2) * mean\_sd\_pooled^2}
Then, calculations of the es_from_ancova_means_sd()
and es_from_cohen_d_adj()
are applied.
This function estimates and converts between several effect size measures.
natural effect size measure | MD + D + G |
converted effect size measure | OR + R + Z |
required input data | See 'Section 19. Adjusted: Means and dispersion' |
https://metaconvert.org/input.html | |
Cooper, H., Hedges, L.V., & Valentine, J.C. (Eds.). (2019). The handbook of research synthesis and meta-analysis. Russell Sage Foundation.
es_from_ancova_means_sd_pooled_crude(
ancova_mean_exp = 29, ancova_mean_nexp = 34,
mean_sd_pooled = 7, cov_outcome_r = 0.2,
n_cov_ancova = 3, n_exp = 20, n_nexp = 20
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.