logo

Model-free estimation of a psychometric function

bandwidth_plugin

Back to Functions

h = bandwidth_plugin(r,m,x,,link,guessing,lapsing,K,p,ker )

AMISE optimal bandwidth for a local polynomial estimate of the psychometric function.

Input:

r: number of successes at points x

m: number of trials at points x

x: stimulus levels

Optional input:

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

p: degree of the polynomial; default is 1

ker: kernel function for weights; default is 'normpdf'

Output:

h: plug-in bandwidth (ISE optimal on eta-scale)

Back to Functions