# fig3_1

## PURPOSE

Local Regression and Likelihood, Figure 3.1.

## SYNOPSIS

This is a script file.

## DESCRIPTION

     Local Regression and Likelihood, Figure 3.1.

     Bivariate Local Regression.

## CROSS-REFERENCE INFORMATION

This function calls:

- lfplot Plot (for one or two dimensions) a locfit() fit.
- locfit Smoothing noisy data using Local Regression and Likelihood.

This function is called by:

- runbook

## SOURCE CODE

    0001 % Local Regression and Likelihood, Figure 3.1.
    0002 %
    0003 % Bivariate Local Regression.
    0004
    0005 load ethanol;
    0006
    0007 fit = locfit([E C],NOx,'alpha',0.5);
    0008 figure('Name','fig3_1: Bivariate local Regression');
    0009 lfplot(fit);