Crystal Reports for Eclipse Designer Guide

Covariance

Description
Covariance is the measure of the linear relation between paired variables (that is, the tendency of two fields to vary together).
Overloads
  • Covariance (fld, fld)
  • Covariance (fld, fld, condFld)
  • Covariance (fld, fld, condFld, cond)
  • Returns
    Fractional Number
    Action
    Covariance is the measure of the linear relation between paired variables (that is, the tendency of two fields to vary together). Fields are covariant when they vary according to a specific mathematical relationship. The circumference of a circle and the radius of a circle are covariant.
    Examples
    Covariance({table.FIELD1}, {table.FIELD2})
    Calculates the covariance of the two fields and returns the covariance as a fractional number.
    Using this function in a formula forces the formula to be evaluated at print time.
    For more information on evaluation time considerations, see Evaluation Time.
    Comments
    Covariance is calculated using the following technique:
  • It calculates the average (mean) value for the items in each sample.
  • It subtracts the average value from the value of each item, in both samples.
  • It multiplies the differences for each pair of items.
  • It calculates the average (mean) value for all the products of that multiplication. The result is the covariance.



  • SAP BusinessObjects
    http://www.sap.com/sapbusinessobjects/
    Support services
    http://service.sap.com/bosap-support/
    Product Documentation on the Web
    http://help.sap.com/