Chapter 11, Section 11.3.1
Logistic Regression Model
data lowbwt;
infile 'bpd.dat';
input bpd weight gestage toxemia;
weight=weight/100;
title1 Logistic regression model for BPD as a function of Birth Weight;
title2 Study of Low Birth Weight Infants;
proc genmod descending;
model bpd = weight / dist=binomial link=logit;
run;
<Selected Output>
title1 Logistic regression model for BPD as a function of
title2 Birth Weight, Gestational Age, and Toxemia;
title3 Study of Low Birth Weight Infants;
proc genmod descending;
model bpd = weight gestage toxemia / dist=binomial link=logit;
run;
<Selected Output>