The Excel LINEST function delivers statistical information on the line of best fit based on a set of x- and y-values given.
The primary statistical information supplied is an array of constants, mn, mn-1,…, b for the equation: y = m1x1 + m2x2 +… + b, or the function returns the variables m and b for the linear equation: y = mx + b for a specific range of x values.
The user can additionally request that the function return extra regression statistics.
Syntax :
=LINEST( known_y’s, [known_x’s], [const], [stats] )
Parameters :
known y’s –
[const] –
[stats] –
Example :
The spreadsheet below has three separate sets of independent variables (known x values) in cells A2-A11, B2-B11, and C2-C11, and columns D2-D11 have the related known y-values. The spreadsheet’s cells F1-H3 display the results of the Excel Linest function, which was used to produce statistical information on the line of best fit across these points.
Ask Your Query