LinRegAngleArray2 (Function)

image\trumpet2.gif Disclaimer

Calculates the angle 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

LinRegAngleArray2(IndepArray, DepArray, ArraySz)

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.

ArraySz

Numeric

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

Returns

Returns the angle of the linear regression line.

See Also

LinRegArray2