Set Correlation - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

ScientificErrorAnalysis

  

SetCorrelation

  

set the value of the correlation between two quantities-with-error

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

SetCorrelation( obj1, obj2, cc )

Parameters

obj1

-

quantity-with-error

obj2

-

quantity-with-error

cc

-

correlation coefficient

Description

• 

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.

Examples

withScientificErrorAnalysis:

aQuantity10.,1.:

bQuantity20.,1.:

combineab,errors

Quantity200.,22.36067977

(1)

SetCorrelationa,b,0.1

combineab,errors

Quantity200.,23.23790008

(2)

See Also

combine/errors

Create Maple Initialization File

ScientificErrorAnalysis

ScientificErrorAnalysis and ScientificConstants

ScientificErrorAnalysis[Covariance]

ScientificErrorAnalysis[GetCorrelation]

ScientificErrorAnalysis[Quantity]

ScientificErrorAnalysis[Variance]

 


Download Help Document