Top "Quantile" questions

Quantiles are points taken at regular intervals from the cumulative distribution function (CDF) of a random variable.

Pandas quantile failing with NaN's present

I've encountered an interesting situation while calculating the inter-quartile range. Assuming we have a dataframe such as: import pandas as …

python-2.7 pandas quantile
Replace outliers with column quantile in Pandas dataframe

I have a dataframe: df = pd.DataFrame(np.random.randint(0,100,size=(5, 2)), columns=list('AB')) A B 0 92 65 1 61 97 2 17 39 3 70 47 4 56 6 Here are 5% quantiles: down_…

python pandas dataframe quantile
Plot quantiles of distribution in ggplot2 with facets

I'm currently plotting a number of different distributions of first differences from a number of regression models in ggplot. To …

r ggplot2 quantile density-plot