WebCab Probability and Statistics for COM v3.3 Demo

BasicStatistics.Percentile Method 

Calculates the interest-th percentile of the registered data set.

public double Percentile(
   int interest
);

Parameters

interest
The percentile of interest.

Remarks

Recall that the percentile is the value such that at least interest-percent of the data set items are less than or equal to this value, or equivalently if at least (100-interest) percent of the items are greater than or equal to this value. Note that, before this methods is called a data set should be registered by invoking the method SetDataSet.

Remarks:

  1. The 50-th percentile is the measure of centrality of a data set known as the median. The median can also be evaluated using Median.
  2. The 25-th, 50-th, 75-th percentiles are often referred to as the 1-st, 2-nd (median) and 3-rd quartile respectively. The term quartile refers to the fact that these three values will roughly divide the data set considered into four equal parts.

Exceptions

Exception TypeCondition
StatisticsExceptionThrown if no data set has been registered for the present instance of the class.

See Also

BasicStatistics Class | WebCab.COM.Statistics.Statistics Namespace