geosmooth: Geometric Methods for Nonparametric Regression and Density Estimation
Source:R/package.R
geosmooth-package.Rdgeosmooth estimates a smooth response, or a probability mass, from data
given as a matrix of coordinates (one row per observation) or as a weighted
graph. It provides local polynomial smoothing, model-averaged local
polynomial smoothing, several forms of trend filtering, graph low-pass
filtering, Hessian-energy regression, and estimators of probability mass
and occupation density.
Start here
vignette("function-guide", package = "geosmooth") is organized by
task. It lists every exported function, says which fitted models can
predict at new points, and gives examples.
browseVignettes("geosmooth") lists all installed guides. The
online version of the guide
links to the full reference.
Finding a function
The main functions, by task:
- Local regression
fit.lpsfits a local polynomial smoother and selects its settings by cross-validation.fit.malpsaverages the predictions of overlapping local polynomial fits.- Lifting trend filters
fit.lpl.tfpenalizes the absolute residuals of local polynomial predictions.fit.slpl.tfadds a penalty that makes overlapping local predictions agree.- One-dimensional trend filters
fit.gaussian.trend.filteringfits a continuous response andfit.logistic.trend.filteringa binary response.assess.gaussian.trend.filteringandassess.logistic.trend.filteringtest whether the response varies with the predictor and assess held-out prediction.- Graph smoothing
fit.metric.graph.lowpasssmooths a response on the vertices of a graph by filtering its spectrum, andfit.graph.trend.filteringpenalizes differences along the edges.- Hessian penalties
fit.ssrhe.hessian.regressionpenalizes estimated second derivatives with a quadratic penalty, andfit.ssrhe.hessian.l1.regressionwith an absolute-value penalty.- Probability mass
fit.densityestimates probability mass over a fixed set of support points,fit.subject.oddoes so from the repeated visits of one subject, andnormalize.densityconverts an existing fitted field to probability mass.- Synthetic examples
synthetic.specdescribes a synthetic data set, andmaterialize.syntheticdraws the data.
Author
Maintainer: Pawel Gajer pgajer@gmail.com
Authors:
Pawel Gajer pgajer@gmail.com
Other contributors:
Gael Guennebaud (Eigen) [contributor]
Benoit Jacob (Eigen) [contributor]
Authors of Eigen (Authorship and copyright in the included Eigen library) [copyright holder]
Yixuan Qiu (Spectra) [contributor, copyright holder]
Contributors to Spectra (Copyright in the included Spectra library) [copyright holder]
Sunil Arya (ANN) [contributor, copyright holder]
David M. Mount (ANN) [contributor, copyright holder]
University of Maryland (ANN) [copyright holder]