Skip to main content
. 2007 Jul 5;6:17. doi: 10.1186/1476-069X-6-17

Table 6.

Notation for a general two-by-two table

exposed unexposed sum
cases p i mi1 q i mi0 pimi1+qimi0
noncases (1-pi)mi1 (1-qi)mi0 (1-pi)mi1 + (1-qi)mi0
total mi1 mi0 ni = mi1+mi0
risks p i q i
RD pi-qi
X i mi1/n i
Y i (pimi1+qimi0)/ni

Let pi and qi be the risks of the exposed and unexposed in group i. Let mi1 and mi0 be the numbers of exposed and unexposed in group i. RD = risk difference; Xi and Yi are the average exposure and average risk in group i; ni = size of group i.