ScientificErrorAnalysis[GetCorrelation] - return the correlation between two quantities-with-error
|
Calling Sequence
|
|
GetCorrelation( obj1, obj2 )
|
|
Parameters
|
|
obj1
|
-
|
quantity-with-error
|
obj2
|
-
|
quantity-with-error
|
|
|
|
|
Description
|
|
•
|
The GetCorrelation( obj1, obj2 ) command returns the correlation coefficient between the quantities-with-error obj1 and obj2.
|
•
|
The returned correlation is in the range .
|
|
If obj1 and obj2 are the same, is returned.
|
|
If no correlation is defined between obj1 and obj2 (with SetCorrelation), is returned.
|
•
|
If either or both of the quantities-with-error obj1 and obj2 have functional dependence on other quantities-with-error, Covariance is used to calculate their relative covariance, which is then converted to the correlation coefficient.
|
|
The relationship between the covariance and correlation is
|
|
|
Download Help Document
Was this information helpful?