Height x 774 625 521508497477 Stories y 5147 52 25 38 33 Fin
Height x 774, 625, 521,508,497,477
Stories y 51,47, 52, 25, 38, 33
Find the equation of the regression line for the given data. Round the slope to three decimal places as needed and round the Y intercept to g two decimal places as needed.
Height x 774, 625, 521,508,497,477
Stories y 51,47, 52, 25, 38, 33
Find the equation of the regression line for the given data. Round the slope to three decimal places as needed and round the Y intercept to g two decimal places as needed.
Stories y 51,47, 52, 25, 38, 33
Find the equation of the regression line for the given data. Round the slope to three decimal places as needed and round the Y intercept to g two decimal places as needed.
Solution
X is the independent variable and y the dependent variable.
X2 as it was done in the table below.
Step 2: Find the sum of every column:
X=3402 , Y=246 , XY=143268 , X2=1993744
Step 3: Use the following equations to find a and b:
ab=YX2XXYnX2(X)2=2461993744340214326861993744340227.878=nXYXYnX2(X)2=6143268340224661993744(3402)20.058
Step 4: Substitute a and b in regression equation formula
y = a + bx= 7.878 + 0.058x
i.e. y = 7.88+0.06 x
| X | Y | XY | XX |
| 774 | 51 | 39474 | 599076 |
| 625 | 47 | 29375 | 390625 |
| 521 | 52 | 27092 | 271441 |
| 508 | 25 | 12700 | 258064 |
| 497 | 38 | 18886 | 247009 |
| 477 | 33 | 15741 | 227529 |
