HW9-prob1-SAScode

HW9-prob1-SAScode - table vote; run; title 'C. Chi-square...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
options ps=66 ls=80; data voting; if vote = 9 then vote = .; infile '/u11/faculty/tch/votesurv'; input id sex age party education income aware vote; run; title 'B. Descriptive statistics for people who voted'; proc freq;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: table vote; run; title 'C. Chi-square comparison of gender'; proc freq; table sex*vote / chisq; run; title 'D. Multiple Logistic Regression'; proc logistic descending; model vote = age sex party; run;...
View Full Document

Ask a homework question - tutors are online