LOCFIT


Local Regression and Likelihood

Locfit 2.0 released November 1, 2006. Some features include:

  1. Full use of S4-style classes methods (in R and S-Plus).
  2. Modules enable customization and extension.
  3. Local quantile estimation (family=quantile()).
Locfit 2.01 (Nov. 30) is some minor bug fixes in the C code, and more development of the matlab version.

Current distributions are

I don't currently have access to S-Plus and Matlab on windows, so can't distribute binaries for those systems. If anyone's willing to try compiling, please contact me. I have compiled the main locfit libraries under cygwin...

LOCFIT is a software system for fitting curves and surfaces to data, using the local regression and likelihood methods. The code is mostly written in C. LOCFIT can be used in several ways:

  1. As an add-on library for S-Plus or R, or Matlab.
  2. As a stand-alone application, through the C-LOCFIT interface.
  3. As a linkable library that can be called from other applications.
1. is the usage that I usually recommend.
2. is clunky, and poorly supported. (may or may not work; I probably won't fix things that don't work).
3. is the most powerful, if you can do some C programming.

The main capabilities of LOCFIT include

Regression Modeling

Likelihood Regression Models Censored Survival Data Classification and Discrimination Model Selection

For a quick tour of LOCFIT's main capabilities, you may like this introductory paper.

Local Regression, Lowess, Loess, Locfit

Local regression refers to a statistical technique. Lowess, Loess and Locfit are three separate, independent, implementations of this technique. Since I often see/hear these confused, here's a little history...

Lowess has been included in S (and S-Plus) since the early days, and Loess has been included since version 3 (about 1992). R uses the original Loess, and an f2c translation of lowess. Many other software packages claim to have lowess or loess functions; you should read documentation carefully to determine whether they are using original lowess/loess code, or whether they are other implementations of local regression methods.