R/meta_comp.R
meta.lc.agree.Rd
Computes the estimate, standard error, and adjusted Wald confidence interval for a linear contrast of G-index of agreement coefficients from two or more studies. This function assumes that two raters each provide a dichotomous rating for a sample of objects.
meta.lc.agree(alpha, f11, f12, f21, f22, v)
alpha level for 1-alpha confidence
vector of frequency counts in cell 1,1
vector of frequency counts in cell 1,2
vector of frequency counts in cell 2,1
vector of frequency counts in cell 2,2
vector of contrast coefficients
Returns 1-row matrix with the following columns:
Estimate - estimated linear contrast
SE - standard error
LL - lower limit of the adjusted Wald confidence interval
UL - upper limit of the adjusted Wald confidence interval
f11 <- c(43, 56, 49)
f12 <- c(7, 2, 9)
f21 <- c(3, 5, 5)
f22 <- c(37, 54, 39)
v <- c(.5, .5, -1)
meta.lc.agree(.05, f11, f12, f21, f22, v)
#> Estimate SE LL UL
#> Contrast 0.1022939 0.07972357 -0.05396142 0.2585492
# Should return:
# Estimate SE LL UL
# Contrast 0.1022939 0.07972357 -0.05396142 0.2585492