logo

Model-free estimation of a psychometric function

deviance

Back to Functions

D = deviance(r,m,pfit);

Deviance for the fitted values of the psychometric function pfit.

Input:

r: number of successes

m: number of trials

pfit: fitted values

Output:

D: deviance

Back to Functions