A statistical theory of estimation in psychophysical experiments