Previous Next


Correlation Property (RDKResults Object)

Description

Returns the correlation coefficient between an output (or an input) and another input. See the @RISK for Excel User's Manual for more information about correlations.

Syntax

object.Correlation(whichInput as Variant)

Arguments

whichInput (Required Variant) – the name, index, or reference of an input.

Return Value

(Double) – the correlation coefficient.

Example

'Retrieve the correlation coefficient between "myOutput" and "myInput"
coeff=RDKApp.Outputs("myOutput").Results.Correlation("myInput")