1980 US Presidential Election Data
The Sashelp.Vote1980
data set contains US county votes-cast proportions and demographic and geographic characteristics for 3,107 US counties in
the 1980 presidential election (Pace and Barry, 1997). The six explanatory variables are as follows: the population 18 years of age or older (Pop
), the population with 12th-grade or higher education (Edu
), the number of owned housing units (Houses
), the aggregate income (Income
), and scaled longitude and latitude of geographic centroids (Longitude, Latitude
). The dependent variable LogVoteRate
is the logarithm of the proportion of votes cast divided by the variable Pop
. The following steps display information about the data set Sashelp.Vote1980
and create Figure B.17:
title 'US 1980 Presidential Election Data';
proc contents data=sashelp.vote1980 varnum;
ods select position;
run;
title 'The First Five Observations Out of 3,107';
proc print data=sashelp.vote1980(obs=5) heading=h noobs;
run;
Figure B.17: US 1980 Presidential Election Data
LogVoteRate |
Num |
8 |
Log Votes Cast per County |
Pop |
Num |
8 |
Population of 18 Years and Older |
Edu |
Num |
8 |
Population with 12th Grade and Higher |
Houses |
Num |
8 |
Number of Owned Housing Units |
Income |
Num |
8 |
Aggregate Income |
Longitude |
Num |
8 |
Scaled Longitude |
Latitude |
Num |
8 |
Scaled Latitude |
-0.66156 |
9.9729 |
9.2463 |
9.00405 |
12.1349 |
-0.86641 |
0.32542 |
-0.65086 |
10.9033 |
10.2212 |
9.96576 |
13.0566 |
-0.87755 |
0.30655 |
-0.61711 |
9.7222 |
8.7535 |
8.70765 |
11.6306 |
-0.85389 |
0.31863 |
-0.63907 |
9.2737 |
8.1831 |
8.27741 |
11.2437 |
-0.87127 |
0.32997 |
-0.70027 |
10.1515 |
9.2077 |
9.24068 |
12.1551 |
-0.86566 |
0.33980 |