To compute R use the following equation: (20.8) in which the −2LL is the deviance for the original model, the Wald statistic (z) is calculated as described in Section 20.3.4, and the degrees of freedom can be read from the SPSS output for the variables in the equation.