Learn R Programming

epiR (version 2.0.75)

epi.smd: Fixed-effects meta-analysis of continuous outcomes using the standardised mean difference method

Description

Computes the standardised mean difference and confidence intervals of the standardised mean difference for continuous outcome data.

Usage

epi.smd(mean.trt, sd.trt, n.trt, mean.ctrl, sd.ctrl, n.ctrl, 
   names, method = "cohens", conf.level = 0.95)

Value

A list containing the following:

md

standardised mean difference and its confidence interval computed for each trial.

md.invar

the inverse variance (fixed effects) summary standardised mean difference.

md.dsl

the DerSimonian and Laird (random effects) summary standardised mean difference.

heterogeneity

a vector containing Q the heterogeneity test statistic, df the degrees of freedom and its associated P-value.

Arguments

mean.trt

a vector, defining the mean outcome in the treatment group.

sd.trt

a vector, defining the standard deviation of the outcome in the treatment group.

n.trt

a vector, defining the number of subjects in the treatment group.

mean.ctrl

a vector, defining the mean outcome in the control group.

sd.ctrl

a vector, defining the standard deviation of the outcome in the control group.

n.ctrl

a vector, defining the number of subjects in the control group.

names

character string identifying each trial.

method

a character string indicating the method to be used. Options are cohens or hedges and glass.

conf.level

magnitude of the returned confidence interval. Must be a single number between 0 and 1.

References

Deeks JJ, Altman DG, Bradburn MJ (2001). Statistical methods for examining heterogeneity and combining results from several studies in meta-analysis. In: Egger M, Davey Smith G, Altman D (eds). Systematic Review in Health Care Meta-Analysis in Context. British Medical Journal, London, pp. 290 - 291.

See Also

epi.dsl, epi.iv, epi.mh

Examples

Run this code
## EXAMPLE 1:
## A systematic review comparing assertive community treatment (ACT) for the 
## severely mentally ill was compared to standard care. A systematic review
## comparing ACT to standard care found three trials that assessed mental
## status after 12 months. All three trials used a different scoring system,
## so standardisation is required before they can be compared.

names <- c("Audini", "Morse", "Lehman")
mean.trt <- c(41.4, 0.95, -4.10)
mean.ctrl <- c(42.3, 0.89, -3.80)
sd.trt <- c(14, 0.76, 0.83)
sd.ctrl <- c(12.4, 0.65, 0.87)
n.trt <- c(30, 37, 67)
n.ctrl <- c(28, 35, 58)

epi.smd(mean.trt, sd.trt, n.trt, mean.ctrl, sd.ctrl, n.ctrl, 
   names, method = "cohens", conf.level = 0.95)

Run the code above in your browser using DataLab