
Meta-Analysis 143
Log risk ratio effect size
A risk ratio is the ratio of two risks (for example, the risk of a module
having one or more faults). Using the labels shown in Table 11.2, the risk
ratio is
RiskRatio =
A/N
1
C/N
2
(11.21)
However, since the distribution of the risk ratio is extremely skewed, the effect
size is based on the log of the risk ratio:
LnRiskRatio = ln(RiskRatio) (11.22)
The approximate variance of the log risk ratio is:
V
LnRiskRatio
=
1
A
−
1
N
1
+
1
C
−
1
N
2
(11.23)
Taking the logarithms means that the effect size is the difference between
the logarithms of the two risks. Meta-analysis calculations are based on the
log risk ratio, and are then transformed ...