Syntax
=SLOPE(known_ys, known_xs)Arguments
| Argument | Required | Description |
|---|---|---|
known_ys | Required | The dependent values |
known_xs | Required | The independent values |
How to use SLOPE
SLOPE takes 2 required arguments. Type =SLOPE( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=SLOPE({2,3,9,1,8,7,5}, {6,5,11,7,5,4,4})Result Related statistical functions
- RANK.EQReturns the rank of a number in a list; equal values share the top rank.
- RSQReturns the square of the correlation coefficient (the R squared of a straight line fit).
- SKEWReturns the skewness of a sample (how lopsided the distribution is).
- SKEW.PReturns the skewness of a whole population.
- SMALLReturns the k-th smallest number in a list.
- STANDARDIZEReturns how many standard deviations a value is from the mean.
- STDEV.PReturns the standard deviation of a whole population.
- STDEV.SEstimates the standard deviation from a sample.
- STDEVAEstimates the standard deviation from a sample, counting text as 0 and TRUE as 1.