Confidence interval for a subgroup difference in average semipartial correlations
Source:R/meta_comp.R
      meta.sub.semipart.RdComputes the estimate, standard error, and confidence interval for a difference in average semipartial correlations for two subgroups of mutually exclusive studies. Each subgroup can have one or more studies.
Value
Returns a matrix with three rows:
Row 1 - estimate for Set A
Row 2 - estimate for Set B
Row 3 - estimate for difference, Set A - Set B
The columns are:
Estimate - estimated average correlation or difference
SE - standard error
LL - lower limit of the confidence interval
UL - upper limit of the confidence interval
Examples
n <- c(55, 190, 65, 35)
cor <- c(.40, .65, .60, .45)
r2 <- c(.25, .41, .43, .39)
group <- c(1, 1, 2, 0)  
meta.sub.semipart(.05, n, cor, r2, group)
#>                Estimate         SE         LL        UL
#> Set A:            0.525 0.05955276  0.3986844 0.6317669
#> Set B:            0.600 0.07931155  0.4221127 0.7333949
#> Set A - Set B:   -0.075 0.09918091 -0.2587113 0.1324682
# Should return:
#                Estimate         SE         LL        UL
# Set A:            0.525 0.05955276  0.3986844 0.6317669
# Set B:            0.600 0.07931155  0.4221127 0.7333949
# Set A - Set B:   -0.075 0.09918091 -0.2587113 0.1324682