Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

regband

Bandwidth selectors for local regression.


Description

Function to compute local regression bandwidths for local linear regression, implemented as a front end to locfit().

This function is included for comparative purposes only. Plug-in selectors are based on flawed logic, make unreasonable and restrictive assumptions and do not use the full power of the estimates available in Locfit. Any relation between the results produced by this function and desirable estimates are entirely coincidental.

Usage

regband(formula, what = c("CP", "GCV", "GKK", "RSW"), deg=1, ...)

Arguments

formula

Model Formula (one predictor).

what

Methods to use.

deg

Degree of fit.

...

Other Locfit options.

Value

Vector of selected bandwidths.


locfit

Local Regression, Likelihood and Density Estimation

v1.5-9.4
GPL (>= 2)
Authors
Catherine Loader [aut], Jiayang Sun [ctb], Lucent Technologies [cph], Andy Liaw [cre]
Initial release
2020-03-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.