fig2_3

PURPOSE ^

Local Regression and Likelihood, Figure 2.3.

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 Local Regression and Likelihood, Figure 2.3.

 Using different smoothing parameters.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % Local Regression and Likelihood, Figure 2.3.
0002 %
0003 % Using different smoothing parameters.
0004 
0005 load ethanol;
0006 
0007 alp = [0.2 0.4 0.6 0.8];
0008 f=['a','b','c','d'];
0009 for (i=1:4)
0010   figure('Name', sprintf( 'figure2_3%c: Changing smoothing parameters', f(i) ) );
0011   fit = locfit(E,NOx,'alpha',alp(i));
0012   lfplot(fit);
0013   title(strcat('a = ',num2str(alp(i))));
0014 end;

Generated on Fri 12-Aug-2011 11:36:15 by m2html © 2005