fig2_7.m 349 B

123456789101112131415
  1. % Local Regression and Likelihood, Figure 2.7.
  2. %
  3. % Example gcvplot. First argument to gcvplot is a
  4. % vector (or matrix) of smoothing parameters.
  5. % Remaining arguments are passed directly to locfit().
  6. %
  7. % Author: Catherine Loader.
  8. %
  9. % NEED: cpplot.
  10. load ethanol;
  11. alp = (0.2:0.05:0.8)';
  12. figure('Name','fig2_7: Example gcvplot');
  13. gcvplot(alp,E,NOx);