var_Lip_resid: Lipschitz class variance using residuals (obsolete now)

Description Usage Arguments Details Value

View source: R/opt_bw.R

Description

Calculates the variance for regression function value estimator under Lipschitz class using residuals

Usage

1
var_Lip_resid(x, t, kern, h, resid)

Arguments

x

a vector of regressors.

t

a scalar evaluation point.

kern

a string for kernel name; currently "tri" is supported.

h

a positive bandwidth.

resid

a vector of true conditional standard deviation values

Details

When resid corresponds to the true conditional standard deviations, this function calculates the true variance value.

Value

a scalar variance value


koohyun-kwon/HTEBand documentation built on Dec. 21, 2021, 7:42 a.m.