Simple linear regression and Multiple Regression model.
Identify the independent and dependent variables. Perform a regression analysis on the data.
X1
|
X2
|
X3
|
X4
|
X5
|
|
X6
|
X7
|
X8
|
X9
|
X10
|
X11
|
X12
|
X13
|
Team
|
League
|
Built
|
Size
|
Surface
|
Salary
|
Salary -mil
|
Wins
|
Attendance
|
Batting
|
ERA
|
HR
|
Error
|
SB
|
Boston
|
1
|
1912
|
33871
|
0
|
123505125
|
123.5
|
95
|
2,847,798
|
0.281
|
4.74
|
199
|
109
|
45
|
New York Yankees
|
1
|
1923
|
57746
|
0
|
208306817
|
208.3
|
95
|
4,090,440
|
0.276
|
4.52
|
229
|
95
|
84
|
Oakland
|
1
|
1966
|
43662
|
0
|
55425762
|
55.4
|
88
|
2,108,818
|
0.262
|
3.69
|
155
|
88
|
31
|
Baltimore
|
1
|
1992
|
48262
|
0
|
73914333
|
73.9
|
74
|
2,623,904
|
0.269
|
4.56
|
189
|
107
|
83
|
Los Angles Angels
|
1
|
1966
|
45050
|
0
|
97725322
|
97.7
|
95
|
3,404,636
|
0.270
|
3.68
|
147
|
87
|
161
|
Cleveland
|
1
|
1994
|
43368
|
0
|
41502500
|
41.5
|
93
|
2,014,220
|
0.271
|
3.61
|
207
|
106
|
62
|
Chicago White Sox
|
1
|
1991
|
44321
|
0
|
75178000
|
75.2
|
99
|
2,342,804
|
0.262
|
3.61
|
200
|
94
|
137
|
Toronto
|
1
|
1989
|
50516
|
1
|
45719500
|
45.7
|
80
|
2,014,995
|
0.265
|
4.06
|
136
|
95
|
72
|
Minnesota
|
1
|
1982
|
48678
|
1
|
56186000
|
56.2
|
83
|
2,034,243
|
0.259
|
3.71
|
134
|
102
|
102
|
Tampa Bay
|
1
|
1990
|
44027
|
1
|
29679067
|
29.7
|
67
|
1,141,915
|
0.274
|
5.39
|
157
|
124
|
151
|
Texas
|
1
|
1994
|
52000
|
0
|
55849000
|
55.8
|
79
|
2,525,259
|
0.267
|
4.96
|
260
|
108
|
67
|
Detroit
|
1
|
2000
|
40000
|
0
|
69092000
|
69.1
|
71
|
2,024,505
|
0.272
|
4.51
|
168
|
110
|
66
|
Seattle
|
1
|
1999
|
45611
|
0
|
87754334
|
87.8
|
69
|
2,724,859
|
0.256
|
4.49
|
130
|
86
|
102
|
Kansas City
|
1
|
1973
|
40529
|
0
|
36881000
|
36.9
|
56
|
1,371,181
|
0.263
|
5.49
|
126
|
125
|
53
|
Atlanta
|
0
|
1993
|
50062
|
0
|
86457302
|
86.5
|
90
|
2,520,904
|
0.265
|
3.98
|
184
|
86
|
92
|
Arizona
|
0
|
1998
|
49075
|
0
|
62329166
|
62.3
|
77
|
2,059,327
|
0.256
|
4.84
|
191
|
94
|
67
|
Houston
|
0
|
2000
|
42000
|
0
|
76799000
|
76.8
|
89
|
2,805,060
|
0.256
|
3.51
|
161
|
89
|
115
|
Cincinnati
|
0
|
2003
|
42,059
|
0
|
61892583
|
61.9
|
73
|
1,923,254
|
0.261
|
5.15
|
222
|
104
|
72
|
New York Mets
|
0
|
1964
|
55775
|
0
|
101305821
|
101.3
|
83
|
2,827,549
|
0.258
|
3.76
|
175
|
106
|
153
|
Pittsburgh
|
0
|
2001
|
38127
|
0
|
38133000
|
38.1
|
67
|
1,817,245
|
0.259
|
4.42
|
139
|
117
|
73
|
Los Angeles Dodgers
|
0
|
1962
|
56000
|
0
|
83039000
|
83.0
|
71
|
3,603,680
|
0.253
|
4.38
|
149
|
106
|
58
|
San Diego
|
0
|
2004
|
42,445
|
0
|
63290833
|
63.3
|
82
|
2,869,787
|
0.257
|
4.13
|
130
|
109
|
99
|
Washington
|
0
|
1961
|
56000
|
0
|
48581500
|
48.6
|
81
|
2,730,352
|
0.252
|
3.87
|
117
|
92
|
45
|
San Francisco
|
0
|
2000
|
40800
|
0
|
90199500
|
90.2
|
75
|
3,181,020
|
0.261
|
4.33
|
128
|
90
|
71
|
St Louis
|
0
|
1966
|
49625
|
0
|
92106833
|
92.1
|
100
|
3,542,271
|
0.270
|
3.49
|
170
|
100
|
83
|
Florida
|
0
|
1987
|
42531
|
0
|
60408834
|
60.4
|
83
|
1,852,608
|
0.272
|
4.16
|
128
|
103
|
96
|
Philadelphia
|
0
|
2004
|
43500
|
0
|
95522000
|
95.5
|
88
|
2,665,304
|
0.270
|
4.21
|
167
|
90
|
116
|
Milwaukee
|
0
|
2001
|
42400
|
0
|
39934833
|
39.9
|
81
|
2,211,323
|
0.259
|
3.97
|
175
|
119
|
79
|
Chicago Cubs
|
0
|
1914
|
38957
|
0
|
87032933
|
87.0
|
79
|
3,100,092
|
0.270
|
4.19
|
194
|
101
|
65
|
Colorado
|
0
|
1995
|
50381
|
0
|
48155000
|
48.2
|
67
|
1,914,385
|
0.267
|
5.13
|
150
|
118
|
65
|