Local Regression and Likelihood, Figure 2.7. Example gcvplot. First argument to gcvplot is a vector (or matrix) of smoothing parameters. Remaining arguments are passed directly to locfit(). Author: Catherine Loader. NEED: cpplot.
0001 % Local Regression and Likelihood, Figure 2.7. 0002 % 0003 % Example gcvplot. First argument to gcvplot is a 0004 % vector (or matrix) of smoothing parameters. 0005 % Remaining arguments are passed directly to locfit(). 0006 % 0007 % Author: Catherine Loader. 0008 % 0009 % NEED: cpplot. 0010 0011 load ethanol; 0012 0013 alp = (0.2:0.05:0.8)'; 0014 figure('Name','fig2_7: Example gcvplot'); 0015 gcvplot(alp,E,NOx);