Syntax
=INTERCEPT(known_ys, known_xs)Arguments
| Argument | Required | Description |
|---|---|---|
known_ys | Required | The dependent values |
known_xs | Required | The independent values |
How to use INTERCEPT
INTERCEPT takes 2 required arguments. Type =INTERCEPT( 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.
=INTERCEPT({2,3,9,1,8}, {6,5,11,7,5})Result Related statistical functions
- GEOMEANReturns the geometric mean of positive numbers.
- GROWTHReturns values along the exponential growth curve that fits the known data.
- HARMEANReturns the harmonic mean of positive numbers.
- HYPGEOM.DISTReturns the hypergeometric distribution: the probability of a number of successes in a sample drawn without replacement.
- KURTReturns the kurtosis of the numbers (how peaked or flat their distribution is).
- LARGEReturns the k-th largest number in a list.
- LINESTFits a straight line (or a plane for several x columns) by least squares and returns its coefficients and optional statistics.
- LOGESTFits an exponential curve y = b * m^x to the data and returns its coefficients and optional statistics.
- LOGNORM.DISTReturns the lognormal distribution of x, where ln(x) is normally distributed.