quantilepercentiledolphindb# DolphinDB: the difference between percentile and quantile?

The functionality of `percentile`

and `quantile`

described in the DolphinDB user manual is similar. The main difference lies in the format of the input parameters, for example, `percentile(a, 25)`

and `quantile(a, 0.25)`

. Am I right in understanding this?

Solution

Yes. The `percentile`

function takes a percentage value (i.e., 25) as input, while `quantile`

takes a floating number (i.e., 0.25) as input.

Despite the only difference, the two functions return the same result. For example:

```
a=[6, 47, 49, 15, 42, 41, 7, 39, 43, 40, 36];
percentile(a, 50) //output: 40
quantile(a, 0.50)//output: 40
```

- Find percentile stats of a given column
- Quantiles of sums of independent discrete random variables
- Quantile functions in boost (C++)
- How do I create an array formatted string values from quantiles and their values?
- How to get quantiles to work with summarise_at and group_by (dplyr)
- Calculate what quantile a value is in a Polars column AKA Polars CDF
- Turning a quantile calculation output into a dataframe
- How do I calculate percentiles with python/numpy?
- What is the mathematical definition of the quantile transformation in xgboost.QuantileDMatrix?
- ggpredict and quartiles: predictions with only one data point?
- Numpy function to get the quantile that corresponds to a given value
- Finding quantile numerically in R
- Quantile function Julia vs Matlab
- Why does mgcviz not use the proper scatterplot for fitted QGAMs?
- List values in all rows and columns based on all unique values in another column to find 80th percentile value for each unique value
- How to select observations that are within a certain quantile
- Computing Quantile in MATLAB
- Get quantile for each value
- DolphinDB: the difference between percentile and quantile?
- Use 'global()' and 'quantile()' to compute the quantile values for a large raster map
- Python equivalent of Excel's PERCENTILE.EXC
- How can I create 1000 columns of random variables using each row's mean and SD
- How to flag tukey outliers using python pandas groupby
- what's the inverse of the quantile function on a pandas Series?
- Finding outliers in a scatter plot / pandas dataframe?
- Create this simple array
- How to detect values in table's column and subtract them to another column?
- Transform quantiles output into a table
- I only get 1s when I calculate quantiles
- Estimating quantile correlations with rolling window