Click or drag to resize
FitResultCorrelationCoefficient Method
Gets the coefficient of correlation between two fit parameters.

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 3.1.0.0 (3.1.0.0)
Syntax
public double CorrelationCoefficient(
	int n,
	int m
)

Parameters

n
Type: SystemInt32
The (zero-based) number of the first parameter.
m
Type: SystemInt32
The (zero-based) number of the second parameter.

Return Value

Type: Double
The correlation coefficient between the two parameters.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionn or m is not within [0,Dimension-1].
Remarks

The correlation coefficient between two parameters is a re-scaling of their covariance to a number between -1 and 1 that indicates the strength of their correlation.

The correlation coefficient is also called the Pearson R coefficient.

See Also