In: Statistics and Probability
The NFL Scouting Combine is an event at which football scouts evaluate the abilities of some top college prospects. Following are heights in inches and weighs in pounds for some of the quarterbacks at the 2013 Combine. Compute the slope LaTeX: b1 least-square regression line for predicting weight from height. Round your answer to 3 decimal places.
Height (x) 75 78 75 79 75 76 77 77 74 75 74 76 75 74
weight (y) 227 232 231 225 240 225 226 237 227 219 218 237 226 215
We will use R Software to obtain the equation of least square regression line for predicting weight from height.
Note that,
Independent variable(x) : Height (in inches)
Dependent variable(Y): Weight (in pounds)
R software codes
>x=c(75,78,75,79,75,76,77,77,74,75,74,76,75,74)
>y=c(227,232,231,225,240,225,226,237,227,219,218,237,226,215)
>lm(y~x)
Data vectors x and y are created. lm() function is used to obtain least square regression line for predicting weight from height.
R software output
Observe the above output.
Slope b1 of least square regression line for predicting weight from height is 1.588.
Equation of regression line for predicting weight from height is
Weight= 107.269+1.588(Height)
The above equation can be used to predict weight from height.
This answers your question. If you understood, please rate positively.