fig4_1.m 265 B

12345678910
  1. % Local Regression and Likelihood, Figure 4.1.
  2. % Author: Catherine Loader
  3. %
  4. % Local Likelihood (Poisson Regression).
  5. load mine;
  6. fit = locfit(extrp,frac,'family','poisson','deg',1,'alpha',0.6);
  7. figure('Name','fig4_1: Poisson Regression');
  8. lfplot(fit);
  9. lfband(fit);