es_from_ancova_md_se {metaConvert} | R Documentation |
Convert an adjusted mean difference and standard error between two independent groups obtained from an ANCOVA model into several effect size measures
Description
Convert an adjusted mean difference and standard error between two independent groups obtained from an ANCOVA model into several effect size measures
Usage
es_from_ancova_md_se(
ancova_md,
ancova_md_se,
cov_outcome_r,
n_cov_ancova,
n_exp,
n_nexp,
smd_to_cor = "viechtbauer",
reverse_ancova_md
)
Arguments
ancova_md |
adjusted mean difference between two independent groups |
ancova_md_se |
covariate-adjusted standard error of the mean difference |
cov_outcome_r |
correlation between the outcome and covariate (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 |
reverse_ancova_md |
a logical value indicating whether the direction of generated effect sizes should be flipped. |
Details
This function converts the mean difference (MD) standard error into a standard deviation,
and then relies on the calculations of the es_from_ancova_md_sd
function.
To convert the standard error into a standard deviation, the following formula is used.
ancova\_md\_sd = \frac{ancova\_md\_se}{\sqrt{1 / n_exp + 1 / n_nexp}}
Calculations of the es_from_ancova_md_sd()
are then applied.
Value
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 20. Adjusted: Mean difference and dispersion' |
https://metaconvert.org/html/input.html | |
Examples
es_from_ancova_md_se(
ancova_md = 4, ancova_md_se = 2,
cov_outcome_r = 0.5, n_cov_ancova = 5,
n_exp = 20, n_nexp = 22
)