Learn R Programming

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

locfit (version 1.1-3)

Local Regression, Likelihood and Density Estimation.

Description

Local Regression, Likelihood and density estimation.

Copy Link

Version

Install

install.packages('locfit')

Monthly Downloads

94,451

Version

1.1-3

License

Free for non-commercial use, see the file COPYRIGHT for details

Maintainer

Andy Liaw

Last Published

March 5th, 2025

Functions in locfit (1.1-3)

spencer

Spencer's Mortality Dataset
store

Save S functions.
insect

Insect Dataset
left

One-sided left smooth for a Locfit model.
geyser

Old Faithful Geyser Dataset
bad

Example dataset for bandwidth selection
ang

Angular Term for a Locfit model.
formula.locfit

Formula method for a Locfit object.
aicplot

Compute an AIC plot.
cldem

Example data set for classification
regband

Bandwidth selectors for local regression.
chemdiab

Chemical Diabetes Dataset
stamp

Stamp Thickness Dataset
lfbas

User-specified basis functions for Locfit.
claw54

Claw Dataset
trimod

Generated sample from a bivariate trimodal normal mixture
right

One-sided right smooth for a Locfit model.
spence.21

Spencer's 21 point graduation rule.
lscv

Least Squares Cross Validation Statistic.
co2

Carbon Dioxide Dataset
density.lf

Density estimation using Locfit
plot.locfit.1d

Plot a one dimensional "preplot.locfit" object.
lf

Locfit term in Additive Model formula
plot.scb

Plot method for simultaneous confidence bands
gcvplot

Compute a generalized cross-validation plot.
ethanol

Exhaust emissions
preplot.locfit.raw

Prediction from a Locfit object.
hatmatrix

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

Discrete Old Faithful Geyser Dataset
kappa0

Critical Values for Simultaneous Confidence Bands.
lfeval

Extract Locfit Evaluation Structure.
km.mrl

Mean Residual Life using Kaplan-Meier estimate
lfmarg

Generate grid margins.
lcvplot

Compute the likelihood cross-validation plot.
plot.locfit

Plot an object of class locfit.
iris

Fisher's Iris Data (subset)
lines.locfit

Add `locfit' line to existing plot
crit

Compute critical values for confidence intervals.
cp

Compute Mallows' Cp for local regression models.
gam.slist

Vector of GAM special terms
locfit.matrix

Reconstruct a Locfit model matrix.
cpar

Conditionally parametric term for a Locfit model.
mine

Fracture Counts in Coal Mines
panel.locfit

Locfit panel function
kangaroo

Kangaroo skull measurements dataset
scb

Simultaneous Confidence Bands
locfit.robust

Robust Local Regression
lflim

Construct Limit Vectors for Locfit fits.
panel.xyplot.lf

Locfit panel function
plot.gcvplot

Produce a cross-validation plot.
print.gcvplot

Print method for gcvplot objects
print.lfeval

Print the Locfit Evaluation Points.
print.locfit

Print method for "locfit" object.
cltrain

Training dataset for classification
locfit.quasi

Local Quasi-Likelihood with global reweighting.
rva

Substitute variance estimate on a "locfit" object.
plot.locfit.3d

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

Residual variance from a "locfit" object.
plot.locfit.2d

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

Print method for a locfit object.
penny

Penny Thickness Dataset
locfit.raw

Local Regression, Likelihood and Density Estimation.
cpplot

Compute a Cp plot.
kdeb

Bandwidth selectors for kernel density estimation.
mmsamp

Test dataset for minimax Local Regression
livmet

liver Metastases dataset
locfit

Local Regression, Likelihood and Density Estimation.
plot.eval

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

Inverse logistic link function
summary.gcvplot

Summary method for a gcvplot structure.
predict.locfit

Prediction from a Locfit object.
ais

Australian Institute of Sport Dataset
points.locfit

Add `locfit' points to existing plot
summary.preplot.locfit

Summary method for a preplot.locfit object.
heart

Survival Times of Heart Transplant Recipients
gam.lf

Locfit call for Generalized Additive Models
preplot.locfit

Prediction from a Locfit object.
border

Cricket Batting Dataset
gcv

Compute generalized cross-validation statistic.
knots

Extraction of fit-point information from a Locfit object.
spence.15

Spencer's 15 point graduation rule.
cltest

Test dataset for classification
plot.preplot.locfit

Plot a "preplot.locfit" object.
diab

Exhaust emissions
plot.lfeval

Plot a Locfit Evaluation Structure.
mcyc

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

Henderson and Sheppard Mortality Dataset
residuals.locfit

Fitted values for a `"locfit"' object.
print.scb

Print method for simultaneous confidence bands
sjpi

Sheather-Jones Plug-in bandwidth criterion.
crita

Substitute critical values on "locfit" object.
aic

Compute Akaike's Information Criterion.
lscvplot

Compute the LSCV plot.
plotbyfactor

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

Compute Likelihood Cross Validation Statistic.
print.preplot.locfit

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

Print a Locfit summary object.
fitted.locfit

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

Censored Local Regression
lscv.exact

Exact LSCV Calculation