Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
ScientificErrorAnalysis[Covariance] - return the covariance between two quantities-with-error
Calling Sequence
Covariance( obj1, obj2 )
Parameters
obj1
-
quantity-with-error
obj2
Description
The Covariance( obj1, obj2 ) command returns the covariance between the quantities-with-error obj1 and obj2.
Either of the quantities-with-error obj1 and obj2 can have functional dependence on other quantities-with-error.
If neither of the quantities-with-error obj1 and obj2 has functional dependence on other quantities-with-error, the correlation between obj1 and obj2 is accessed and converted to the covariance.
The relationship between the correlation and covariance is
where and are the errors in and , respectively.
If either of the quantities-with-error obj1 and obj2 has functional dependence on other quantities-with-error, the covariance is calculated using the usual formula of error analysis involving a first-order expansion with the dependent forms and covariances between the other quantities-with-error. This process can be recursive.
The covariance between and , where depends on the , and depends on the , is
where is the covariance between and , and the partials are evaluated at the central values of the and .
Covariances involving physical constants are calculated naturally and correctly in the implied system of units because central values and errors are obtained from the interface to ScientificConstants.
Unusual cases are possible involving the covariance between the same physical constant in different systems of units, but correct results are obtained. In the case of a nonderived constant, the identical identifiers obtained from the interface to ScientificConstants cause Covariance to obtain the uncertainty from both objects. In the case of a derived constant, the general double summation of the error analysis formula is evaluated as usual (over the same functional form).
Examples
See Also
combine/errors, evalf, ScientificConstants, ScientificConstants[Constant], ScientificConstants[GetConstant], ScientificErrorAnalysis, ScientificErrorAnalysis and ScientificConstants, ScientificErrorAnalysis[GetCorrelation], ScientificErrorAnalysis[Quantity], ScientificErrorAnalysis[SetCorrelation], ScientificErrorAnalysis[Variance]
Download Help Document