Model-free estimation of a psychometric function |
|
---|---|
Home | Downloads | Demonstration | Documentation | Examples | Functions | Contacts |
---|
bandwidth_plugin
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 pointsx
m
: number of trials at pointsx
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)