Klasse SignedBias


public class SignedBias extends Bias
Methods for calculating the bias/mean error and comparing signed values. See D. Wallach, Working with Dynamic Crop Models, p. 22 Calculation of bias is the same as for the Bias class. Comparison is different. Bias chooses the set with the smallest absolute value (the closest to 0), whereas SignedBias chooses the set with the smallest signed value (the closest to -Infinity). It can be used to select the maximum of simulated values by setting observed values to 0, having thus the maximal value when UnsignedBias is best.
Autor:
Gunther Krauss
  • Konstruktordetails

    • SignedBias

      public SignedBias()
  • Methodendetails

    • isBetter

      public boolean isBetter(double better, double worse)
      Beschreibung aus Klasse kopiert: ErrorCalculationMethod
      Checks if the first value is better than the second value with respect to the calcualtion method.
      Setzt außer Kraft:
      isBetter in Klasse Bias
      Parameter:
      better -
      worse -
      Gibt zurück:
      true if first value is better than second
    • getLabel

      public String getLabel()
      Beschreibung aus Klasse kopiert: ErrorCalculationMethod
      Gets the label of the calculation method
      Setzt außer Kraft:
      getLabel in Klasse Bias
      Gibt zurück:
      label
    • getDescription

      public String getDescription()
      Beschreibung aus Klasse kopiert: ErrorCalculationMethod
      Gets the full name or a short description of the error method
      Setzt außer Kraft:
      getDescription in Klasse Bias
      Gibt zurück:
      description or full name