Please help step by step for R program with a final code for understanding thank you.

Glencoe Algebra 1, Student Edition, 9780079039897, 0079039898, 2018
18th Edition
ISBN:9780079039897
Author:Carter
Publisher:Carter
Chapter4: Equations Of Linear Functions
Section4.5: Correlation And Causation
Problem 15PPS
icon
Related questions
Question

Please help step by step for R program with a final code for understanding thank you. 

Problem#9
34. The Best Predictor of the Winning Percentage The ultimate goal in any sport (besides having fun) is to win. One measure of
how well a team does is the winning percentage. In baseball, a lot of effort goes into figuring out the variable that best predicts
a team's winning percentage. The following data represent the winning percentages of teams in the National League along
with potential explanatory variables based on the 2007 season. Which variable do you think is the best predictor of winning
percentage? Why?
Team
Arizona
Atlanta
Chicago Cubs
Cincinnati
Colorado
Florida
Houston
Los Angeles
Milwaukee
New York Mets
Philadelphia
Pittsburgh
San Diego
San Francisco
St. Louis
Washington
Source: espn.com
Winning
Percentage Runs Scored Home Runs
0.556
0.519
0.525
0.444
0.522
0:438
0.451
0.506
0.512
0.543
0.549
0.420
0.546
0.438
0.481
0.451
712
810
752
783
860
790
723
735
801
804
892
724
741
683
725
673
171
176
151
204
171
201
167
129
231
177
213
148
171
131
141
123
Team Batting
Average
0.250
0.275
0.271
0.267
0.280
0.267
0.260
0.275
0.262
0.275
0.274
0.263
0.251
0.254
0.274
0.256
On-Base
Percentage
0.321
0.339
0.333
0.335
0.354
0.336
0.330
0.337
0.329
0.342
0.354
0.325
0.322
0.322
0.337
0.325
Batting Average
against Team
0.262
0.259
0.246
0.282
0.266
0.285
0.273
0.261
0.269
0.255
0.276
AFATARE
0.288
0.250
0.261
0.271
0.269
Team Earned-
Run Average
4.13
4.11
4.04
4.94
4.32
4.94
4.68
4.20
4.41
4.26
4.73
4.93
3.70
4.19
4.65
4.58
Transcribed Image Text:Problem#9 34. The Best Predictor of the Winning Percentage The ultimate goal in any sport (besides having fun) is to win. One measure of how well a team does is the winning percentage. In baseball, a lot of effort goes into figuring out the variable that best predicts a team's winning percentage. The following data represent the winning percentages of teams in the National League along with potential explanatory variables based on the 2007 season. Which variable do you think is the best predictor of winning percentage? Why? Team Arizona Atlanta Chicago Cubs Cincinnati Colorado Florida Houston Los Angeles Milwaukee New York Mets Philadelphia Pittsburgh San Diego San Francisco St. Louis Washington Source: espn.com Winning Percentage Runs Scored Home Runs 0.556 0.519 0.525 0.444 0.522 0:438 0.451 0.506 0.512 0.543 0.549 0.420 0.546 0.438 0.481 0.451 712 810 752 783 860 790 723 735 801 804 892 724 741 683 725 673 171 176 151 204 171 201 167 129 231 177 213 148 171 131 141 123 Team Batting Average 0.250 0.275 0.271 0.267 0.280 0.267 0.260 0.275 0.262 0.275 0.274 0.263 0.251 0.254 0.274 0.256 On-Base Percentage 0.321 0.339 0.333 0.335 0.354 0.336 0.330 0.337 0.329 0.342 0.354 0.325 0.322 0.322 0.337 0.325 Batting Average against Team 0.262 0.259 0.246 0.282 0.266 0.285 0.273 0.261 0.269 0.255 0.276 AFATARE 0.288 0.250 0.261 0.271 0.269 Team Earned- Run Average 4.13 4.11 4.04 4.94 4.32 4.94 4.68 4.20 4.41 4.26 4.73 4.93 3.70 4.19 4.65 4.58
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

Please help step to step with R program with a final code for understanding thank you.

