Local Regression and Likelihood, Figure 4.2. Author: Catherine Loader Local Likelihood (Logistic Regression), for the Henderson-Shepherd Mortality Data.
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);