LinRegSlopeArray2 (Function)

image\trumpet2.gif Disclaimer

Calculates the slope of a linear regression line from the values in two arrays (one with independent values and the other with dependent values).

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

Function

LinRegSlopeArray2(IndepArray, DepArray, ArraySize)

Parameters

Name

Type

Description

IndepArray

NumericArray

Specifies the numeric array of independent price points to evaluate.

DepArray

NumericArray

Specifies the numeric array of dependent price points to evaluate.

ArraySize

Numeric

Specifies the number of array elements to consider in the regression calculation

Returns

The slope of the linear regression line.

See Also

LinRegArray2