A.1 Data Set 1-Goodyear, Arizona, Real Estate Sales Data
A.1 Data Set 1-Goodyear, Arizona, Real Estate Sales Data
A P P E N D I X A: DATA S E T S
Variables
x1 5 Selling price in $000
x2 5 Number of bedrooms
x3 5 Size of the home in square feet
x4 5 Pool (1 5 yes, 0 5 no)
x5 5 Distance from the center of the city in miles
x6 5 Township
x7 5 Garage attached (1 5 yes, 0 5 no)
x8 5 Number of bathrooms
105 homes sold
x1 x2 x3 x4 x5 x6 x7 x8
263.1 4 2,300 0 17 5 1 2.0
182.4 4 2,100 1 19 4 0 2.0
242.1 3 2,300 1 12 3 0 2.0
213.6 2 2,200 1 16 2 0 2.5
139.9 2 2,100 1 28 1 0 1.5
716
Lin20522_appa_715-725.indd Page 717 19/11/13 8:50 AM f-500 /201/MH02018/Lin20522_disk1of1/0078020522/Lin20522_pagefiles
x1 x2 x3 x4 x5 x6 x7 x8
182.7 4 2,000 0 14 4 0 2.5
216.0 4 2,300 1 19 2 0 2.0
312.1 6 2,600 1 7 5 1 2.5
199.8 3 2,100 1 19 3 1 2.0
273.2 5 2,200 1 16 2 1 3.0
717
Lin20522_appa_715-725.indd Page 718 28/10/13 11:45 AM user-f-w-198 /201/MH02018/Lin20522_disk1of1/0078020522/Lin20522_pagefiles
x1 x2 x3 x4 x5 x6 x7 x8
220.9 2 2,300 0 12 1 1 2.0
294.5 6 2,700 1 15 3 1 2.0
244.6 2 2,300 1 9 2 1 2.5
199.0 3 2,500 0 18 1 0 1.5
240.0 4 2,600 1 13 4 1 2.0
718
Lin20522_appa_715-725.indd Page 719 28/10/13 11:45 AM user-f-w-198 /201/MH02018/Lin20522_disk1of1/0078020522/Lin20522_pagefiles
Variables
x1 5 Team
x2 5 League (American 5 1, National 5 0)
x3 5 Built (year stadium was built)
x4 5 Size (stadium capacity)
x5 5 Salary (total 2012 team salary, $ millions)
x6 5 Wins
x7 5 Attendance (total for team in millions)
x8 5 BA (team batting average)
x9 5 ERA (team earned run average)
x10 5 HR (team home runs)
x11 5 Errors (team errors)
x12 5 SB (team stolen bases)
x13 5 Year
x14 5 Average player salary ($)
(continued )
719
720
A.2 Data Set 2—Baseball Statistics, 2012 Season (concluded)
Capacity Salary
Team League Opened Seating 2012 Wins Attendance BA ERA HR Errors SB
x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 Average Salary
Arizona Diamondbacks 0 1998 48633 74.3 81 2.18 0.26 3.93 165 90 93 1989 $ 512,930
Atlanta Braves 0 1996 49586 83.3 94 2.42 0.25 3.42 149 86 101 1990 578,930
Baltimore Orioles 1 1992 45971 81.4 93 2.1 0.25 3.9 214 106 58 1991 891,188
Boston Red Sox 1 1912 37495 173.2 69 3.04 0.26 4.7 165 101 97 1992 1,084,408
Chicago Cubs 0 1914 41009 88.2 61 2.88 0.24 4.51 137 105 94 1993 1,120,254
Chicago White Sox 1 1991 40615 96.9 85 1.97 0.26 4.02 211 70 109 1994 1,188,679
Cincinnati Reds 0 2003 42319 82.2 97 2.35 0.25 3.34 172 89 87 1995 1,071,029
Cleveland Indians 1 1994 43429 78.4 68 1.6 0.25 4.78 136 96 110 1996 1,176,967
Colorado Rockies 0 1995 50398 78.1 64 2.63 0.27 5.22 166 122 100 1997 1,383,578
Detroit Tigers 1 2000 41255 132.3 88 3.03 0.27 3.75 163 99 59 1998 1,441,406
Lin20522_appa_715-725.indd Page 720 28/10/13 11:45 AM user-f-w-198
Houston Astros 0 2000 40981 60.7 55 1.61 0.24 4.56 146 118 105 1999 1,720,050
Kansas City Royals 1 1973 37903 60.9 72 1.74 0.27 4.3 131 113 132 2000 1,988,034
Los Angeles Angels 1 1966 45957 154.5 89 3.06 0.27 4.02 187 98 134 2001 2,264,403
Los Angeles Dodgers 0 1962 56000 95.1 86 3.32 0.25 3.34 116 98 104 2002 2,383,235
Miami Marlins 0 2012 36742 118.1 69 2.22 0.24 4.09 137 103 149 2003 2,555,476
Milwaukee Brewers 0 2001 41900 97.7 83 2.83 0.26 4.22 202 99 158 2004 2,486,609
Minnesota Twins 1 2010 39504 94.1 66 2.78 0.26 4.77 131 107 135 2005 2,632,655
New York Mets 0 2009 41922 93.4 95 2.24 0.25 4.09 139 101 79 2006 2,866,544
New York Yankees 1 2009 50287 198 74 3.54 0.27 3.85 245 74 93 2007 2,944,556
Oakland Athletics 1 1966 35067 55.4 94 1.68 0.24 3.48 195 111 122 2008 3,154,845
Philadelphia Phillies 0 2004 43651 174.5 81 3.57 0.26 3.83 158 101 116 2009 3,240,206
Pittsburgh Pirates 0 2001 38362 63.4 79 2.09 0.24 3.86 170 112 73 2010 3,297,828
San Diego Padres 0 2004 42691 55.2 76 2.12 0.25 4.01 121 121 155 2011 3,305,393
San Francisco Giants 0 2000 41915 117.6 94 3.38 0.27 3.68 103 115 118 2012 3,440,000
Seattle Mariners 1 1999 47860 82 75 1.72 0.23 3.76 149 72 104
St. Louis Cardinals 0 2006 43975 110.3 88 3.26 0.27 3.71 159 107 91
Tampa Bay Rays 1 1990 34078 64.2 90 1.56 0.24 3.19 175 114 134
Texas Rangers 1 1994 48194 120.5 93 3.46 0.27 3.99 200 85 91
Toronto Blue Jays 1 1989 49260 75.5 73 2.1 0.25 4.64 198 101 123
Washington Nationals 0 2008 41487 81.3 98 2.37 0.26 3.33 194 94 105
/201/MH02018/Lin20522_disk1of1/0078020522/Lin20522_pagefiles
Lin20522_appa_715-725.indd Page 721 28/10/13 11:45 AM user-f-w-198 /201/MH02018/Lin20522_disk1of1/0078020522/Lin20522_pagefiles
Variables
x1 5 Bus number
x2 5 Maintenance cost ($)
x3 5 Age
x4 5 Miles
x5 5 Bus type (diesel or gasoline)
x6 5 Bus manufacturer (Bluebird, Keiser, Thompson)
x7 5 Passengers
Bus Number, Maintenance Cost, Age, Miles, Bus Type, Bus Manufacturer, Passengers,
x1 x2 x3 x4 x5 x6 x7
135 329 7 853 Diesel Bluebird 55
120 503 10 883 Diesel Keiser 42
200 505 10 822 Diesel Bluebird 55
40 466 10 865 Gasoline Bluebird 55
427 359 7 751 Gasoline Keiser 55
721
Lin20522_appa_715-725.indd Page 722 28/10/13 11:45 AM user-f-w-198 /201/MH02018/Lin20522_disk1of1/0078020522/Lin20522_pagefiles
Bus Number, Maintenance Cost, Age, Miles, Bus Type, Bus Manufacturer, Passengers,
x1 x2 x3 x4 x5 x6 x7
61 442 9 809 Diesel Keiser 55
9 414 4 864 Gasoline Keiser 55
314 459 11 859 Diesel Thompson 6
396 457 2 815 Diesel Thompson 55
365 462 6 799 Diesel Keiser 55
722
Lin20522_appa_715-725.indd Page 723 28/10/13 11:45 AM user-f-w-198 /201/MH02018/Lin20522_disk1of1/0078020522/Lin20522_pagefiles
Age Profit Location Vehicle-Type Previous Age Profit Location Vehicle-Type Previous
x1 x2 x3 x4 x5 x1 x2 x3 x4 x5
21 $1,387 Tionesta Sedan 0 40 $1,485 Sheffield Compact 0
23 1,754 Sheffield SUV 1 40 1,509 Kane SUV 2
24 1,817 Sheffield Hybrid 1 40 1,638 Sheffield Sedan 0
25 1,040 Sheffield Compact 0 40 1,961 Sheffield Sedan 1
26 1,273 Kane Sedan 1 40 2,127 Olean Truck 0
27 1,529 Sheffield Sedan 1 40 2,430 Tionesta Sedan 1
27 3,082 Kane Truck 0 41 1,704 Sheffield Sedan 1
28 1,951 Kane SUV 1 41 1,876 Kane Sedan 2
28 2,692 Tionesta Compact 0 41 2,010 Tionesta Sedan 1
29 1,206 Sheffield Sedan 0 41 2,165 Tionesta SUV 0
29 1,342 Kane Sedan 2 41 2,231 Tionesta SUV 2
30 443 Kane Sedan 3 41 2,389 Kane Truck 1
30 754 Olean Sedan 2 42 335 Olean SUV 1
30 1,621 Sheffield Truck 1 42 963 Kane Sedan 0
31 870 Tionesta Sedan 1 42 1,298 Tionesta Sedan 1
31 1,174 Kane Truck 0 42 1,410 Kane SUV 2
31 1,412 Sheffield Sedan 1 42 1,553 Tionesta Compact 0
31 1,809 Tionesta Sedan 1 42 1,648 Olean SUV 0
31 2,415 Kane Sedan 0 42 2,071 Kane SUV 0
32 1,546 Sheffield Truck 3 42 2,116 Kane Compact 2
32 2,148 Tionesta SUV 2 43 1,500 Tionesta Sedan 0
32 2,207 Sheffield Compact 0 43 1,549 Kane SUV 2
32 2,252 Tionesta SUV 0 43 2,348 Tionesta Sedan 0
33 1,428 Kane SUV 2 43 2,498 Tionesta SUV 1
33 1,889 Olean SUV 1 44 294 Kane SUV 1
34 1,166 Olean Sedan 1 44 1,115 Kane Truck 0
34 1,320 Tionesta Sedan 1 44 1,124 Tionesta Compact 2
34 2,265 Olean Sedan 0 44 1,532 Tionesta SUV 3
35 1,323 Olean Sedan 2 44 1,688 Kane Sedan 4
35 1,761 Kane Sedan 1 44 1,822 Kane SUV 0
35 1,919 Tionesta SUV 1 44 1,897 Sheffield Compact 0
36 2,357 Kane SUV 2 44 2,445 Kane SUV 0
36 2,866 Kane Sedan 1 44 2,886 Olean SUV 1
37 732 Olean SUV 1 45 820 Kane Compact 1
37 1,464 Olean Sedan 3 45 1,266 Olean Sedan 0
37 1,626 Tionesta Compact 4 45 1,741 Olean Compact 2
37 1,761 Olean SUV 1 45 1,772 Olean Compact 1
37 1,915 Tionesta SUV 2 45 1,932 Tionesta Sedan 1
37 2,119 Kane Hybrid 1 45 2,350 Sheffield Compact 0
38 1,766 Sheffield SUV 0 45 2,422 Kane Sedan 1
38 2,201 Sheffield Truck 2 45 2,446 Olean Compact 1
39 996 Kane Compact 2 46 369 Olean Sedan 1
39 2,813 Tionesta SUV 0 46 978 Kane Sedan 1
40 323 Kane Sedan 0 46 1,238 Sheffield Compact 1
40 352 Sheffield Compact 0 46 1,818 Kane SUV 0
40 482 Olean Sedan 1 46 1,824 Olean Truck 0
40 1,144 Tionesta Truck 0 46 1,907 Olean Sedan 0
(continued )
723
Lin20522_appa_715-725.indd Page 724 28/10/13 11:45 AM user-f-w-198 /201/MH02018/Lin20522_disk1of1/0078020522/Lin20522_pagefiles
Age Profit Location Vehicle-Type Previous Age Profit Location Vehicle-Type Previous
x1 x2 x3 x4 x5 x1 x2 x3 x4 x5
46 $1,938 Kane Sedan 0 53 $1,401 Tionesta SUV 2
46 1,940 Kane Truck 3 53 2,175 Olean Sedan 1
46 2,197 Sheffield Sedan 1 54 1,118 Sheffield Compact 1
46 2,646 Tionesta Sedan 2 54 2,584 Olean Compact 2
47 1,461 Kane Sedan 0 54 2,666 Tionesta Truck 0
47 1,731 Tionesta Compact 0 54 2,991 Tionesta SUV 0
47 2,230 Tionesta Sedan 1 55 934 Sheffield Truck 1
47 2,341 Sheffield SUV 1 55 2,063 Kane SUV 1
47 3,292 Olean Sedan 2 55 2,083 Sheffield Sedan 1
48 1,108 Sheffield Sedan 1 55 2,856 Olean Hybrid 1
48 1,295 Sheffield SUV 1 55 2,989 Tionesta Compact 1
48 1,344 Sheffield SUV 0 56 910 Sheffield SUV 0
48 1,906 Kane Sedan 1 56 1,536 Kane SUV 0
48 1,952 Tionesta Compact 1 56 1,957 Sheffield SUV 1
48 2,070 Kane SUV 1 56 2,240 Olean Sedan 0
48 2,454 Kane Sedan 1 56 2,695 Kane Sedan 2
49 1,606 Olean Compact 0 57 1,325 Olean Sedan 1
49 1,680 Kane SUV 3 57 2,250 Sheffield Sedan 2
49 1,827 Tionesta Truck 3 57 2,279 Sheffield Hybrid 1
49 1,915 Tionesta SUV 1 57 2,626 Sheffield Sedan 2
49 2,084 Tionesta Sedan 0 58 1,501 Sheffield Hybrid 1
49 2,639 Sheffield SUV 0 58 1,752 Kane Sedan 3
50 842 Kane SUV 0 58 2,058 Kane SUV 1
50 1,963 Sheffield Sedan 1 58 2,370 Tionesta Compact 0
50 2,059 Sheffield Sedan 1 58 2,637 Sheffield SUV 1
50 2,338 Tionesta SUV 0 59 1,426 Sheffield Sedan 0
50 3,043 Kane Sedan 0 59 2,944 Olean SUV 2
51 1,059 Kane SUV 1 60 2,147 Olean Compact 2
51 1,674 Sheffield Sedan 1 61 1,973 Kane SUV 3
51 1,807 Tionesta Sedan 1 61 2,502 Olean Sedan 0
51 2,056 Sheffield Hybrid 0 62 783 Sheffield Hybrid 1
51 2,236 Tionesta SUV 2 62 1,538 Olean Truck 1
51 2,928 Kane SUV 0 63 2,339 Olean Compact 1
52 1,269 Tionesta Sedan 1 64 2,700 Kane Truck 0
52 1,717 Sheffield SUV 3 65 2,222 Kane Truck 1
52 1,797 Kane Sedan 1 65 2,597 Sheffield Truck 0
52 1,955 Olean Hybrid 2 65 2,742 Tionesta SUV 2
52 2,199 Tionesta SUV 0 68 1,837 Sheffield Sedan 1
52 2,482 Olean Compact 0 69 2,842 Kane SUV 0
52 2,701 Sheffield SUV 0 70 2,434 Olean Sedan 4
52 3,210 Olean Truck 4 72 1,640 Olean Sedan 1
53 377 Olean SUV 1 72 1,821 Tionesta SUV 1
53 1,220 Olean Sedan 0 73 2,487 Olean Compact 4
724
Lin20522_appa_715-725.indd Page 725 28/10/13 11:45 AM user-f-w-198 /201/MH02018/Lin20522_disk1of1/0078020522/Lin20522_pagefiles
x1 5 Account balance in $
x2 5 Number of ATM transactions in the month
x3 5 Number of other bank services used
x4 5 Has a debit card (1 5 yes, 0 5 no)
x5 5 Receives interest on the account (1 5 yes, 0 5 no)
x6 5 City where banking is done
60 Accounts
x1 x2 x3 x4 x5 x6 x1 x2 x3 x4 x5 x6
1,756 13 4 0 1 2 1,958 6 2 1 0 2
748 9 2 1 0 1 634 2 7 1 0 4
1,501 10 1 0 0 1 580 4 1 0 0 1
1,831 10 4 0 1 3 1,320 4 5 1 0 1
1,622 14 6 0 1 4 1,675 6 7 1 0 2
1,886 17 3 0 1 1 789 8 4 0 0 4
740 6 3 0 0 3 1,735 12 7 0 1 3
1,593 10 8 1 0 1 1,784 11 5 0 0 1
1,169 6 4 0 0 4 1,326 16 8 0 0 3
2,125 18 6 0 0 2 2,051 14 4 1 0 4
1,554 12 6 1 0 3 1,044 7 5 1 0 1
1,474 12 7 1 0 1 1,885 10 6 1 1 2
1,913 6 5 0 0 1 1,790 11 4 0 1 3
1,218 10 3 1 0 1 765 4 3 0 0 4
1,006 12 4 0 0 1 1,645 6 9 0 1 4
2,215 20 3 1 0 4 32 2 0 0 0 3
137 7 2 0 0 3 1,266 11 7 0 0 4
167 5 4 0 0 4 890 7 1 0 1 1
343 7 2 0 0 1 2,204 14 5 0 0 2
2,557 20 7 1 0 4 2,409 16 8 0 0 2
2,276 15 4 1 0 3 1,338 14 4 1 0 2
1,494 11 2 0 1 1 2,076 12 5 1 0 2
2,144 17 3 0 0 3 1,708 13 3 1 0 1
1,995 10 7 0 0 2 2,138 18 5 0 1 4
1,053 8 4 1 0 3 2,375 12 4 0 0 2
1,526 8 4 0 1 2 1,455 9 5 1 1 3
1,120 8 6 1 0 3 1,487 8 4 1 0 4
1,838 7 5 1 1 3 1,125 6 4 1 0 2
1,746 11 2 0 0 2 1,989 12 3 0 1 2
1,616 10 4 1 1 2 2,156 14 5 1 0 2
725