se.meanratio2 | R Documentation |
This function computes the standard error of a 2-group log mean ratio using the estimated means, estimated standard deviations, and sample sizes. The log mean estimate and standard error output from this function can be used as input in the meta.ave.gen, meta.lc.gen, and meta.lm.gen functions in application where compatible mean ratios from a combination of 2-group and paired-samples experiments are used in the meta-analysis. Equality of variances is not assumed.
se.meanratio2(m1, m2, sd1, sd2, n1, n2)
m1 |
estimated mean for group 1 |
m2 |
estimated mean for group 2 |
sd1 |
estimated standard deviation for group 1 |
sd2 |
estimated standard deviation for group 2 |
n1 |
sample size for group 1 |
n2 |
sample size for group 2 |
Returns a one-row matrix:
Estimate - estimated log mean ratio
SE - standard error
Bonett2020vcmeta
se.meanratio2(21.9, 16.1, 3.82, 3.21, 40, 40)
# Should return:
# Estimate SE
# Log mean ratio: 0.3076674 0.041886
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.