Model-free estimation of a psychometric function


Back to Functions

link = revweibull_link(K,guessing,lapsing)

Reverse Weibull link in cell form for use with GLMFIT, GLMVAL and other Matlab GLM functions.

The guessing rate and lapsing rate are fixed, and power parameter is set to be equal K, hence link is a function of only one variable.


K: power parameter for reverse Weibull link function

Optional input:

guessing: guessing rate; default is 0

lapsing: lapsing rate; default is 0


link: reverse Weibull link for use in all GLM functions; cell with 3 entries:

  • revweibullkFL: link function
  • revweibullkFD: derivative
  • revweibullkFI: inverse link

Back to Functions