Maths.Histogram
ReferencesA complete historgram for a data set.
Properties
LowerLimit
#Gets the lower limit of this histogram. This may differ from the Minimum if the histogram is forced to align with another one.
Indexers
Methods
BucketsAccordingToSturges
#Compute the ideal number of buckets according to Herbert A. Sturges in his paper 'The Choice Of A Class Interval' in doi:10.1080/01621459.1926.10502161
Create
#public static Maths.Histogram Create(IEnumerable<double> data, double lower, double upper, HowManyBuckets howManyBuckets)
Compute the histogram for a data set.
Parameters:
| data (IEnumerable<double>) | Data set. |
| lower (double) | Lower bound of first bucket. |
| upper (double) | Upper bound of last bucket. |
| howManyBuckets (Maths.HowManyBuckets) | Number of buckets. |
Create
#Compute the histogram for a data set with automatic bounds. This method enumerates the data set twice.
Parameters:
| data (IEnumerable<double>) | Data set. |
| howManyBuckets (Maths.HowManyBuckets) | Number of buckets. |
CreateMultiple
#public static Maths.Histogram[] CreateMultiple(IEnumerable<double>[] data, double lower, double upper, HowManyBuckets howManyBuckets)
Create multiple aligned histograms.
Parameters:
| data (IEnumerable<double>[]) | Multiple data sets. |
| lower (double) | Lower bound of first bucket. |
| upper (double) | Upper bound of last bucket. |
| howManyBuckets (Maths.HowManyBuckets) | Number of buckets. |
CreateMultiple
#public static Maths.Histogram[] CreateMultiple(IEnumerable<double>[] data, HowManyBuckets howManyBuckets)
Create multiple aligned histograms.
Parameters:
| data (IEnumerable<double>[]) | Multiple data sets. |
| howManyBuckets (Maths.HowManyBuckets) | Number of buckets. |
CreateMultiple
#Create multiple aligned histograms.
Parameters:
| data (IEnumerable<double>[]) | Multiple data sets. |