Re: [R] Quantiles of weighted sample

2008-10-08 Thread Thomas Lumley
On Wed, 8 Oct 2008, Giovanni Petris wrote: I am wondering if there is a function in R that returns quantiles of a weighted sample, i.e., a set of values, each coming with a different weight. The function quantile() does that only for the case when the weights are all equal. In other words, I am

Re: [R] Quantiles of weighted sample

2008-10-08 Thread roger koenker
see http://www.nabble.com/weighted-quantiles-to19864562.html#a19865869 url:www.econ.uiuc.edu/~rogerRoger Koenker email[EMAIL PROTECTED]Department of Economics vox: 217-333-4558University of Illinois fax: 217-244-6678Champ

[R] Quantiles of weighted sample

2008-10-08 Thread Giovanni Petris
Hello! I am wondering if there is a function in R that returns quantiles of a weighted sample, i.e., a set of values, each coming with a different weight. The function quantile() does that only for the case when the weights are all equal. In other words, I am looking for a quantile function tha