Learn R Programming

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

locfit (version 1.5-9.9)

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

75,750

Version

1.5-9.9

License

GPL (>= 2)

Maintainer

Last Published

March 1st, 2024

Functions in locfit (1.5-9.9)

cpar

Conditionally parametric term for a Locfit model.
cp

Compute Mallows' Cp for local regression models.
gcvplot

Compute a generalized cross-validation plot.
expit

Inverse logistic link function
crit

Compute critical values for confidence intervals.
formula.locfit

Formula from a Locfit object.
cpplot

Compute a Cp plot.
gam.lf

Locfit call for Generalized Additive Models
insect

Insect Dataset
heart

Survival Times of Heart Transplant Recipients
fitted.locfit

Fitted values for a `"locfit"' object.
geyser.round

Discrete Old Faithful Geyser Dataset
left

One-sided left smooth for a Locfit model.
lcvplot

Compute the likelihood cross-validation plot.
hatmatrix

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

Mean Residual Life using Kaplan-Meier estimate
gam.slist

Vector of GAM special terms
gcv

Compute generalized cross-validation statistic.
lcv

Compute Likelihood Cross Validation Statistic.
iris

Fisher's Iris Data (subset)
locfit

Local Regression, Likelihood and Density Estimation.
locfit.censor

Censored Local Regression
geyser

Old Faithful Geyser Dataset
lfknots

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

Locfit - grid evaluation structure.
kangaroo

Kangaroo skull measurements dataset
kappa0

Critical Values for Simultaneous Confidence Bands.
lines.locfit

Add locfit line to existing plot
kdeb

Bandwidth selectors for kernel density estimation.
lf

Locfit term in Additive Model formula
lfeval

Extract Locfit Evaluation Structure.
mcyc

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

Construct Limit Vectors for Locfit fits.
lfmarg

Generate grid margins.
plot.lfeval

Plot a Locfit Evaluation Structure.
locfit.matrix

Reconstruct a Locfit model matrix.
plot.locfit.1d

Plot a one dimensional preplot.locfit object.
livmet

liver Metastases dataset
locfit.quasi

Local Quasi-Likelihood with global reweighting.
lscv.exact

Exact LSCV Calculation
preplot.locfit

Prediction from a Locfit object.
mmsamp

Test dataset for minimax Local Regression
preplot.locfit.raw

Prediction from a Locfit object.
lscvplot

Compute the LSCV plot.
morths

Henderson and Sheppard Mortality Dataset
locfit.raw

Local Regression, Likelihood and Density Estimation.
mine

Fracture Counts in Coal Mines
none

Locfit Evaluation Structure
panel.locfit

Locfit panel function
print.summary.locfit

Print a Locfit summary object.
print.scb

Print method for simultaneous confidence bands
rbox

Local Regression, Likelihood and Density Estimation.
plot.scb

Plot method for simultaneous confidence bands
panel.xyplot.lf

Locfit panel function
plot.gcvplot

Produce a cross-validation plot.
print.locfit

Print method for "locfit" object.
plot.eval

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

Plot a high-dimensional "preplot.locfit" object using trellis displays.
plot.locfit.2d

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

Save S functions.
stamp

Stamp Thickness Dataset
penny

Penny Thickness Dataset
sjpi

Sheather-Jones Plug-in bandwidth criterion.
scb

Simultaneous Confidence Bands
lscv

Least Squares Cross Validation Statistic.
regband

Bandwidth selectors for local regression.
locfit.robust

Robust Local Regression
lp

Local Polynomial Model Term
print.preplot.locfit

Print method for preplot.locfit objects.
plotbyfactor

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

Residual variance from a locfit object.
residuals.locfit

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

Plot an object of class locfit.
xbar

Locfit Evaluation Structure
points.locfit

Add `locfit' points to existing plot
right

One-sided right smooth for a Locfit model.
rva

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

Summary method for a preplot.locfit object.
spence.21

Spencer's 21 point graduation rule.
trimod

Generated sample from a bivariate trimodal normal mixture
summary.gcvplot

Summary method for a gcvplot structure.
spencer

Spencer's Mortality Dataset
plot.preplot.locfit

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

Print method for a locfit object.
print.gcvplot

Print method for gcvplot objects
print.lfeval

Print the Locfit Evaluation Points.
predict.locfit

Prediction from a Locfit object.
spence.15

Spencer's 15 point graduation rule.
smooth.lf

Local Regression, Likelihood and Density Estimation.
cldem

Example data set for classification
dat

Locfit - data evaluation structure.
co2

Carbon Dioxide Dataset
ang

Angular Term for a Locfit model.
border

Cricket Batting Dataset
ais

Australian Institute of Sport Dataset
density.lf

Density estimation using Locfit
diab

Exhaust emissions
ethanol

Exhaust emissions
chemdiab

Chemical Diabetes Dataset
bad

Example dataset for bandwidth selection
claw54

Claw Dataset
aic

Compute Akaike's Information Criterion.
cltrain

Training dataset for classification
aicplot

Compute an AIC plot.
cltest

Test dataset for classification