Learn R Programming

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

locfit (version 1.5-9.11)

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

55,615

Version

1.5-9.11

License

GPL (>= 2)

Maintainer

Andy Liaw

Last Published

February 3rd, 2025

Functions in locfit (1.5-9.11)

co2

Carbon Dioxide Dataset
gcv

Compute generalized cross-validation statistic.
crit

Compute critical values for confidence intervals.
expit

Inverse logistic link function
gam.slist

Vector of GAM special terms
dat

Locfit - data evaluation structure.
fitted.locfit

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

Insect Dataset
heart

Survival Times of Heart Transplant Recipients
cpar

Conditionally parametric term for a Locfit model.
cp

Compute Mallows' Cp for local regression models.
hatmatrix

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

Density estimation using Locfit
lfmarg

Generate grid margins.
kappa0

Critical Values for Simultaneous Confidence Bands.
km.mrl

Mean Residual Life using Kaplan-Meier estimate
lflim

Construct Limit Vectors for Locfit fits.
geyser.round

Discrete Old Faithful Geyser Dataset
lcv

Compute Likelihood Cross Validation Statistic.
livmet

liver Metastases dataset
lines.locfit

Add locfit line to existing plot
kdeb

Bandwidth selectors for kernel density estimation.
locfit.quasi

Local Quasi-Likelihood with global reweighting.
locfit.matrix

Reconstruct a Locfit model matrix.
left

One-sided left smooth for a Locfit model.
gcvplot

Compute a generalized cross-validation plot.
locfit

Local Regression, Likelihood and Density Estimation.
lf

Locfit term in Additive Model formula
formula.locfit

Formula from a Locfit object.
lcvplot

Compute the likelihood cross-validation plot.
geyser

Old Faithful Geyser Dataset
panel.locfit

Locfit panel function
iris

Fisher's Iris Data (subset)
lfknots

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

Locfit Evaluation Structure
locfit.raw

Local Regression, Likelihood and Density Estimation.
gam.lf

Locfit call for Generalized Additive Models
lfgrid

Locfit - grid evaluation structure.
kangaroo

Kangaroo skull measurements dataset
lscvplot

Compute the LSCV plot.
lfeval

Extract Locfit Evaluation Structure.
plot.locfit.2d

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

Acc(De?)celeration of a Motorcycle Hitting a Wall
panel.xyplot.lf

Locfit panel function
predict.locfit

Prediction from a Locfit object.
mine

Fracture Counts in Coal Mines
plot.eval

Plot evaluation points from a 2-d locfit object.
lscv.exact

Exact LSCV Calculation
locfit.censor

Censored Local Regression
points.locfit

Add `locfit' points to existing plot
lp

Local Polynomial Model Term
penny

Penny Thickness Dataset
plot.locfit.3d

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

Print method for "locfit" object.
spence.21

Spencer's 21 point graduation rule.
print.preplot.locfit

Print method for preplot.locfit objects.
lscv

Least Squares Cross Validation Statistic.
spencer

Spencer's Mortality Dataset
preplot.locfit

Prediction from a Locfit object.
plot.lfeval

Plot a Locfit Evaluation Structure.
locfit.robust

Robust Local Regression
rv

Residual variance from a locfit object.
plot.gcvplot

Produce a cross-validation plot.
right

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

Fitted values and residuals for a Locfit object.
plot.scb

Plot method for simultaneous confidence bands
rva

Substitute variance estimate on a locfit object.
summary.preplot.locfit

Summary method for a preplot.locfit object.
plotbyfactor

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

Test dataset for minimax Local Regression
preplot.locfit.raw

Prediction from a Locfit object.
print.scb

Print method for simultaneous confidence bands
plot.locfit.1d

Plot a one dimensional preplot.locfit object.
print.summary.locfit

Print a Locfit summary object.
print.gcvplot

Print method for gcvplot objects
trimod

Generated sample from a bivariate trimodal normal mixture
stamp

Stamp Thickness Dataset
sjpi

Sheather-Jones Plug-in bandwidth criterion.
print.lfeval

Print the Locfit Evaluation Points.
xbar

Locfit Evaluation Structure
scb

Simultaneous Confidence Bands
store

Save S functions.
morths

Henderson and Sheppard Mortality Dataset
plot.locfit

Plot an object of class locfit.
summary.locfit

Print method for a locfit object.
spence.15

Spencer's 15 point graduation rule.
rbox

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

Plot a "preplot.locfit" object.
regband

Bandwidth selectors for local regression.
smooth.lf

Local Regression, Likelihood and Density Estimation.
summary.gcvplot

Summary method for a gcvplot structure.
claw54

Claw Dataset
ais

Australian Institute of Sport Dataset
cltest

Test dataset for classification
border

Cricket Batting Dataset
chemdiab

Chemical Diabetes Dataset
aicplot

Compute an AIC plot.
bad

Example dataset for bandwidth selection
diab

Exhaust emissions
cldem

Example data set for classification
ang

Angular Term for a Locfit model.
aic

Compute Akaike's Information Criterion.
cltrain

Training dataset for classification
cpplot

Compute a Cp plot.
ethanol

Exhaust emissions