OVL.LogitK {OVL.CI}R Documentation

OVL.LogitK

Description

Kernel approach estimating the variance via bootstrap in the logit scale and back-transformed

Usage

OVL.LogitK(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.LogitK (controls,cases)

[Package OVL.CI version 0.1.0 Index]