Local Regression and Likelihood, Figure 5.1. Author: Catherine Loader Density Estimation, for the Old Faithful Geyser Data.
0001 % Local Regression and Likelihood, Figure 5.1. 0002 % Author: Catherine Loader 0003 % 0004 % Density Estimation, for the Old Faithful Geyser Data. 0005 0006 load geyser; 0007 fit = locfit(geyser,'alpha',[0.1 0.8],'ll',1,'ur',6); 0008 figure('Name','fig5_1: Density estimation for the Old Faithful Geyser Data.' ); 0009 lfplot(fit); 0010 xlabel('Old Faithful Eruption Duration'); 0011 ylabel('Density');