In reply to Hocine Tighiouart.

I looked at the doc, but I don't see any explanation of the computation of percentiles. However, I suspect you are correct. The doc indicates that the computation occurs on an evenly spaced grid in X, so interpolation from the CDF at the grid points is the obvious way to compute the percentiles.