Learn R Programming

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

locfit (version 1.1-5)

Local Regression, Likelihood and Density Estimation.

Description

Local Regression, Likelihood and density estimation.

Copy Link

Version

Install

install.packages('locfit')

Monthly Downloads

69,216

Version

1.1-5

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-5)

crit

Compute critical values for confidence intervals.
formula.locfit

Formula method for a Locfit object.
ais

Australian Institute of Sport Dataset
claw54

Claw Dataset
density.lf

Density estimation using Locfit
panel.xyplot.lf

Locfit panel function
locfit.censor

Censored Local Regression
kappa0

Critical Values for Simultaneous Confidence Bands.
cpplot

Compute a Cp plot.
gam.slist

Vector of GAM special terms
cltrain

Training dataset for classification
panel.locfit

Locfit panel function
kangaroo

Kangaroo skull measurements dataset
aicplot

Compute an AIC plot.
spencer

Spencer's Mortality Dataset
livmet

liver Metastases dataset
lcv

Compute Likelihood Cross Validation Statistic.
aic

Compute Akaike's Information Criterion.
iris

Fisher's Iris Data (subset)
insect

Insect Dataset
geyser.round

Discrete Old Faithful Geyser Dataset
lfbas

User-specified basis functions for Locfit.
ethanol

Exhaust emissions
lfmarg

Generate grid margins.
mine

Fracture Counts in Coal Mines
bad

Example dataset for bandwidth selection
locfit.robust

Robust Local Regression
locfit.quasi

Local Quasi-Likelihood with global reweighting.
ang

Angular Term for a Locfit model.
border

Cricket Batting Dataset
hatmatrix

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

Bandwidth selectors for kernel density estimation.
lflim

Construct Limit Vectors for Locfit fits.
gcvplot

Compute a generalized cross-validation plot.
lfeval

Extract Locfit Evaluation Structure.
cpar

Conditionally parametric term for a Locfit model.
plot.locfit

Plot an object of class locfit.
print.lfeval

Print the Locfit Evaluation Points.
left

One-sided left smooth for a Locfit model.
spence.15

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

Print a Locfit summary object.
spence.21

Spencer's 21 point graduation rule.
cltest

Test dataset for classification
summary.locfit

Print method for a locfit object.
co2

Carbon Dioxide Dataset
mcyc

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

Exhaust emissions
predict.locfit

Prediction from a Locfit object.
chemdiab

Chemical Diabetes Dataset
locfit.matrix

Reconstruct a Locfit model matrix.
points.locfit

Add `locfit' points to existing plot
lscvplot

Compute the LSCV plot.
cp

Compute Mallows' Cp for local regression models.
plot.preplot.locfit

Plot a "preplot.locfit" object.
locfit.raw

Local Regression, Likelihood and Density Estimation.
plot.eval

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

Locfit term in Additive Model formula
lscv.exact

Exact LSCV Calculation
residuals.locfit

Fitted values for a `"locfit"' object.
plot.locfit.1d

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

Prediction from a Locfit object.
print.locfit

Print method for "locfit" object.
lcvplot

Compute the likelihood cross-validation plot.
plot.gcvplot

Produce a cross-validation plot.
summary.gcvplot

Summary method for a gcvplot structure.
sjpi

Sheather-Jones Plug-in bandwidth criterion.
plot.scb

Plot method for simultaneous confidence bands
gcv

Compute generalized cross-validation statistic.
knots

Extraction of fit-point information from a Locfit object.
gam.lf

Locfit call for Generalized Additive Models
plot.locfit.3d

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

Simultaneous Confidence Bands
trimod

Generated sample from a bivariate trimodal normal mixture
regband

Bandwidth selectors for local regression.
rv

Residual variance from a "locfit" object.
rva

Substitute variance estimate on a "locfit" object.
morths

Henderson and Sheppard Mortality Dataset
plot.locfit.2d

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

Least Squares Cross Validation Statistic.
print.scb

Print method for simultaneous confidence bands
stamp

Stamp Thickness Dataset
heart

Survival Times of Heart Transplant Recipients
store

Save S functions.
mmsamp

Test dataset for minimax Local Regression
summary.preplot.locfit

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

Plot a Locfit Evaluation Structure.
penny

Penny Thickness Dataset
expit

Inverse logistic link function
geyser

Old Faithful Geyser Dataset
right

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

Prediction from a Locfit object.
plotbyfactor

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

Substitute critical values on "locfit" object.
fitted.locfit

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

Print method for preplot.locfit objects.
km.mrl

Mean Residual Life using Kaplan-Meier estimate
cldem

Example data set for classification
locfit

Local Regression, Likelihood and Density Estimation.
print.gcvplot

Print method for gcvplot objects
lines.locfit

Add `locfit' line to existing plot