/* The following lines should match the import routine */
libname library '~/data/anes';
/* Activities */
proc means data=library.as04 mean maxdec=2;
var voter influencer displayer attender worker donor;
class party;
format voter influencer displayer attender worker donor no_yes_f. party party_f.;
run;
/* Overall Activity Scale score */
proc freq data=library.as04;
tables r_activity*party / nofreq nopercent norow;
format r_activity threeplus_f. party party_f.;
run;
/* Active partisans */
proc means data=library.as04 mean maxdec=2;
var partisan;
class party;
format partisan no_yes_f. party party_f.;
run;
/* Party N */
proc freq data=library.as04;
tables party / nocum nopercent;
format party party_f.;
run;