Suppose we have the following values for the linear function relating X and Y (where Y is the dependent variable and X is the independent variable:
X Y
0 45
1 25
2 5
What is the value of the slope for this straight line?
Solution :
X | Y | XY | X^2 | Y^2 |
0 | 45 | 0 | 0 | 2025 |
1 | 25 | 25 | 1 | 625 |
2 | 5 | 10 | 4 | 25 |
n | 3 |
sum(XY) | 35.00 |
sum(X) | 3.00 |
sum(Y) | 75.00 |
sum(X^2) | 5.00 |
sum(Y^2) | 2675.00 |
Numerator | -120.00 |
Denominator | 120.00 |
r | -1.0000 |
r square | 1.0000 |
Xbar(mean) | 1.0000 |
Ybar(mean) | 25.0000 |
SD(X) | 0.8165 |
SD(Y) | 16.3299 |
b | -20.0000 |
a | 45.0000 |
b = -20.0
The value of the slope for this straight line is -20.0 .
Get Answers For Free
Most questions answered within 1 hours.