StdErrorArray2 (Function)

image\trumpet2.gif Disclaimer

The StdErrorArray2 function calculates the standard error (the predicted y-value) between two arrays.

Syntax

StdErrorArray2(IndepArray, DepArray, ArraySz)

Returns (Double)

The standard error estimate of two user declared arrays.

Parameters

Name

Type

Description

IndepArray

Numeric Array

Specifies the name of a numeric array containing independent values upon which the standard error is calculated.

DepArray

Numeric Array

Specifies the name of a numeric array containing dependent values upon which the standard error is calculated.

ArraySz

Numeric

Sets the number of data elements (size) in the array to evaluate.

Remarks

The standard error calculation is a measure of the standardized variation around the regression line, as based upon the specified arrays. This calculation provides an approximation of the accuracy of the regression line.

The value for the Size input parameter should always be a whole number greater than 0 and is typically equal to the number of data elements in the array.

The StdErrorArray function only works with one-dimensional arrays.

   The first element of the array that is used by this function is element 1. Element 0 of the array is not used.

Example

Assigns to Value1 the 20 bar standardized error of the specified arrays.

Array: myIndArray[20](0), myDepArray[20](0);

{… (assign values to array) }

Value1 = StdErrorArray2(myIndArray, myDepArray, 20);