Reading and reusing reported confidence intervals
ci_read(z, SE_1, SE_2, theta_hat, P) = (P_cap, P_ov, C_adj, SE_P, L_P, U_P)
Takes the standard errors behind two reported intervals, or a reported estimate with its two-sided P value, and the critical value of the level in use, and returns three things a reader needs when working from published results. These are the chance that one study's interval holds another study's estimate, the false positive rate of judging a difference by whether two intervals overlap with the interval level that would restore a chosen test level, and a standard error and interval for a result reported with a P value alone. Building an interval is already live and is not repeated here. HE-FM-AN-001 gives the Wald interval from an estimate and its standard error, HE-FM-BINOM-005 the Wald interval for a proportion, HE-FM-HR-006 the log-scale interval for a hazard ratio, HE-FM-HR-007 the standard error recovered from a reported interval for a log hazard ratio, HE-FM-AN-002 and HE-FM-AN-003 the delta-method and Fieller intervals for an ICER, and HE-FM-AN-004 the interval for incremental net benefit, whose variance across paired bootstrap replicates is HE-FM-BSE-003. The z statistic for a difference between two independent estimates has the form of the third part of HE-FM-NMA-003. Notation follows the Confidence Interval article.
Chance that a first study's interval holds a second study's estimate
z_cap = z * SE_1 / sqrt(SE_1^2 + SE_2^2); P_cap = 2 * Phi_cap - 1
False positive rate of the no-overlap rule and the interval level that restores a test level
r_ov = (SE_1 + SE_2) / sqrt(SE_1^2 + SE_2^2); z_ov = z * r_ov; P_ov = 2 * (1 - Phi_ov); z_adj = z / r_ov; C_adj = 2 * Phi_adj - 1
Standard error and interval from an estimate and a two-sided P value
z_P = -0.862 + sqrt(0.743 - 2.404 * log(P)); SE_P = abs(theta_hat) / z_P; L_P = theta_hat - z * SE_P; U_P = theta_hat + z * SE_P
