In: Statistics and Probability
Assignment Chapter 2
The dataset below contains information on the 50 states in the US, including 2 categorical and 13 quantitative variables. In the questions that follow, I ask you to use technology to do some analysis of this dataset.
State |
HouseholdI ncome |
IQ |
McCain Vote |
Region |
Obama McCain |
Population |
HighSchool |
GSP |
Alabama |
38160 |
95.7 |
0.604 |
S |
M |
4.525375 |
82.4 |
33264 |
Alaska |
57071 |
99 |
0.602 |
W |
M |
0.657755 |
90.2 |
59238 |
Arizona |
46693 |
97.4 |
0.538 |
W |
M |
5.739879 |
84.4 |
36457 |
Arkansas |
37458 |
97.5 |
0.588 |
S |
M |
2.75 |
79.2 |
31215 |
California |
54385 |
95.5 |
0.372 |
W |
O |
35.842038 |
81.3 |
44894 |
Colorado |
53900 |
101.6 |
0.449 |
W |
O |
4.601821 |
88.3 |
46416 |
Connecticut |
60551 |
103.1 |
0.383 |
NE |
O |
3.498966 |
88.8 |
55193 |
Delaware |
52676 |
100.4 |
0.37 |
NE |
O |
0.830069 |
86.5 |
66961 |
Florida |
45038 |
98.4 |
0.484 |
S |
O |
17.38543 |
85.9 |
37846 |
Georgia |
48388 |
98 |
0.522 |
S |
M |
8.918129 |
85.2 |
40103 |
Hawaii |
61005 |
95.6 |
0.266 |
W |
O |
1.262124 |
88.0 |
42361 |
Idaho |
45919 |
101.4 |
0.615 |
W |
M |
1.39514 |
87.9 |
33020 |
Illinois |
49328 |
99.9 |
0.369 |
MW |
O |
12.712016 |
86.8 |
43878 |
Indiana |
44618 |
101.7 |
0.49 |
MW |
O |
6.226537 |
87.2 |
38037 |
Iowa |
48075 |
103.2 |
0.447 |
MW |
O |
2.952904 |
89.8 |
38280 |
Kansas |
44478 |
102.8 |
0.568 |
MW |
M |
2.733697 |
89.6 |
38465 |
Kentucky |
38694 |
99.4 |
0.575 |
MW |
M |
4.141835 |
81.8 |
33666 |
Louisiana |
37472 |
95.3 |
0.586 |
S |
M |
4.506685 |
78.7 |
37183 |
Maine |
45503 |
103.4 |
0.405 |
NE |
O |
1.314985 |
87.1 |
34030 |
Maryland |
63082 |
99.7 |
0.368 |
NE |
O |
5.561332 |
87.4 |
43967 |
Massachusetts |
56592 |
104.3 |
0.362 |
NE |
O |
6.407382 |
86.9 |
50935 |
Michigan |
48043 |
100.5 |
0.409 |
MW |
O |
10.104206 |
87.9 |
37175 |
Minnesota |
56102 |
103.7 |
0.44 |
MW |
O |
5.096546 |
92.3 |
45697 |
Mississippi |
34343 |
94.2 |
0.564 |
S |
M |
2.900768 |
83.0 |
27829 |
Missouri |
44487 |
101 |
0.494 |
MW |
M |
5.759532 |
87.9 |
37251 |
Montana |
39821 |
103.4 |
0.497 |
W |
M |
0.92692 |
91.9 |
31940 |
Nebraska |
48820 |
102.3 |
0.57 |
MW |
M |
1.747704 |
91.3 |
40185 |
Nevada |
51036 |
96.5 |
0.427 |
W |
O |
2.332898 |
86.3 |
46108 |
New Hampshire |
60441 |
104.2 |
0.448 |
NE |
O |
1.299169 |
90.8 |
42033 |
New Jersey |
66752 |
102.8 |
0.421 |
NE |
O |
8.685166 |
87.6 |
49447 |
New Mexico |
40126 |
95.7 |
0.42 |
W |
O |
1.903006 |
82.9 |
35714 |
New York |
48472 |
100.7 |
0.367 |
NE |
O |
19.280727 |
85.4 |
49748 |
North Carolina |
41616 |
100.2 |
0.495 |
S |
O |
8.540468 |
80.9 |
39921 |
North Dakota |
42311 |
103.8 |
0.533 |
MW |
M |
0.636308 |
89.5 |
38319 |
Ohio |
45776 |
101.8 |
0.472 |
MW |
O |
11.450143 |
88.1 |
38461 |
Oklahoma |
38859 |
99.3 |
0.656 |
S |
M |
3.523546 |
85.2 |
34243 |
Oregon |
46349 |
101.2 |
0.408 |
W |
O |
3.591363 |
87.4 |
39625 |
Pennsylvania |
48148 |
101.5 |
0.443 |
NE |
O |
12.394471 |
86.5 |
39344 |
Rhode Island |
52421 |
99.5 |
0.353 |
NE |
O |
1.079916 |
81.1 |
40687 |
South Carolina |
40583 |
98.4 |
0.538 |
S |
M |
4.197892 |
83.6 |
32906 |
South Dakota |
44996 |
102.8 |
0.532 |
MW |
M |
0.770621 |
87.5 |
39848 |
Tennessee |
40696 |
97.7 |
0.569 |
S |
M |
5.893298 |
82.9 |
38440 |
Texas |
43044 |
100 |
0.555 |
S |
M |
22.471549 |
78.3 |
43283 |
Utah |
55619 |
101.1 |
0.629 |
W |
M |
2.420708 |
91.0 |
36758 |