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