fig2_2.m 202 B

12345678
  1. % Local Regression and Likelihood, Figure 2.2.
  2. %
  3. % Using different smoothing parameters.
  4. load ethanol;
  5. fit = locfit(E,NOx,'alpha',0.5);
  6. figure('Name', 'figure2_2: Smoothing parameters' );
  7. lfplot(fit);