Java org.apache.commons.math.stat.descriptive.rank Percentile fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math.stat.descriptive.rank Percentile fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math.stat.descriptive.rank Percentile.

The text is from its open source code.

Constructor

Percentile()
Constructs a Percentile with a default quantile value of 50.0.
Percentile(final double p)
Constructs a Percentile with the specific quantile value.
Percentile(Percentile original)
Copy constructor, creates a new Percentile identical to the original

Method

doubleevaluate(final double[] values, final double p)
Returns an estimate of the pth percentile of the values in the values array.
doubleevaluate(final double p)
Returns the result of evaluating the statistic over the stored data.
voidsetData(final double[] values)
voidsetQuantile(final double p)
Sets the value of the quantile field (determines what percentile is computed when evaluate() is called with no quantile argument).