The following series of questions uses the following table of data from the American League in 2010. Use R to answer the following questions. Team Batting Average Mean number of runs per game NY Yankees 0.267 5.30 Boston 0.268 5.05 Tampa Bay 0.247 4.95 Texas 0.276 4.86 Minnesota 0.273 4.82 Toronto 0.248 4.66 Chicago Sox 0.268 4.64 Detroit 0.268 4.64 LA Angels Kansas City 0.248 4.20 0.274 4.17 Oakland 0.256 4.09 Cleveland 0.248 3.99 Baltimore 0.259 3.78 Seattle 0.236 3.17 a) Create a scatter plot of the data and attach it to the worksheet. b) What is the Pearson's Correlation Coefficient for this data? c) What type of relationship does your answer from parts a and b suggest? d) Determine the least squares regression line. e) If a team has a batting average of 0.275 next year, what is their predicted mean number of runs per game? f) What should the batting average be in order to have a mean number of runs per game of 5.5?

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Topic Video
Question
100%
please dont use excel to sovle this problem
The following series of questions uses the following table of data from the American League in 2010. Use R
to answer the following questions.
4.
Team
Batting Average Mean number of
runs per game
NY Yankees
0.267
5.30
Boston
0.268
5.05
Tampa Bay
0.247
4.95
Техas
0.276
4.86
Minnesota
0.273
4.82
Toronto
0.248
4.66
Chicago Sox
0.268
4.64
Detroit
0.268
4.64
LA Angels
Kansas City
0.248
4.20
0.274
4.17
Oakland
0.256
4.09
Cleveland
0.248
3.99
Baltimore
0.259
3.78
Seattle
0.236
3.17
a)
Create a scatter plot of the data and attach it to the worksheet.
b)
What is the Pearson's Correlation Coefficient for this data?
c)
What type of relationship does your answer from parts a and b suggest?
d)
Determine the least squares regression line.
e)
If a team has a batting average of 0.275 next year, what is their predicted mean number of runs per
game?
f)
What should the batting average be in order to have a mean number of runs per game of 5.5?
g)
Interpret the slope of this line to a layperson.
h)
What is the residual for the Detroit Tigers?
Transcribed Image Text:The following series of questions uses the following table of data from the American League in 2010. Use R to answer the following questions. 4. Team Batting Average Mean number of runs per game NY Yankees 0.267 5.30 Boston 0.268 5.05 Tampa Bay 0.247 4.95 Техas 0.276 4.86 Minnesota 0.273 4.82 Toronto 0.248 4.66 Chicago Sox 0.268 4.64 Detroit 0.268 4.64 LA Angels Kansas City 0.248 4.20 0.274 4.17 Oakland 0.256 4.09 Cleveland 0.248 3.99 Baltimore 0.259 3.78 Seattle 0.236 3.17 a) Create a scatter plot of the data and attach it to the worksheet. b) What is the Pearson's Correlation Coefficient for this data? c) What type of relationship does your answer from parts a and b suggest? d) Determine the least squares regression line. e) If a team has a batting average of 0.275 next year, what is their predicted mean number of runs per game? f) What should the batting average be in order to have a mean number of runs per game of 5.5? g) Interpret the slope of this line to a layperson. h) What is the residual for the Detroit Tigers?
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Optimization
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman