meta.lc.gen {vcmeta}R Documentation

Confidence interval for a linear contrast of effect sizes

Description

Computes the estimate, standard error, and confidence interval for a linear contrast of any type of effect size from two or more studies.

Usage

meta.lc.gen(alpha, est, se, v)

Arguments

alpha

alpha level for 1-alpha confidence

est

vector of parameter estimates

se

vector of standard errors

v

vector of contrast coefficients

Value

Returns 1-row matrix with the following columns:

Examples

est <- c(.55, .59, .44, .48, .26, .19)
se <- c(.054, .098, .029, .084, .104, .065)
v <- c(.5, .5, -.25, -.25, -.25, -.25)
meta.lc.gen(.05, est, se, v)

# Should return: 
#          Estimate         SE        LL        UL
# Contrast   0.2275 0.06755461 0.0950954 0.3599046


[Package vcmeta version 1.3.0 Index]