Because elderly people may have difficulty standing to have their height measured, a study looked at the relationship between overall height and height to the knee. Here are data (in centimeters) for five elderly men:

col1 Knee Height x 56 44 41 44 55
col2 Height y 190 150 145 165 172
What is the equation of the least-squares regression line for predicting height from knee height?

Respuesta :

Answer:

The equation of the least-squares regression line for predicting height from knee height is [tex]y~=~53.307 ~+~ 2.314 \cdot x[/tex].

Step-by-step explanation:

Given any collection of pairs of numbers, there always exists exactly one straight line that fits the data better than any other, in the sense of minimizing the sum of the squared errors. It is called the least squares regression line.

The slope-intercept form of a line is

                                                [tex]y = bx + a[/tex]

where b is the slope of the line and a is the y-intercept.

We have the following data

[tex]\begin{array}{cc|ccccc}Knee \:Height&x&56&44&41&44&55\\Height&y&190&150&145&165&172\end{array}[/tex]

To find the equation of the regression line you must:

Step 1: Find [tex]x\cdot y[/tex] and [tex]x^2[/tex] as it was done in the table below.

Step 2: Find the sum of every column.

[tex]\sum{X} = 240 ~,~ \sum{Y} = 822 ~,~ \sum{X \cdot Y} = 39905 ~,~ \sum{X^2} = 11714[/tex]

Step 3: Use the following equations to find a and b

[tex]\begin{aligned} a &= \frac{\sum{Y} \cdot \sum{X^2} - \sum{X} \cdot \sum{XY} }{n \cdot \sum{X^2} - \left(\sum{X}\right)^2} = \frac{ 822 \cdot 11714 - 240 \cdot 39905}{ 5 \cdot 11714 - 240^2} \approx 53.307 \\ \\b &= \frac{ n \cdot \sum{XY} - \sum{X} \cdot \sum{Y}}{n \cdot \sum{X^2} - \left(\sum{X}\right)^2} = \frac{ 5 \cdot 39905 - 240 \cdot 822 }{ 5 \cdot 11714 - \left( 240 \right)^2} \approx 2.314\end{aligned}[/tex]

Step 4: Substitute a and b in the regression equation formula

[tex]\begin{aligned} y~&=~a ~+~ b \cdot x \\y~&=~53.307 ~+~ 2.314 \cdot x\end{aligned}[/tex]

Ver imagen franciscocruz28
RELAXING NOICE
Relax