Home > chronux_1_15 > locfit > Book > fig4_2.m

fig4_2

PURPOSE ^

Local Regression and Likelihood, Figure 4.2.

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

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

 Local Likelihood (Logistic Regression), for the
 Henderson-Shepherd Mortality Data.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % Local Regression and Likelihood, Figure 4.2.
0002 % Author: Catherine Loader
0003 %
0004 % Local Likelihood (Logistic Regression), for the
0005 % Henderson-Shepherd Mortality Data.
0006 
0007 load morths;
0008 fit = locfit(age,deaths,'weights',n,'family','binomial','alpha',0.5);
0009 lfplot(fit);
0010 lfband(fit);

Generated on Tue 15-Aug-2006 22:51:57 by m2html © 2003