SLOPE
Returns the slope of the linear regression line.
StatisticalStatistics & Analysis
What it does
Calculates the slope of the linear regression line through data points.
Syntax
SLOPE(known_y's, known_x's)
Arguments
known_y's(range) β Dependent data.known_x's(range) β Independent data.
Examples
Calculate Slope
Slope of line.
FORMULA
=SLOPE(B2:B4, A2:A4)
RESULT
2
SAMPLE DATA
| A | B | |
|---|---|---|
| 1 | X | Y |
| 2 | 1 | 2 |
| 3 | 2 | 4 |
| 4 | 3 | 6 |