Smooths in the PROBABILITY argument, not in x. The sample
quantile uses a single order statistic and therefore jumps as p
crosses i/n; this averages neighbouring order statistics with
kernel weights, which removes the jumps and reduces variance –
and the tails, where a single order statistic is a poor estimate,
are exactly where that matters.
Details
The weight on the i-th order statistic is the kernel mass of
((i-1)/n, i/n], computed as an exact difference of the
integrated kernel rather than by quadrature.
Not to be confused with morie_kernel_quantile(), which is
Horowitz's conditional quantile regression.
