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

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Scientific Error Analysis : Commands : ScientificErrorAnalysis/SetCorrelation

ScientificErrorAnalysis[SetCorrelation] - set the value of the correlation between two quantities-with-error

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:

a:=Quantity10.,1.:

b:=Quantity20.,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

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam