Skip to main content
. 2005 Jan 13;9(1):112–118. doi: 10.1186/cc3045

Table 5.

Contingency table for Hosmer–Lemeshow test

death = 0 death = 1


Observed Expected Observed Expected Total
1 191 190.731 10 10.269 201
2 182 181.006 21 21.994 203
3 154 157.131 45 41.869 199
4 130 129.905 70 70.095 200
5 90 94.206 110 105.794 200
6 64 58.726 131 136.274 195
7 31 33.495 168 165.505 199
8 24 17.611 180 186.389 204
9 8 7.985 191 191.015 199
10 1 4.204 199 195.796 200

χ2 test statistic = 6.642 (goodness of fit based on deciles of risk); degrees of freedom = 8; P = 0.576.