Package org

Class BioStatisticalCategoryDataset

All Implemented Interfaces:
ObjectInputValidation, Serializable, Cloneable, CategoryDataset, Dataset, KeyedValues2D, RangeInfo, StatisticalCategoryDataset, Values2D

public class BioStatisticalCategoryDataset
extends DefaultStatisticalCategoryDataset
implements RangeInfo
Author:
Christian Klukas (c) 2004 IPK-Gatersleben
See Also:
Serialized Form
  • Constructor Details

    • BioStatisticalCategoryDataset

      public BioStatisticalCategoryDataset​(float ttestMarkCircleSize)
  • Method Details

    • add

      public void add​(double mean, double standardDeviation, Comparable rowKey, Comparable columnKey, boolean ttestIsRef, boolean ttestIsDiff, String unit, String timeunit, boolean datasetWillBeShownWithStdDev, Color color1, Color color2, boolean showOnlyHalfErrorBar)
    • add

      public void add​(double mean, double standardDeviation, Comparable rowKey, Comparable columnKey, boolean ttestIsRef, boolean ttestIsDiff, String unit, String timeunit, boolean datasetWillBeShownWithStdDev, boolean showOnlyHalfErrorBar)
      Adds a mean, a standard deviation and the info about the t test to the table.
      Parameters:
      mean - the mean.
      standardDeviation - the standard deviation.
      rowKey - the row key.
      columnKey - the column key.
      ttestIsRef - True, if this is the reference, False if not
      ttestIsDiff - True, if the t test is done and H1 found to be probable, false if H0 is probable
      unit - The unit of the measurement e.g. mm
      timeunit - The time unit of the measurement e.g. day
    • getTTestIsRef

      public boolean getTTestIsRef​(int row, int column)
      Returns the true, if this is the reference sample or if no calculation is done. False, if it is no rerence sample. The case that no calculation is done can be recognized be calling getTTestIsH1, if this is also true, then no calculation is done (true, true : would make no sense).
      Parameters:
      row - the row index (zero-based).
      column - the column index (zero-based).
      Returns:
      True, if reference or no calculation is done for this sample/value.
    • getTTestIsH1

      public boolean getTTestIsH1​(int row, int column)
      Returns the true, if this is the reference sample or if no calculation is done. False, if it is no rerence sample. The case that no calculation is done can be recognized be calling getTTestIsH1, if this is also true, then no calculation is done (true, true : would make no sense).
      Parameters:
      row - the row index (zero-based).
      column - the column index (zero-based).
      Returns:
      True, if H1 is probable, False if H0 is probable, also True, if no calculation is done.
    • getTtestMarkCircleSize

      public float getTtestMarkCircleSize()
    • getRangeUnits

      public String getRangeUnits()
    • getDomainUnits

      public String getDomainUnits()
    • getMaximumRangeValue

      public Number getMaximumRangeValue()
      Description copied from class: DefaultStatisticalCategoryDataset
      Returns the maximum value in the dataset's range (or null if all the values in the range are null).
      Specified by:
      getMaximumRangeValue in interface RangeInfo
      Overrides:
      getMaximumRangeValue in class DefaultStatisticalCategoryDataset
      Returns:
      the maximum value.
    • getMinimumRangeValue

      public Number getMinimumRangeValue()
      Description copied from class: DefaultStatisticalCategoryDataset
      Returns the minimum value in the dataset's range (or null if all the values in the range are null).
      Specified by:
      getMinimumRangeValue in interface RangeInfo
      Overrides:
      getMinimumRangeValue in class DefaultStatisticalCategoryDataset
      Returns:
      the minimum value.
    • getColor1ForRowKey

      public Color getColor1ForRowKey​(Comparable rowKey)
    • getColor2ForRowKey

      public Color getColor2ForRowKey​(Comparable rowKey)