Struct average::Quantile [] [src]

pub struct Quantile { /* fields omitted */ }

Estimate the p-quantile of a sequence of numbers ("population").

Methods

impl Quantile
[src]

[src]

Create a new p-quantile estimator.

Panics if p is not between 0 and 1.

[src]

Return the value of p for this p-quantile.

[src]

Estimate the p-quantile of the population.

Returns 0 for an empty sample.

[src]

Return the sample size.

[src]

Determine whether the sample is empty.

Trait Implementations

impl Debug for Quantile
[src]

[src]

Formats the value using the given formatter.

impl Clone for Quantile
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Quantile
[src]

[src]

Create a new median estimator.

impl Estimate for Quantile
[src]

[src]

Add an observation sampled from the population.

[src]

Estimate the statistic of the population.