Learn R Programming

vcmeta (version 1.5.0)

se.mean.ps: Computes the standard error for a paired-samples mean difference

Description

Computes the standard error of a paired-samples mean difference using the estimated means, estimated standard deviations, estimated Pearson correlation, and sample size. The effect size 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 differences from a combination of 2-group and paired-samples experiments are used in the meta-analysis. Equality of variances is not assumed.

Usage

se.mean.ps(m1, m2, sd1, sd2, cor, n)

Value

Returns a one-row matrix:

  • Estimate - estimated mean difference

  • SE - standard error

Arguments

m1

estimated mean for measurement 1

m2

estimated mean for measurement 2

sd1

estimated standard deviation for measurement 1

sd2

estimated standard deviation for measurement 2

cor

estimated correlation for measurements 1 and 2

n

sample size

References

Snedecor1980vcmeta

Examples

Run this code
se.mean.ps(23.9, 25.1, 1.76, 2.01, .78, 25)

# Should return:
#                   Estimate        SE
# Mean difference:      -1.2 0.2544833

Run the code above in your browser using DataLab