Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
An operator form of the Quantile function
ResourceFunction["QuantileOperator"][q] gives an operator for retrieving the qth quantile from data. | |
ResourceFunction["QuantileOperator"][q,{{a,b},{c,d}}] uses the quantile definition specified by parameters a,b,c,d. |
Create an operator that will find the halfway-value (median) of a List or statistical distribution:
In[1]:= | ![]() |
Out[1]= | ![]() |
Apply the operator to a List and a distribution:
In[2]:= | ![]() |
Out[2]= | ![]() |
Create an operator that computes lower and upper quartiles for whatever data it encounters, and then map it over multiple sets of data:
In[3]:= | ![]() |
Out[3]= | ![]() |
Create an Association in which the keys are various parameters to the Quantile function and the values are each a corresponding QuantileOperator:
In[4]:= | ![]() |
Out[4]= | ![]() |
Apply the different QuantileOperator expressions to the same data to see how the choice of parameters affects the outcome:
In[5]:= | ![]() |
Out[5]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License