Click or drag to resize
Histogram Class
Represents a histogram.
Inheritance Hierarchy

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: (
public sealed class Histogram

The Histogram type exposes the following members.

Public propertyAboveRangeBin
Gets a bin for all values above the histogram range.
Public propertyBelowRangeBin
Gets a bin for all values below the histogram range.
Public propertyBins
Gets a collection of histogram bins.
Public propertyRange
The range of values in the histogram.
Public propertyTotalCounts
Gets the total number of counts in the histogram.
Public methodAdd
Adds a new value to the histogram.
Public methodChiSquaredTest
Performs a χ2 test comparing the histogram to the given distribution.
Public methodClear
Sets all bin counts to zero.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

A histogram stores the number of occurances of a value (called the count) within a set of ranges (called bins). It is the natural system to store discrete univariate data. The natural system to store continuous univariate data is the Sample class, but often histograms are also used for continuous data, for example because there is too much data to record each value individually.

See Also