Model-free estimation of a psychometric function |
|
---|---|
Home | Downloads | Demonstration | Documentation | Examples | Functions | Contacts |
---|
binom_lims
[b,lims] = binom_lims(r,m,x,gl,link,p,K,initval )
Maximum likelihood estimates of the parameters of the psychometric function with guessing and lapsing rates, only guessing rate, or only lapsing rate.
Input:
r
: number of successes at pointsx
m
: number of trials at pointsx
x
: stimulus levelsOptional input:
gl
: indicator, calculate only guessing if 'guessing
', only lapsing if 'lapsing
' and both guessing and lapsing if 'both
'; default is 'both
'
link
: name of the link function; default is'logit'
p
: degree of the polynomial; default is1
K
: power parameter for Weibull and reverse Weibull link; default is2
initval
: initial value for 'guessing
' and 'lapsing
'; default is [0.01 0.01] if guessing and lapsing rates are estimated and 0.01 if only guessing rate or only lapsing rate is estimatedOutput:
b
: estimated coefficients for the linear part
guessing
: estimated guessing rate
lapsing
: estimated lapsing rate