Returns an array of statistics for an exponential curve that best fits the given data set.
Syntax
y_values: The array or range containing the known (or dependent) y values. E.g. A2:A6
x_values: The array or range containing the known (or independent) x values. It can have more than one variable. It must be of the same size as that of y_values. Defaults to {1,2,3...} if omitted. E.g. B2:B6
allow_const: Logical value that determines whether to return the y-intercept values or not. Defaults to 1 if omitted.
TRUE or 1 - returns the y-intercept values
FALSE or 0 - returns the y-intercept as 1
stats: Logical value that determines whether to return additional regression statistics or not. Defaults to 1 if omitted.
TRUE or 1 - returns the additional regression data
|
Statistics Returned |
Description |
|
m1,m2,...,mn |
The slope of the regression line y=m*x+b for the values x1,x2, etc. |
|
b |
The y-intercept of the regression line. |
|
se1,se2,...,sen |
The standard error values for the slopes m1,m2,...,mn. |
|
seb |
The standard error value of the intercept b. |
|
r2 |
The coefficient of determination. |
|
sey |
The standard error of the regression for the y value. |
|
F |
The F statistic or F observed value for variance analysis. |
|
df |
The degrees of freedom from the variance analysis. |
|
ssreg |
The regression sum of squares. |
|
ssresid |
The residual sum of squares. |
Examples
|
Formula |
Result |
|
|
=LOGEST(A2:A6;B2:B6) |
1 |
2 |
|
=LOGEST(A2:A6;B2:B6;1;1) |
1 0.0276056716518 0.9859632134219 210.724130042779 1.60587192574654 |
2 0 0 3 0.0228621932204 |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|
Similar Functions