This function calculates the weighted score of the participant given the number of dots collected. The function adopts 4 different models which follows the Davies & Davies (1965) paper. The formula for is Model 1:
$$log(2^{R}/U_{m})$$
where \(2^R\) is the total number of paths and \(U_{m}\) is the paths through the specified number of dots. The formula for Model 2:
$$log(U_{\hat{m}}/U_{m})$$
where \(U_{\hat{m}}\) is the value with the maximum number of connected dots. The formula for Model 3:
$$log(2^{R}*s^{4}/U_{m})$$
where \(s^{4}\) is the saturation value. The formula for Model 4 is:
$$log(U_{\hat{m}}*s^{4}/U_{m})$$
We included all four models to calculate maze ability.