Home > chronux > 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 figure('Name','fig4_2: Logistic Regression for the Henderson-Shepherd Mortality Data.');
0010 lfplot(fit);
0011 lfband(fit);

Generated on Fri 28-Sep-2012 12:34:30 by m2html © 2005