OVL.KPB {OVL.CI}R Documentation

OVL.KPB

Description

Kernel approach using a bootstrap percentile approach

Usage

OVL.KPB(x, y, alpha = 0.05, B = 100, k = 1, h = 1)

Arguments

x

controls

y

cases

alpha

confidence level

B

bootstrap size

k

kernel. When k=1 (default value) the kernel used in the estimation is the Gaussian kernel. Otherwise, the Epanechnikov kernel is used instead.

h

bandwidth. When h=1 (default value) the cross-validation bandwidth is chosen. Otherwise, the bandwidth considered by Schmid and Schmidt (2006) is used instead.

Value

confidence interval

Examples

controls = rnorm(50,6,1)
cases = rnorm(100,6.5,0.5)
OVL.KPB (controls,cases)

[Package OVL.CI version 0.1.0 Index]