Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: smoothing quantiles

From   Nick Cox <>
To   "" <>
Subject   Re: st: smoothing quantiles
Date   Sat, 2 Apr 2011 08:13:00 +0100

One way of seeing what -hdquantile- does is, naturally, graphical.

sysuse auto
hdquantile mpg, gen(hdq_mpg)
qplot *mpg , c(. l) ms(Oh none)

where -qplot- is from SJ.

It seems curious to me that quantile smoothing is far less practised
than density estimation.


On Fri, Apr 1, 2011 at 5:50 PM, Nick cox <> wrote:

> I implemented one method in -hdquantile- from SSC.

> On 1 Apr 2011, at 17:43, László Sándor <> wrote:
>> Hi all,
>> I would like to plot smooth predicted quantiles with Stata 11.2 on
>> Unix (console).
>> My goal is to have something like what lowess is for the mean for the
>> yvar. Preferably, it would be nice to be able to plot multiple
>> quantiles in the same plot (e.g., all 3 quartiles). This would be a
>> useful way to summarize the distribution of a yvar across the values
>> of an xvar.
>> I'd rather not reinvent the wheel on this one --- I hope there is
>> something like this already out there (or built in), only I could not
>> find it.

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index