Learn R Programming

RNOmni (version 0.4.0)

AvgCorr: Average Correlation Estimate.

Description

Estimates the correlation between correlated p-values on the Z-score scale. The p-values are supposed to have arisen from different tests of the same hypothesis using the same data. Since an estimate of correlation under the null is of interest, pairs where at least one of the Z scores exceeds the threshold \(\tau\) are excluded.

Usage

AvgCorr(p1, p2, tau = 3, a = 0.001)

Arguments

p1

Fist p-value.

p2

Second p-value.

tau

Threshold Z score above which the p-value likely corresponds to a true positive.

a

Force correlation estimate to fall in the interval (a,1-a);

Value

A numeric correlation.