fig5_4.m 233 B

123456789
  1. % Local Regression and Likelihood, Figure 5.4.
  2. % Author: Catherine Loader
  3. %
  4. % Bivariate Density Estimation.
  5. load trimod;
  6. fit = locfit([x0 x1],'nn',0.35);
  7. figure('Name','fig5_4: Bivariate density estimation' );
  8. lfplot(fit);