# fitted

## PURPOSE

Fitted values from a locfit object.

## SYNOPSIS

function y = fitted(fit)

## DESCRIPTION

     Fitted values from a locfit object.

     Input arguments:
       fit - the locfit() fit.

      Author: Catherine Loader.

## CROSS-REFERENCE INFORMATION

This function calls:

- backtr
- predict Interpolate a fit produced by locfit().

This function is called by:

- fig5_5 Local Regression and Likelihood, Figure 5.5.
- fig6_4 Local Regression and Likelihood, Figure 6.4.
- fig6_5 Local Regression and Likelihood, Figure 6.5.
- fig8_1 Local Regression and Likelihood, Figure 8.1.
- fig8_3 Local Regression and Likelihood, Figure 8.3.
- lf_censor

## SOURCE CODE

    0001 function y = fitted(fit)
    0002
    0003 % Fitted values from a locfit object.
    0004 %
    0005 % Input arguments:
    0006 %   fit - the locfit() fit.
    0007 %
    0008 %  Author: Catherine Loader.
    0009
    0010 z = predict(fit,'d','restyp','fit');
    0011 y = backtr(z,fit);
    0012
    0013 return;