Performs several alternative tests (including a hybrid test) and calculates the associated measures for assessing between-study inconsistency in meta-analysis.
metahet.hybrid(y, s2, data, gam, testinf = TRUE, iter.resam = 200)
A list named out
containing:
E_gamma
: Vector of E-gamma statistics for each \(\gamma\), including \(E_{\infty}\) and the hybrid \(E_{Lhyb}\) term.
p_gamma
: Bootstrap p-values corresponding to each \(\gamma\).
p_hyb
: Hybrid p-value combining all \(\gamma\) values.
gam
: Vector of power parameters used in the tests.
table
: Combined summary table for reporting.
Numeric vector of observed effect estimates, or the name of a column in data
.
Numeric vector of within-study variances corresponding to y
, or the name of a column in data
.
Optional data frame containing the variables y
and s2
.
Numeric vector of power parameters \(\gamma\), e.g., 1:8
.
Logical; if TRUE
, includes the \(Q_{\infty}\) statistic (maximum standardized deviation).
Integer; number of bootstrap resamples used to estimate expected values and p-values.
Zhiyuan Yu, Xing Xing, Lifeng Lin
The function generalizes the adaptive sum of powered score (aSPU) framework by combining standardized powered deviations across studies. Specifically, for each power parameter gamma, it calculates a statistic that measures the average standardized deviation of individual study effects from the overall mean, with greater gamma values placing more weight on extreme deviations.
For each gamma, the expected value of this statistic is obtained through a parametric bootstrap under the null hypothesis of homogeneity. The observed statistic is then standardized by subtracting its expected value and dividing by the observed total deviation, resulting in the expected gamma (E-gamma) measure.
In addition, a hybrid test is computed by combining the p-values across all gamma values using the minimum-p combination rule. It provides an overall summary of between-study inconsistency that integrates evidence from multiple power levels.
Pan W, Kim J, Zhang Y, Shen X, Wei P (2014). "A powerful and adaptive association test for rare variants." Genetics, 197(4), 1081--1095. <tools:::Rd_expr_doi("10.1534/genetics.114.165035")>
Xu G, Lin L, Wei P, Pan W (2016). "An adaptive two-sample test for high-dimensional means." Biometrika, 103(3), 609--624. <tools:::Rd_expr_doi("10.1093/biomet/asw029")>
data("dat.hughes")
set.seed(123)
## increase iter.resam to reduce Monte Carlo error due to resampling
metahet.hybrid(y, s2, data = dat.hughes, gam = 1:8,
testinf = TRUE, iter.resam = 200)
Run the code above in your browser using DataLab