logo

Model-free estimation of a psychometric function

binomfit_lims

Back to Functions

b = binomfit_lims(r,m,x,p,link,guessing,lapsing,K)

Maximum likelihood estimates of the parameters in a binomial generalised linear model with guessing and lapsing rates.

Input:

r: number of successes at points x

m: number of trials at points x

x: stimulus levels

Optional input:

p: degree of the polynomial; default is 1

link: name of the link function; default is 'logit'

guessing: guessing rate; default is 0

lapsing: lapsing rate; default is 0

K: power parameter for Weibull and reverse Weibull link; default is 2

Output:

b: estimated coefficients for the linear part

Back to Functions