Tweaked logit-scale calculations for phi estimates.