loess.as2: Local polynomial regression with automatic span selection and...

loess.as2R Documentation

Local polynomial regression with automatic span selection and user-defined span bounds

Description

loess.as2 fits a local polynomial gregression with automatic smoothing paramater selection, but has been modified to facilitate user-specified dynamic span bounds based on the number of observations using the min.bins argument. The function description and code have been modified from fANCOVA::loess.as v0.5-1 (Wang 2010).

Usage

loess.as2(
  x,
  y,
  degree = 1,
  criterion = c("aicc", "gcv"),
  family = c("gaussian", "symmetric"),
  min.bins = 3,
  user.span = NULL,
  plot = FALSE,
  ...
)

Arguments

x

as described for fANCOVA::loess.as

y

as described for fANCOVA::loess.as

degree

as described for fANCOVA::loess.as

criterion

as described for fANCOVA::loess.as

family

as described for fANCOVA::loess.as

min.bins

Minimum number of depth bins over which a span can smooth. Default = 3

user.span

as described for fANCOVA::loess.as

plot

as described for fANCOVA::loess.as

...

as described for fANCOVA::loess.as

Author(s)

Sean Rohan sean.rohan@noaa.gov

References

Cleveland, W. S. (1979) Robust locally weighted regression and smoothing scatterplots. Journal of the American Statistical Association. 74, 829–836.

Golub, G., Heath, M. and Wahba, G. (1979). Generalized cross validation as a method for choosing a good ridge parameter. Technometrics. 21, 215–224.

Hurvich, C.M., Simonoff, J.S., and Tsai, C.L. (1998), Smoothing Parameter Selection in Nonparametric Regression Using an Improved Akaike Information Criterion. Journal of the Royal Statistical Society B. 60, 271–293.

Xiao-Feng Wang (2010). fANCOVA: Nonparametric Analysis of Covariance. R package version 0.5-1. https://CRAN.R-project.org/package=fANCOVA


sean-rohan/trawllight documentation built on Jan. 13, 2023, 10:43 p.m.