Whole document tree
    

Whole document tree

LOGEST

LOGEST

Name

LOGEST -- 

Description

The LOGEST function applies the ``least squares'' method to fit an exponential curve of the form y = b * m{1}^x{1} * m{2}^x{2}... to your data.

If @known_x's is omitted, an array {1, 2, 3, ...} is used. LOGEST returns an array { m{n},m{n-1}, ...,m{1},b }.

If @known_y's and @known_x's have unequal number of data points, LOGEST returns #NUM! error.

If @const is FALSE, the line will be forced to go through (0,1),i.e., b will be one. The default is TRUE.

If @stat is TRUE, extra statistical information will be returned. Extra statistical information is written bellow the regression line coefficients in the result array. Extra statistical information consists of four rows of data. In the first row the standard error values for the coefficients m1, (m2, ...), b are represented. The second row contains the square of R and the standard error for the y estimate. The third row contains the F-observed value and the degrees of freedom. The last row contains the regression sum of squares and the residual sum of squares.

The default of @stat is FALSE.

Examples

See also

LOGEST, GROWTH, TREND.