Learn R Programming

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

locfit (version 1.5-3)

Local Regression, Likelihood and Density Estimation.

Description

Local Regression, Likelihood and density estimation.

Copy Link

Version

Install

install.packages('locfit')

Monthly Downloads

84,096

Version

1.5-3

License

GPL version 2 or newer

Maintainer

Andy Liaw

Last Published

March 5th, 2025

Functions in locfit (1.5-3)

lp

Local Polynomial Model Term
geyser

Old Faithful Geyser Dataset
kappa0

Critical Values for Simultaneous Confidence Bands.
insect

Insect Dataset
cltrain

Training dataset for classification
ang

Angular Term for a Locfit model.
penny

Penny Thickness Dataset
print.lfeval

Print the Locfit Evaluation Points.
lcvplot

Compute the likelihood cross-validation plot.
lf

Locfit term in Additive Model formula
lfmarg

Generate grid margins.
bad

Example dataset for bandwidth selection
aic

Compute Akaike's Information Criterion.
cltest

Test dataset for classification
dat

Locfit - data evaluation structure.
locfit.raw

Local Regression, Likelihood and Density Estimation.
iris

Fisher's Iris Data (subset)
plot.eval

Plot evaluation points from a 2-d locfit object.
chemdiab

Chemical Diabetes Dataset
panel.xyplot.lf

Locfit panel function
rbox

Local Regression, Likelihood and Density Estimation.
print.scb

Print method for simultaneous confidence bands
lfknots

Extraction of fit-point information from a Locfit object.
plot.locfit.2d

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

Compute an AIC plot.
points.locfit

Add `locfit' points to existing plot
locfit

Local Regression, Likelihood and Density Estimation.
left

One-sided left smooth for a Locfit model.
right

One-sided right smooth for a Locfit model.
lcv

Compute Likelihood Cross Validation Statistic.
heart

Survival Times of Heart Transplant Recipients
claw54

Claw Dataset
diab

Exhaust emissions
lscv.exact

Exact LSCV Calculation
lines.locfit

Add locfit line to existing plot
ais

Australian Institute of Sport Dataset
plot.lfeval

Plot a Locfit Evaluation Structure.
print.locfit

Print method for "locfit" object.
preplot.locfit

Prediction from a Locfit object.
locfit.robust

Robust Local Regression
predict.locfit

Prediction from a Locfit object.
lscvplot

Compute the LSCV plot.
gcv

Compute generalized cross-validation statistic.
fitted.locfit

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

Construct Limit Vectors for Locfit fits.
cp

Compute Mallows' Cp for local regression models.
spence.21

Spencer's 21 point graduation rule.
residuals.locfit

Fitted values and residuals for a Locfit object.
cpar

Conditionally parametric term for a Locfit model.
kdeb

Bandwidth selectors for kernel density estimation.
plot.locfit.3d

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

Sheather-Jones Plug-in bandwidth criterion.
expit

Inverse logistic link function
geyser.round

Discrete Old Faithful Geyser Dataset
lfbas

User-specified basis functions for Locfit.
print.gcvplot

Print method for gcvplot objects
locfit.matrix

Reconstruct a Locfit model matrix.
gcvplot

Compute a generalized cross-validation plot.
mcyc

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

liver Metastases dataset
cpplot

Compute a Cp plot.
print.preplot.locfit

Print method for preplot.locfit objects.
print.summary.locfit

Print a Locfit summary object.
kangaroo

Kangaroo skull measurements dataset
spence.15

Spencer's 15 point graduation rule.
crit

Compute critical values for confidence intervals.
formula.locfit

Formula from a Locfit object.
gam.slist

Vector of GAM special terms
gam.lf

Locfit call for Generalized Additive Models
co2

Carbon Dioxide Dataset
scb

Simultaneous Confidence Bands
plotbyfactor

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

Least Squares Cross Validation Statistic.
plot.scb

Plot method for simultaneous confidence bands
summary.gcvplot

Summary method for a gcvplot structure.
morths

Henderson and Sheppard Mortality Dataset
ethanol

Exhaust emissions
locfit.quasi

Local Quasi-Likelihood with global reweighting.
border

Cricket Batting Dataset
preplot.locfit.raw

Prediction from a Locfit object.
trimod

Generated sample from a bivariate trimodal normal mixture
xbar

Locfit Evaluation Structure
km.mrl

Mean Residual Life using Kaplan-Meier estimate
hatmatrix

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

Fracture Counts in Coal Mines
lfgrid

Locfit - grid evaluation structure.
none

Locfit Evaluation Structure
plot.locfit.1d

Plot a one dimensional preplot.locfit object.
rv

Residual variance from a locfit object.
density.lf

Density estimation using Locfit
summary.locfit

Print method for a locfit object.
plot.locfit

Plot an object of class locfit.
store

Save S functions.
spencer

Spencer's Mortality Dataset
mmsamp

Test dataset for minimax Local Regression
plot.gcvplot

Produce a cross-validation plot.
lfeval

Extract Locfit Evaluation Structure.
smooth.lf

Local Regression, Likelihood and Density Estimation.
stamp

Stamp Thickness Dataset
panel.locfit

Locfit panel function
plot.preplot.locfit

Plot a "preplot.locfit" object.
regband

Bandwidth selectors for local regression.
summary.preplot.locfit

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

Censored Local Regression
cldem

Example data set for classification
rva

Substitute variance estimate on a locfit object.