Home > chronux_1_1 > locfit > Book > fig6_2.m

fig6_2

PURPOSE ^

Local Regression and Likelihood, Figure 6.2.

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 Local Regression and Likelihood, Figure 6.2.
 Author: Catherine Loader

 Local smooth of CO2 dataset, main trend.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % Local Regression and Likelihood, Figure 6.2.
0002 % Author: Catherine Loader
0003 %
0004 % Local smooth of CO2 dataset, main trend.
0005 
0006 load co2;
0007 fit = locfit(year+month/12,co2,'alpha',0.5,'deg',1);
0008 lfplot(fit);
0009 xlabel('Date');
0010 ylabel('CO2')

Generated on Sun 13-Aug-2006 11:49:44 by m2html © 2003