logo

Model-free estimation of a psychometric function

comploglog_link

Back to Functions

link = comploglog_link(guessing,lapsing)

Complementary log-log link in cell form for use with GLMFIT, GLMVAL and other Matlab GLM functions.

The guessing rate and lapsing rate are fixed, hence link is a function of only one variable.

Optional input:

guessing: guessing rate; default is 0

lapsing: lapsing rate; default is 0

Output:

link: complementary log-log link for use in all GLM functions; cell with 3 entries:

  • comploglogFL: link function
  • comploglogFD: derivative
  • comploglogFI: inverse link

Back to Functions