Stixbox Function

quantile - Empirical quantile (percentile).

Calling Sequence

q = quantile(x,p [,method])

Parameters

Description

the empirical quantile of the sample x, a value that is greater than p percent of the values in x.

If input x is a matrix then the quantile is computed for every column. If p is a vector then q is a matrix, each line contain the quantiles computed for a value of p.