meta.lc.gen | R Documentation |
Computes the estimate, standard error, and confidence interval for a linear contrast of any type of effect size from two or more studies.
meta.lc.gen(alpha, est, se, v)
alpha |
alpha level for 1-alpha confidence |
est |
vector of parameter estimates |
se |
vector of standard errors |
v |
vector of contrast coefficients |
Returns 1-row matrix with the following columns:
Estimate - estimated linear contrast
SE - standard error
LL - lower limit of the confidence interval
UL - upper limit of the confidence interval
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.