Likelihood: Return root means square error Log-likelihood of choosing...

Description Usage Arguments Value

Description

For minimization and by convention, log-likelihood is returned multiplied by -2

Usage

1
Likelihood(y, pRight, lapseRate = 0)

Arguments

y

participant choices

pRight

probability of choosing right

lapseRate

lapse rate

Value

-2*logLikelihood I think the adjustment here should multiply all p by z'(t) = lapseRate + z(t)(1-2*lapseRate) where z(t) = p_right if subject choice=right or 1-p_right if subject choice is left


armanabraham/chb documentation built on May 10, 2019, 1:39 p.m.