LPPPrelimVar: Compute preliminary estimate of variance

Description Usage Arguments Value

View source: R/LPPfunctions.R

Description

Compute estimate of variance, which can then be used in optimal bandwidth calculations.

Usage

1
LPPPrelimVar(d, se.initial = "IKEHW")

Arguments

d

object of class "LPPData"

se.initial

Method for estimating initial variance for computing optimal bandwidth. Ignored if data already contains estimate of variance.

"ROTEHW"

Based on residuals from a local linear regression using a triangular kernel and ROT bandwidth

"ROTdemeaned"

Based on sum of squared deviations of outcome from estimate of intercept in local linear regression with triangular kenrel and ROT bandwidth

Value

object of class "LPPData" containing estimated variances.


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