R/meta_se.R
se.meanratio.ps.Rd
This function computes the standard error of a paired-samples log mean ratio using the estimated means, estimated standard deviations, estimated Pearson correlation, and sample size. 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 applications 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.meanratio.ps(m1, m2, sd1, sd2, cor, n)
estimated mean for measurement 1
estimated mean for measurement 2
estimated standard deviation for measurement 1
estimated standard deviation for measurement 2
estimated correlation for measurements 1 and 2
sample size
Returns a one-row matrix:
Estimate - estimated log mean ratio
SE - standard error
Bonett DG, Price RM (2020). “Confidence intervals for ratios of means and medians.” Journal of Educational and Behavioral Statistics, 45(6), 750--770. ISSN 1076-9986, doi:10.3102/1076998620934125 .
se.meanratio.ps(21.9, 16.1, 3.82, 3.21, .748, 40)
#> Estimate SE
#> Log mean ratio: 0.3076674 0.02130161
# Should return:
# Estimate SE
# Log mean ratio: 0.3076674 0.02130161