LPBias: Local Polynomial Bias

View source: R/LPBias.R

LPBiasR Documentation

Local Polynomial Bias

Description

Confidence interval estimates for bias in local polynomial regression.

Usage

LPBias(xy,k1,k2,h,h2,numgrid=401,alpha=.95)

Arguments

xy

A data frame, whose first column must be the explanatory variable and whose second column must be the response variable.

k1

degree of local polynomial used in curve estimator.

k2

degree of local polynomial used in bias estimator.

h

bandwidth for regression estimator.

h2

bandwidth for bias estimator.

numgrid

number of gridpoints used in the curve estimator.

alpha

nominal confidence level.

Value

A list containing the confidence interval limits, pointwise estimates of bias, standard deviation of bias, curve estimate, standard deviation of curve estimate, and approximate confidence limits for curve estimates.

Author(s)

W. John Braun and Wenkai Ma


MPV documentation built on Sept. 11, 2024, 6:51 p.m.

Related to LPBias in MPV...