CORREL

Top  Previous  Next

Keyword Description

Correlation

Class

Function

Where Legal

Resources

Entry Logic

Exit Logic

Initial Size

Resize

(Pre-Category)

Resize

(Category-Level)

l

l

l

 

 

 

Syntax

CORREL[COLv,n,d]

Where v is an integer representing a COLumn number, 

n is an integer representing a pointer to a second COLn,

and d is the number of days in the study.

 

Example

Sample code

COL1 = OPEN         ' put some numbers in COL1

COL8 = CLOSE         ' put some different numbers in COL8

'8 points to the second column of interest (COL8 in this case)

COL2 = CORREL[COL1,8,5]

'compute the 5 bar correlation coefficient for the values in COL1 and COL8

Sample code

W = 8

COL1 = OPEN         ' put some numbers in COL1

COL8 = CLOSE         ' put some different numbers in COL8

'W points to the second column of interest (COL8 in this case)

COL2 = CORREL[COL1,W,5]

'compute the 5 bar correlation coefficient for the values in COL1 and COL8