A maximum-likelihood method for estimating thresholds in a yes–no task | Synapse