LinRegSlopeArray (Function)

image\trumpet2.gif Disclaimer

Calculates the slope of the linear regression line based on the values of array elements.

  All array-based function calculations begin with array element 1.

Function

LinRegSlopeArray(PriceArray, Size)

Parameters

Name

Type

Description

PriceArray

NumericArray

A numeric array that calculations are based on.

Size

Numeric

A numeric expression representing the number of elements in the original array that have been used.

Returns

Returns the slope of the linear regression line, using an array.