bandwidth_plugin: Plug in estimation of Bandwidth

Description Usage Arguments Value Examples

Description

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

Usage

1
bandwidth_plugin( r, m, x, link = c( "logit" ), guessing = 0, lapsing = 0, K = 2, p = 1, ker = c( "dnorm" ) )

Arguments

r

number of successes in points x

m

number of trials in points x

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"

Value

h

plug-in bandwidth (on eta-scale)

Examples

1
2
data("01_Miranda")
h<-bandwidth_plugin( example01$r, example01$m, example01$x )

modelfree documentation built on May 2, 2019, 6:07 p.m.