Compute quantiles using type = 6

Share:

Description

Front end to quantile, using type = 6 (appropriate for resampling)

Usage

1
Quantile(x, ..., type = 6)

Arguments

x

resample object, numerical object, or other object with a method for quantile.

...

Other arguments passed to quantile.

type

With type=6 and 99 observations, the k% quantile is the k'th smallest observation; this corresponds to equal probability above the largest observation, below the smallest observation, and between each pair of adjacent observations.

Details

This is a front end to quantile.

Value

A vector or matrix of quantiles.

Author(s)

Tim Hesterberg timhesterberg@gmail.com,
http://www.timhesterberg.net/bootstrap

See Also

quantile

Examples

1
2
quantile(1:9, .2)
Quantile(1:9, .2)