Apéndice A: conjuntos de datos
Conjunto de datos 1: Ventas inmobiliarias de Goodyear, Arizona
Variables
x1 = Precio de venta en miles de dólares
x2 = Número de recámaras
x3 = Tamaño de la casa en pies cuadrados
x4 = Alberca (1 = sí o 0 = no)
x5 = Distancia del centro de la ciudad en millas
x6 = Colonia
x7 = Cochera (1 = sí o 0 = no)
x8 = Número de baños
105 casas vendidas
x1 x2 x3 x4 x5 x6 x7 x8
26 4 2,30 0 1 5 1 2.
3. 0 7 0
1
18 4 2,10 1 1 4 0 2.
2. 0 9 0
4
24 3 2,30 1 1 3 0 2.
2. 0 2 0
1
21 2 2,20 1 1 2 0 2.
3. 0 6 5
6
13 2 2,10 1 2 1 0 1.
9. 0 8 5
9
24 2 2,10 0 1 1 1 2.
5. 0 2 0
4
32 6 2,50 1 1 3 1 2.
7. 0 5 0
2
27 2 2,10 1 9 2 1 2.
1. 0 5
8
22 3 2,30 0 1 1 0 1.
1. 0 8 5
1
26 4 2,40 1 1 4 1 2.
6. 0 3 0
6
29 4 2,10 1 1 3 1 2.
2. 0 4 0
4
20 2 1,70 1 8 4 1 1.
9. 0 5
0
27 6 2,50 1 7 4 1 2.
0. 0 0
8
24 4 2,10 1 1 3 1 2.
6. 0 8 0
1
19 2 2,30 1 1 3 0 2.
4. 0 1 0
4
28 3 2,10 1 1 2 1 2.
1. 0 6 0
3
17 4 2,20 0 1 3 0 2.
2. 0 6 0
7
20 5 2,30 0 2 4 0 2.
7. 0 1 5
5
19 3 2,20 0 1 4 1 2.
8. 0 0 0
9
20 6 1,90 0 1 4 1 2.
9. 0 5 0
3
25 4 2,60 1 8 4 1 2.
2. 0 0
3
19 4 1,90 0 1 2 1 2.
2. 0 4 5
9
20 5 2,10 1 2 5 0 1.
9. 0 0 5
3
34 8 2,60 1 9 4 1 2.
5. 0 0
3
32 6 2,10 1 1 5 1 3.
6. 0 1 0
3
17 2 2,20 0 2 5 1 1.
3. 0 1 5
1
18 2 1,90 1 2 4 0 2.
7. 0 6 0
0
25 2 2,10 1 9 4 1 2.
7. 0 0
2
23 3 2,20 1 1 3 1 1.
3. 0 4 5
0
18 2 2,00 1 1 5 0 2.
0. 0 1 0
4
23 2 1,70 1 1 3 1 2.
4. 0 9 0
0
20 2 2,00 1 1 5 1 2.
7. 0 1 0
1
24 5 2,40 1 1 2 1 2.
7. 0 6 0
7
16 3 2,00 0 1 2 1 2.
6. 0 6 0
2
17 2 1,90 1 1 5 1 2.
7. 0 0 0
1
(continúa)
772
A.1 Conjunto de datos 1: Ventas
inmobiliarias de Goodyear, Arizona
(continuación)
x1 x2 x3 x4 x5 x6 x7 x8
182 4 2,0 0 1 4 0 2.
.7 00 4 5
216 4 2,3 1 1 2 0 2.
.0 00 9 0
312 6 2,6 1 7 5 1 2.
.1 00 5
199 3 2,1 1 1 3 1 2.
.8 00 9 0
273 5 2,2 1 1 2 1 3.
.2 00 6 0
206 3 2,1 0 9 3 0 1.
.0 00 5
232 3 1,9 0 1 1 1 1.
.2 00 6 5
198 4 2,1 0 1 1 1 1.
.3 00 9 5
205 3 2,0 0 2 4 0 2.
.1 00 0 0
175 4 2,3 0 2 4 1 2.
.6 00 4 0
307 3 2,4 0 2 2 1 3.
.8 00 1 0
269 5 2,2 1 8 5 1 3.
.2 00 0
224 3 2,2 1 1 1 1 2.
.8 00 7 5
171 3 2,0 0 1 4 0 2.
.6 00 6 0
216 3 2,2 1 1 1 1 2.
.8 00 5 0
192 6 2,2 0 1 1 0 2.
.6 00 4 0
236 5 2,2 1 2 3 1 2.
.4 00 0 0
172 3 2,2 1 2 3 0 2.
.4 00 3 0
251 3 1,9 1 1 2 1 2.
.4 00 2 0
246 6 2,3 1 7 3 1 3.
.0 00 0
147 6 1,7 0 1 1 0 2.
.4 00 2 0
176 4 2,2 1 1 1 1 2.
.0 00 5 0
228 3 2,3 1 1 5 1 1.
.4 00 7 5
166 3 1,6 0 1 3 0 2.
.5 00 9 5
189 4 2,2 1 2 1 1 2.
.4 00 4 0
312 7 2,4 1 1 3 1 3.
.1 00 3 0
289 6 2,0 1 2 3 1 3.
.8 00 1 0
269 5 2,2 0 1 4 1 2.
.9 00 1 5
154 2 2,0 1 1 2 0 2.
.3 00 3 0
222 2 2,1 1 9 5 1 2.
.1 00 0
209 5 2,2 0 1 2 1 2.
.7 00 3 0
190 3 2,2 0 1 3 1 2.
.9 00 8 0
254 4 2,5 0 1 3 1 2.
.3 00 5 0
207 3 2,1 0 1 2 0 2.
.5 00 0 0
209 4 2,2 0 1 2 1 2.
.7 00 9 0
294 2 2,1 1 1 2 1 2.
.0 00 3 5
176 2 2,0 0 1 3 0 2.
.3 00 7 0
294 7 2,4 1 8 4 1 2.
.3 00 0
224 3 1,9 0 6 1 1 2.
.0 00 0
125 2 1,9 1 1 4 0 1.
.0 00 8 5
236 4 2,6 0 1 5 1 2.
.8 00 7 0
164 4 2,3 1 1 4 0 2.
.1 00 9 0
217 3 2,5 1 1 3 0 2.
.8 00 2 0
192 2 2,4 1 1 2 0 2.
.2 00 6 5
125 2 2,4 1 2 1 0 1.
.9 00 8 5
(continúa)
773
Apéndice A
A.1 Conjunto de datos 1: Ventas
inmobiliarias de Goodyear, Arizona
(conclusión)
x1 x2 x3 x4 x5 x6 x7 x8
22 2 2,30 0 1 1 1 2
0. 0 2 .
9 0
29 6 2,70 1 1 3 1 2
4. 0 5 .
5 0
24 2 2,30 1 9 2 1 2
4. 0 .
6 5
19 3 2,50 0 1 1 0 1
9. 0 8 .
0 5
24 4 2,60 1 1 4 1 2
0. 0 3 .
0 0
26 4 2,30 1 1 3 1 2
3. 0 4 .
2 0
18 2 1,90 1 8 4 1 1
8. 0 .
1 5
24 6 2,70 1 7 4 1 2
3. 0 .
7 0
22 4 2,30 1 1 3 1 2
1. 0 8 .
5 0
17 2 2,50 1 1 3 0 2
5. 0 1 .
0 0
25 3 2,30 1 1 2 1 2
3. 0 6 .
2 0
15 4 2,40 0 1 3 0 2
5. 0 6 .
4 0
18 5 2,50 0 2 4 0 2
6. 0 1 .
7 5
17 3 2,40 0 1 4 1 2
9. 0 0 .
0 0
18 6 2,10 0 1 4 1 2
8. 0 5 .
3 0
22 4 2,90 1 8 4 1 2
7. 0 .
1 0
17 4 2,10 0 1 2 1 2
3. 0 4 .
6 5
18 5 2,30 1 2 5 0 1
8. 0 0 .
3 5
31 8 2,90 1 9 4 1 2
0. 0 .
8 0
29 6 2,40 1 1 5 1 3
3. 0 1 .
7 0
17 3 2,40 1 8 4 1 2
9. 0 .
0 0
18 6 2,10 0 1 2 1 2
8. 0 4 .
3 5
22 4 2,90 1 2 5 0 1
7. 0 0 .
1 5
17 4 2,10 1 9 4 1 2
3. 0 .
6 0
18 5 2,30 1 1 5 1 3
8. 0 1 .
3 0
774
A.2 Conjunto de datos 2: Ligas Mayores de Béisbol, temporada
2009
Variables
x1 = Equipo
x2 = Liga (Americana = 1; Nacional = 0)
x3 = Construcción (año en que se construyó el estadio)
x4 = Tamaño (capacidad del estadio)
x5 = Salario (salario total del equipo en 2009 en millones de dólares)
x6 = Victorias
x7 = Asistencia (total anual del equipo)
x8 = BA (promedio de bateo del equipo)
x9 = ERA (promedio de carreras)
x10 = HR (cuadrangulares)
x11 = Errores
x12 = SB (bases robadas)
x13 = Año
x14 = Salario promedio por jugador (en dólares)
775
77
6
Ap
én
Equipo, Li Construcci Tamañ Sala Victori Asisten BA, ERA H Error SB Año Salario promedio por
dic
g ón, o, rio, as, cia, , R es, , , jugador,
x
1
a,
x2 x3 x
4
x5 x6 x7 x8 x9
,
x
1
x11 x12 x13 x14 e
0
Baltimore Orioles
Boston Red Sox
1
1
1992
1912
48,87
6
39,92
67.1
121.
64
95
1.91
3.06
0.26
8
0.27
5.15
4.35
1
6
0
2
90
82
7
6
12
198
9
199
$ 512,930
578,930
A
8 8 0 1 6 0
2
Chicago White Sox 1 1991 40,61 96.1 79 2.28 0.25 4.14 1 113 11 199 891,188
5 8 8 3 1
4
Cleveland Indians 1 1994 43,34 81.6 65 1.77 0.26 5.06 1 97 8 199 1,084,408
5 4 6 4 2
1
Detroit Tigers 1 2000 41,78 115. 86 2.57 0.26 4.29 1 88 7 199 1,120,254
2 1 0 8 2 3
3
Kansas City Royals 1 1973 40,79 70.5 65 1.80 0.25 4.83 1 116 8 199 1,188,679
3 9 4 8 4
4
Los Angeles Angels 1 1966 45,05 113. 97 3.24 0.28 4.45 1 85 14 199 1,071,029
0 7 5 7 8 5
3
Minnesota Twins 1 2010 40,00 65.3 87 2.42 0.27 4.50 1 76 8 199 1,176,967
0 4 7 5 6
2
New York Yankees 1 2009 52,32 201. 103 3.72 0.28 4.26 2 86 11 199 1,383,578
5 5 3 4 1 7
4
Oakland Athletics 1 1966 34,07 62.3 75 1.41 0.26 4.26 1 105 13 199 1,441,406
7 2 3 3 8
5
Seattle Mariners 1 1999 47,11 98.9 85 2.20 0.25 3.87 1 105 8 199 1,720,050
6 8 6 9 9
0
Tampa Bay Rays 1 1990 36,04 63.3 84 1.87 0.26 4.33 1 98 19 200 1,988,034
8 3 9 4 0
9
Texas Rangers 1 1994 49,11 68.2 87 2.16 0.26 4.38 2 106 14 200 2,264,403
5 0 2 9 1
4
Toronto Blue Jays 1 1989 50,51 80.5 75 1.88 0.26 4.47 2 76 7 200 2,383,235
6 6 0 3 2
9
Arizona 0 1998 49,03 73.5 70 2.13 0.25 4.42 1 124 10 200 2,555,476
Diamondbacks 3 3 7 2 3
3
Atlanta Braves 0 1996 50,09 96.7 86 2.37 0.26 3.57 1 96 5 200 2,486,609
1 3 4 8 4
9
Chicago Cubs 0 1914 41,11 134. 83 3.17 0.25 3.84 1 105 5 200 2,632,655
8 8 5 6 6 5
1
Cincinnati Reds 0 2003 42,05 73.6 78 1.75 0.24 4.18 1 89 9 200 2,866,544
9 7 5 6 6
8
Colorado Rockies 0 1995 50,44 75.2 92 2.67 0.26 4.22 1 87 10 200 2,944,556
5 1 9 6 7
0
Florida Marlins 0 1987 36,33 36.8 87 1.46 0.26 4.29 1 106 7 200 3,154,845
1 8 5 5 8
9
Houston Astros 0 2000 40,95 103. 74 2.52 0.26 4.54 1 78 11 200 3,240,000
0 0 0 4 3 9
2
Los Angeles 0 1962 56,00 100. 95 3.76 0.27 3.41 1 83 11
Dodgers 0 4 0 4 6
5
Milwaukee Brewers 0 2001 42,20 80.2 80 3.04 0.26 4.83 1 98 6
0 3 8 8
2
New York Mets 0 2009 45,00 149. 70 3.15 0.27 4.45 9 97 12
0 4 0 5 2
Philadelphia Phillies 0 2004 43,64 113. 93 3.60 0.25 4.16 2 76 11
7 0 8 2 9
4
Pittsburgh Pirates 0 2001 38,49 48.7 62 1.58 0.25 4.59 1 73 9
6 2 2 0
5
San Diego Padres 0 2004 42,44 43.7 75 1.92 0.24 4.37 1 94 8
5 2 4 2
1
San Francisco 0 2000 41,50 82.6 88 2.86 0.25 3.55 1 88 7
Giants 3 7 2 8
2
St. Louis Cardinals 0 2006 49,66 77.6 91 3.34 0.26 3.66 1 96 7
0 3 6 5
0
Washington 0 2008 41,88 60.3 59 1.82 0.25 5.00 1 143 7
Nationals 8 8 5 3
6