BiasVarPlot: Local Polynomial Bias and Variability

View source: R/BiasVarPlot.R

BiasVarPlotR Documentation

Local Polynomial Bias and Variability

Description

Graphs of confidence interval estimates for bias and standard deviation of in local polynomial regression curve estimates.

Usage

BiasVarPlot(data, k1=1, k2=2, h, h2, output=FALSE, g, layout=TRUE)

Arguments

data

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.

output

if true, numeric output is printed to the console window.

g

the target function, if known (for use in simulations).

layout

if true, a 2x1 layout of plots is sent to the graphics device.

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. Graphs of the curve estimate confidence limits and the bias confidence limits.

Author(s)

W. John Braun and Wenkai Ma


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

Related to BiasVarPlot in MPV...