Your privacy, your choice

We use essential cookies to make sure the site can function. We also use optional cookies for advertising, personalisation of content, usage analysis, and social media.

By accepting optional cookies, you consent to the processing of your personal data - including transfers to third parties. Some third parties are outside of the European Economic Area, with varying standards of data protection.

See our privacy policy for more information on the use of your personal data.

for further information and to change your choices.

Skip to main content

Table 4 Contingency table of the one sided Fisher’s exact test [54] for the fourth row of Table 2, as an example

From: MiStImm: an agent-based simulation tool to study the self-nonself discrimination of the adaptive immune response

 

ERS

CRS

Row total

Win

417

225

642

Loss

83

275

358

Col total

500

500

1000

  1. The p-value appearing there was calculated by the formula \(\sum _{i=417}^{500} {642 \choose i} {358 \choose 500-i} / {1000 \choose 500} \approx 4.48E-38 \). Note that the values of the hypergeometric distribution inside the sum are the probabilities of choosing 500 experiments out of 1000, containing exactly i ERS wins of the given 642 total number of wins and also choosing exactly 500−i ERS losses of the given 358 total number of losses