\begin{Schunk}
\begin{Sinput}
 #start adding variables 
 bushideoglm2 <- glm(bushvote ~ ideoln + repub + democ, family=binomial, data=nes2002) 
 summary(bushideoglm2)
\end{Sinput}
\begin{Soutput}
Call:
glm(formula = bushvote ~ ideoln + repub + democ, family = binomial, 
    data = nes2002)

Deviance Residuals: 
    Min       1Q   Median       3Q      Max  
-2.8323  -0.4131   0.2644   0.4982   2.9662  

Coefficients:
            Estimate Std. Error z value Pr(>|z|)    
(Intercept) -2.38246    0.37840  -6.296 3.05e-10 ***
ideoln       0.65621    0.08672   7.567 3.82e-14 ***
repub        1.78155    0.28679   6.212 5.23e-10 ***
democ       -2.66062    0.27573  -9.649  < 2e-16 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

(Dispersion parameter for binomial family taken to be 1)

    Null deviance: 1110.80  on 808  degrees of freedom
Residual deviance:  553.48  on 805  degrees of freedom
  (702 observations deleted due to missingness)
AIC: 561.48

Number of Fisher Scoring iterations: 5
\end{Soutput}
\end{Schunk}
