logo

Model-free estimation of a psychometric function

binomval_lims

Back to Functions

pfit = binomval_lims(b,xfit,link,guessing,lapsing,K);

Fitted values at points xfit for a binomial generalized linear model with coefficients b and guessing and lapsing rates.

Input:

xfit: points at which to calculate the estimate pfit

b: column vector of coefficients (result of binofit_lims)

Optional input:

link: name of the link function; default is 'logit', but this should be the same as used in binofit_lims

guessing: guessing rate; default is 0, but this should be the same as used in binofit_lims

lapsing: lapsing rate; default is 0, but this should be the same as used in binofit_lims

K: the power parameter for Weibull and reverse Weibull link; default is 2, but this should be the same as used in binofit_lims

Output:

pfit: vector of fitted values at points xfit

Back to Functions