Mean difference between two groups and the study summaries behind its analysis
md(xbar_1, xbar_2, s_1, s_2, n_1, n_2) = (MD, SE_MD)
Maps the means, standard deviations and sizes of two groups on one continuous scale to the mean difference and its standard error, the pair that an inverse-variance meta-analysis takes for each study, and recovers or checks the summaries a report leaves out. The pooled mean difference is HE-FM-ADMA-001 with y_i equal to the study's mean difference and v_i equal to its squared standard error, and heterogeneity and random-effects pooling are HE-FM-ADMA-002 to HE-FM-ADMA-005, all run from estimates and standard errors by HE-CF-ADMA-001. A confidence interval is HE-FM-AN-001, and a standard error read back from a reported interval is that record solved for SE, the form HE-FM-HR-007 gives on the log scale. Differences in mean cost and mean QALYs enter the ratio HE-FM-ICER-001 and the net benefit records HE-FM-NMB-002 and HE-FM-AN-004. Dividing by a pooled standard deviation in place of leaving natural units gives Cohen's d, HE-FM-CD-001. Notation follows the Mean Difference article.
Mean difference of one study and its standard error from group summaries
MD = xbar_1 - xbar_2; V_MD = s_1^2 / n_1 + s_2^2 / n_2; SE_MD = sqrt(V_MD)
Within-group standard deviation recovered from the standard error of a mean difference
SD = SE_MD / sqrt(1 / n_1 + 1 / n_2)
Correlation of baseline and final values and an imputed standard deviation of change
Corr_D = (SD_bD^2 + SD_fD^2 - SD_cD^2) / (2 * SD_bD * SD_fD); SD_c = sqrt(SD_b^2 + SD_f^2 - 2 * Corr * SD_b * SD_f)
Rough check for skew from a mean, a standard deviation and a known bound
R_skew = abs(xbar - B) / s; skew_lt2 = (R_skew < 2); skew_lt1 = (R_skew < 1)
Mean difference and standard error in minimal important difference units
MD_U = MD / MID; SE_U = SE_MD / MID
