Docsity

Linear Regression Analysis of Baseball Players' Heights and Weights, Exams of Mathematics

Toggle sidebar
bg1
Math 115 Sections 10.2 & 10.3 F07
In the table below are the heights (x) and weights (y) of a random sample
of baseball players. Find the equation of the linear regression line; plot the
data and the regression line on the same graph. Determine using α = 0.05
if there is a correlation between baseball players heights and weights.
Player Height (inches) (x) Weight (lbs)(y)
Alex Rodriguez 75 210
Derek Jeter 75 195
Greg Maddux 72 185
Randy Johnson 82 230
David Justice 75 200
Al Leiter 75 220
Barry Bonds 74 210
Ray Lankford 71 200
Jason Isringhausen 75 210
A) Enter the data. Press: Stat : Edit enter the height under L1 and weights
under L2. Should look like this:
Once we have the data entered we want to plot
the data, determine the least squares best fit
line (linear regression line) and plot both the
regression line with the data.
Now we can do this all at once but first we need to tell the calculator
that we want to plot in stat mode.
Press 2nd : Y=, looks like this:
pf3

Partial preview of the text

Download Linear Regression Analysis of Baseball Players' Heights and Weights and more Exams Mathematics in PDF only on Docsity!

Math 115 Sections 10.2 & 10.3 F

In the table below are the heights (x) and weights (y) of a random sample of baseball players. Find the equation of the linear regression line; plot the data and the regression line on the same graph. Determine using α = 0. if there is a correlation between baseball players heights and weights.

Player Height (inches) (x) Weight (lbs)(y) Alex Rodriguez 75 210 Derek Jeter 75 195 Greg Maddux 72 185 Randy Johnson 82 230 David Justice 75 200 Al Leiter 75 220 Barry Bonds 74 210 Ray Lankford 71 200 Jason Isringhausen 75 210

A) Enter the data. Press: Stat : Edit enter the height under L 1 and weights under L 2. Should look like this:

Once we have the data entered we want to plot the data, determine the least squares best fit line (linear regression line) and plot both the regression line with the data.

Now we can do this all at once but first we need to tell the calculator that we want to plot in stat mode.

Press 2 nd^ : Y= , looks like this:

Press Enter and we now have this screen:

Press Enter again. We now have the calculator in stat plot mode.

Clear the screen.

On one line we will calculate the equation for the regression line (y = a + bx) and also store this equation as Y 1.

Press stat : Calc then choose LinReg(a + bx) (8):

Now press Vars : > : Enter : Enter This assigns the regression equation to Y 1.

We now have this: on the screen.

Press Enter this gives us the results.

So the equation of the regression line is

Y = -45 + 3.360534125x, with a correlation coefficient of r = 0.7637179572.