Description Usage Arguments Value
Basic computing engine called by LPPHonest
to compute honest
confidence intervals for local polynomial estimators.
1 2 3  LPPHonest.fit(d, M, kern = "triangular", h, opt.criterion, alpha = 0.05,
beta = 0.8, se.method = "nn", J = 3, sclass = "H", order = 1,
se.initial = "ROTEHW")

d 
object of class 
M 
Bound on second derivative of the conditional mean function. 
kern 
specifies kernel function used in the local regression. It can
either be a string equal to 
h 
Bandwidth. If not supplied, optimal bandwidth is computed according
to criterion given by 
opt.criterion 
Optimality criterion that bandwidth is designed to optimize. It can either be based on exact finitesample maximum bias and finitesample estimate of variance, or asymptotic approximations to the bias and variance. The options are:
The finitesample methods use conditional variance given by

alpha 
determines confidence level, 
beta 
Determines quantile of excess length to optimize, if bandwidth optimizes given quantile of excess length of onesided confidence intervals. 
se.method 
Vector with methods for estimating standard error of
estimate. If

J 
Number of nearest neighbors, if "nn" is specified in

sclass 
Smoothness class, either 
order 
Order of local regression 1 for linear, 2 for quadratic. 
se.initial 
Method for estimating initial variance for computing optimal bandwidth. Ignored if data already contains estimate of variance.

Returns an object of class "LPPResults"
, see description in
LPPHonest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.