ScientificErrorAnalysis
SetCorrelation
set the value of the correlation between two quantities-with-error
Calling Sequence
Parameters
Description
Examples
SetCorrelation( obj1, obj2, cc )
obj1
-
quantity-with-error
obj2
cc
correlation coefficient
The SetCorrelation( obj1, obj2, cc ) command sets a correlation coefficient cc between the quantities-with-error obj1 and obj2 for the current session.
To set a correlation for all future Maple sessions, add the SetCorrelation command to your Maple initialization file. For more information, see Create Maple Initialization File.
The correlation cc must be in the range −1..1.
The quantities-with-error obj1 and obj2 must be distinct.
Neither of the quantities-with-error obj1 and obj2 can have functional dependence on other quantities-with-error.
with⁡ScientificErrorAnalysis:
a≔Quantity⁡10.,1.:
b≔Quantity⁡20.,1.:
combine⁡a⁢b,errors
Quantity⁡200.,22.36067977
SetCorrelation⁡a,b,0.1
Quantity⁡200.,23.23790008
See Also
combine/errors
Create Maple Initialization File
ScientificErrorAnalysis and ScientificConstants
ScientificErrorAnalysis[Covariance]
ScientificErrorAnalysis[GetCorrelation]
ScientificErrorAnalysis[Quantity]
ScientificErrorAnalysis[Variance]
Download Help Document