I have a list of inter-arrival times and I am using scipy.stats.probplot to draw a probability plot (which is similar to a qq-plot). My data is in a list l
and I call
scipy.stats.probplot(l, dist=stats.expon)
How can I add a pointwise confidence envelope to the plot. A previous SO answer showed how to do this in R but I need to do it in python.
I tried statsmodels as well but it seems to have slightly less functionality than the scipy equivalent (for example it doesn't compute the R^2 error).