#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
wP
0.556
0.519
0.525
0.444
0.522
0.438
0.451
0.506
0.512
0.543
0.549
0.42
0.546
0.438
0.481
0.451
rS
712
810
752
783
860
790
723
735
801
804
892
724
741
683
725
673
hR
obP
171
0.25 0.321 0.262
176
0.275
0.339
0.259
151
0.271
204
0.267
171
0.28
201 0.267
167
129
231
177
213
148
171
131
141
123
tbA
0.26
0.275
0.262
0.275
0.274
0.263
0.251
0.254
0.274
0.256
0.333
0.335
0.354
0.336
0.322
0.322
baaT
0.33
0.337
0.329
0.342
0.354
0.276
0.325 0.288
0.337
0.325
0.246
0.282
0.266
0.285
0.273
0.261
0.269
0.255
0.25
0.261
0.271
0.269
terA
4.13
4.11
4.04
4.94
4.32
4.94
4.68
4.2
4.41
4.26
4.73
4.93
3.7
4.19
4.65
4.58
Transcribed Image Text:# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 wP 0.556 0.519 0.525 0.444 0.522 0.438 0.451 0.506 0.512 0.543 0.549 0.42 0.546 0.438 0.481 0.451 rS 712 810 752 783 860 790 723 735 801 804 892 724 741 683 725 673 hR obP 171 0.25 0.321 0.262 176 0.275 0.339 0.259 151 0.271 204 0.267 171 0.28 201 0.267 167 129 231 177 213 148 171 131 141 123 tbA 0.26 0.275 0.262 0.275 0.274 0.263 0.251 0.254 0.274 0.256 0.333 0.335 0.354 0.336 0.322 0.322 baaT 0.33 0.337 0.329 0.342 0.354 0.276 0.325 0.288 0.337 0.325 0.246 0.282 0.266 0.285 0.273 0.261 0.269 0.255 0.25 0.261 0.271 0.269 terA 4.13 4.11 4.04 4.94 4.32 4.94 4.68 4.2 4.41 4.26 4.73 4.93 3.7 4.19 4.65 4.58
Problem#9
34. The Best Predictor of the Winning Percentage The ultimate goal in any sport (besides having fun) is to win. One measure of
how well a team does is the winning percentage. In baseball, a lot of effort goes into figuring out the variable that best predicts
a team's winning percentage. The following data represent the winning percentages of teams in the National League along
with potential explanatory variables based on the 2007 season. Which variable do you think is the best predictor of winning
percentage? Why?
Team
Arizona
Atlanta
Chicago Cubs
Cincinnati
Colorado
Florida
Houston
Los Angeles
Milwaukee
New York Mets
Philadelphia
Pittsburgh
San Diego
San Francisco
St. Louis
Washington
Source: espn.com
Winning
Percentage Runs Scored Home Runs
0.556
0.519
0.525
0.444
0.522
0:438
0.451
0.506
0.512
0.543
0.549
0.420
0.546
0.438
0.481
0.451
712
810
752
783
860
790
723
735
801
804
892
724
741
683
725
673
171
176
151
204
171
201
167
129
231
177
213
148
171
131
141
123
Team Batting
Average
0.250
0.275
0.271
0.267
0.280
0.267
0.260
0.275
0.262
0.275
0.274
0.263
0.251
0.254
0.274
0.256
On-Base
Percentage
0.321
0.339
0.333
0.335
0.354
0.336
0.330
0.337
0.329
0.342
0.354
0.325
0.322
0.322
0.337
0.325
Batting Average
against Team
0.262
0.259
0.246
0.282
0.266
0.285
0.273
0.261
0.269
0.255
0.276
AFATARE
0.288
0.250
0.261
0.271
0.269
Team Earned-
Run Average
4.13
4.11
4.04
4.94
4.32
4.94
4.68
4.20
4.41
4.26
4.73
4.93
3.70
4.19
4.65
4.58
Transcribed Image Text:Problem#9 34. The Best Predictor of the Winning Percentage The ultimate goal in any sport (besides having fun) is to win. One measure of how well a team does is the winning percentage. In baseball, a lot of effort goes into figuring out the variable that best predicts a team's winning percentage. The following data represent the winning percentages of teams in the National League along with potential explanatory variables based on the 2007 season. Which variable do you think is the best predictor of winning percentage? Why? Team Arizona Atlanta Chicago Cubs Cincinnati Colorado Florida Houston Los Angeles Milwaukee New York Mets Philadelphia Pittsburgh San Diego San Francisco St. Louis Washington Source: espn.com Winning Percentage Runs Scored Home Runs 0.556 0.519 0.525 0.444 0.522 0:438 0.451 0.506 0.512 0.543 0.549 0.420 0.546 0.438 0.481 0.451 712 810 752 783 860 790 723 735 801 804 892 724 741 683 725 673 171 176 151 204 171 201 167 129 231 177 213 148 171 131 141 123 Team Batting Average 0.250 0.275 0.271 0.267 0.280 0.267 0.260 0.275 0.262 0.275 0.274 0.263 0.251 0.254 0.274 0.256 On-Base Percentage 0.321 0.339 0.333 0.335 0.354 0.336 0.330 0.337 0.329 0.342 0.354 0.325 0.322 0.322 0.337 0.325 Batting Average against Team 0.262 0.259 0.246 0.282 0.266 0.285 0.273 0.261 0.269 0.255 0.276 AFATARE 0.288 0.250 0.261 0.271 0.269 Team Earned- Run Average 4.13 4.11 4.04 4.94 4.32 4.94 4.68 4.20 4.41 4.26 4.73 4.93 3.70 4.19 4.65 4.58
Solution
Bartleby Expert
SEE SOLUTION
Recommended textbooks for you
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
Holt Mcdougal Larson Pre-algebra: Student Edition…
Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Algebra
ISBN:
9781680331141
Author:
HOUGHTON MIFFLIN HARCOURT
Publisher:
Houghton Mifflin Harcourt