RDEstimator: Compute optimal estimator based on solution to modulus...

Description Usage Arguments

View source: R/RD_opt.R

Description

hat{L}_{delta, C}

Usage

1
RDEstimator(d, f, alpha = 0.05, se.method = "supplied.var", J = 3)

Arguments

d

RDData

f

RDLFFunction

se.method

Vector with methods for estimating standard error of estimate. If NULL, standard errors are not computed. The elements of the vector can consist of the following methods:

"nn"

Nearest neighbor method

"EHW"

Eicker-Huber-White, with residuals from local regression (local polynomial estimators only).

"demeaned"

Use EHW, but instead of using residuals, estimate sigma^2_i by subtracting the estimated intercept from the outcome (and not subtracting the estimated slope). Local polynomial estimators only.

"plugin"

Plug-in estimate based on asymptotic variance. Local polynomial estimators in RD only.

"supplied.var"

Use conditional variance supplied by sigma2 / d instead of computing residuals

J

Number of nearest neighbors, if "nn" is specified in se.method.


kolesarm/RDHonest documentation built on April 3, 2018, 11:08 a.m.