Skip to content

Commit 85c79d2

Browse files
committed
Quantile text
1 parent 17a6110 commit 85c79d2

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

docs/manual.adoc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,3 +863,24 @@ provided, then the histogram automatically calculates the number of buckets, oth
863863
The values of a bucket can be obtained from the sizeByName method.
864864

865865
The width of each bucket is provided by the width method.
866+
867+
==== Quantile
868+
869+
The Quantile class provides a means of obtaining the p-quantile of a distribution of values, i.e., the value below which p-percent of the distribution lies.
870+
871+
----
872+
public class Quantile extends PrecisionHistogram
873+
{
874+
public Quantile ();
875+
public Quantile (double q) throws IllegalArgumentException;
876+
877+
public double getValue ();
878+
public double range ();
879+
880+
public void print ();
881+
};
882+
----
883+
884+
The p-quantile probability range must be specified when the object is instantiated, and can be obtained via the range method.
885+
886+
The actual quantile value is provided by getValue method.

0 commit comments

Comments
 (0)