Compares estimated and actual y-values, and ranges in value from 0 to 1. The standard error value for the constant b (seb = #N/A when const is FALSE). The standard error values for the coefficients m1,m2.,mn. The additional regression statistics are as follows. If stats is FALSE or omitted, LINEST returns only the m-coefficients and the constant b. The array that the LINEST function returns is. The m-values are coefficients corresponding to each x-value, and b is a constant value.
If there are multiple ranges of x-values, where the dependent y-values are a function of the independent x-values. Instructions follow the examples in this article. Because this function returns an array of values, it must be entered as an array formula. You can also combine LINEST with other functions to calculate the statistics for other types of models that are linear in the unknown parameters, including polynomial, logarithmic, exponential, and power series.
The LINEST function calculates the statistics for a line by using the 'least squares' method to calculate a straight line that best fits your data, and then returns an array that describes the line. Find links to more information about charting and performing a regression analysis in the See Also section.
This article describes the formula syntax and usage of the LINEST function in Microsoft Excel.