Learn R Programming

⚠️There's a newer version (19980714-2) of this package.Take me there.

locfit (version 1.5-9.4)

Local Regression, Likelihood and Density Estimation

Description

Local regression, likelihood and density estimation methods as described in the 1999 book by Loader.

Copy Link

Version

Install

install.packages('locfit')

Monthly Downloads

115,095

Version

1.5-9.4

License

GPL (>= 2)

Maintainer

Andy Liaw

Last Published

March 25th, 2020

Functions in locfit (1.5-9.4)

chemdiab

Chemical Diabetes Dataset
cp

Compute Mallows' Cp for local regression models.
gcv

Compute generalized cross-validation statistic.
cpar

Conditionally parametric term for a Locfit model.
lfgrid

Locfit - grid evaluation structure.
density.lf

Density estimation using Locfit
dat

Locfit - data evaluation structure.
kdeb

Bandwidth selectors for kernel density estimation.
ethanol

Exhaust emissions
geyser.round

Discrete Old Faithful Geyser Dataset
diab

Exhaust emissions
hatmatrix

Weight diagrams and the hat matrix for a local regression model.
gam.slist

Vector of GAM special terms
kappa0

Critical Values for Simultaneous Confidence Bands.
cltrain

Training dataset for classification
cpplot

Compute a Cp plot.
formula.locfit

Formula from a Locfit object.
lcvplot

Compute the likelihood cross-validation plot.
lfknots

Extraction of fit-point information from a Locfit object.
co2

Carbon Dioxide Dataset
plot.locfit.1d

Plot a one dimensional preplot.locfit object.
left

One-sided left smooth for a Locfit model.
crit

Compute critical values for confidence intervals.
livmet

liver Metastases dataset
locfit.matrix

Reconstruct a Locfit model matrix.
iris

Fisher's Iris Data (subset)
gam.lf

Locfit call for Generalized Additive Models
locfit.quasi

Local Quasi-Likelihood with global reweighting.
plot.lfeval

Plot a Locfit Evaluation Structure.
kangaroo

Kangaroo skull measurements dataset
gcvplot

Compute a generalized cross-validation plot.
geyser

Old Faithful Geyser Dataset
km.mrl

Mean Residual Life using Kaplan-Meier estimate
right

One-sided right smooth for a Locfit model.
preplot.locfit

Prediction from a Locfit object.
lines.locfit

Add locfit line to existing plot
locfit

Local Regression, Likelihood and Density Estimation.
locfit.censor

Censored Local Regression
insect

Insect Dataset
preplot.locfit.raw

Prediction from a Locfit object.
mcyc

Acc(De?)celeration of a Motorcycle Hitting a Wall
lcv

Compute Likelihood Cross Validation Statistic.
sjpi

Sheather-Jones Plug-in bandwidth criterion.
expit

Inverse logistic link function
heart

Survival Times of Heart Transplant Recipients
locfit.raw

Local Regression, Likelihood and Density Estimation.
residuals.locfit

Fitted values and residuals for a Locfit object.
scb

Simultaneous Confidence Bands
fitted.locfit

Fitted values for a `"locfit"' object.
lflim

Construct Limit Vectors for Locfit fits.
lfmarg

Generate grid margins.
lfeval

Extract Locfit Evaluation Structure.
none

Locfit Evaluation Structure
lscv.exact

Exact LSCV Calculation
panel.xyplot.lf

Locfit panel function
mine

Fracture Counts in Coal Mines
lf

Locfit term in Additive Model formula
lscvplot

Compute the LSCV plot.
lp

Local Polynomial Model Term
mmsamp

Test dataset for minimax Local Regression
locfit.robust

Robust Local Regression
points.locfit

Add `locfit' points to existing plot
predict.locfit

Prediction from a Locfit object.
plot.scb

Plot method for simultaneous confidence bands
penny

Penny Thickness Dataset
rbox

Local Regression, Likelihood and Density Estimation.
plot.eval

Plot evaluation points from a 2-d locfit object.
plot.gcvplot

Produce a cross-validation plot.
plot.locfit.3d

Plot a high-dimensional "preplot.locfit" object using trellis displays.
panel.locfit

Locfit panel function
plot.locfit.2d

Plot a two-dimensional "preplot.locfit" object.
print.locfit

Print method for "locfit" object.
lscv

Least Squares Cross Validation Statistic.
print.lfeval

Print the Locfit Evaluation Points.
print.gcvplot

Print method for gcvplot objects
smooth.lf

Local Regression, Likelihood and Density Estimation.
print.preplot.locfit

Print method for preplot.locfit objects.
stamp

Stamp Thickness Dataset
morths

Henderson and Sheppard Mortality Dataset
regband

Bandwidth selectors for local regression.
store

Save S functions.
plotbyfactor

x-y scatterplot, colored by levels of a factor.
plot.locfit

Plot an object of class locfit.
trimod

Generated sample from a bivariate trimodal normal mixture
spence.15

Spencer's 15 point graduation rule.
summary.preplot.locfit

Summary method for a preplot.locfit object.
plot.preplot.locfit

Plot a "preplot.locfit" object.
print.summary.locfit

Print a Locfit summary object.
print.scb

Print method for simultaneous confidence bands
rv

Residual variance from a locfit object.
spencer

Spencer's Mortality Dataset
xbar

Locfit Evaluation Structure
rva

Substitute variance estimate on a locfit object.
summary.gcvplot

Summary method for a gcvplot structure.
summary.locfit

Print method for a locfit object.
ang

Angular Term for a Locfit model.
aicplot

Compute an AIC plot.
cltest

Test dataset for classification
aic

Compute Akaike's Information Criterion.
ais

Australian Institute of Sport Dataset
cldem

Example data set for classification
claw54

Claw Dataset
border

Cricket Batting Dataset
bad

Example dataset for bandwidth selection
spence.21

Spencer's 21 point graduation rule.