Description Usage Arguments Value Examples
Calculates an estimate of the AMISE optimal bandwidth for the local polynomial estimator of a psychometric function.
1 | bandwidth_plugin( r, m, x, link = c( "logit" ), guessing = 0, lapsing = 0, K = 2, p = 1, ker = c( "dnorm" ) )
|
r |
number of successes in points |
m |
number of trials in points |
x |
stimulus levels |
link |
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 |
order of the polynomial; default is 1 |
ker |
kernel function for weights; default "dnorm" |
h |
plug-in bandwidth (on eta-scale) |
1 2 | data("01_Miranda")
h<-bandwidth_plugin( example01$r, example01$m, example01$x )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.