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 12-Aug-2011 11:36:15 by m2html © 2005