From erich.neuwirth at univie.ac.at  Thu Aug 25 23:35:45 2005
From: erich.neuwirth at univie.ac.at (Erich Neuwirth)
Date: Thu, 25 Aug 2005 23:35:45 +0200
Subject: [Rd] weigths in boxplot
In-Reply-To: <17163.8026.69287.789426@stat.math.ethz.ch>
References: <20050808192734.F0418A274@slim.kubism.ku.dk>	<4308B108.7030003@univie.ac.at>
	<17163.8026.69287.789426@stat.math.ethz.ch>
Message-ID: <430E39B1.2010209@univie.ac.at>

Martin,

Frank Harrell's Hmisc has weigthed variants of quite a few statistical
estimators, including quantiles. I never have look at
how efficiently this is implemented, but as far as I know
it works.

Erich




Martin Maechler wrote:
>>>>>>"Erich" == Erich Neuwirth <erich.neuwirth at univie.ac.at>
>>>>>>    on Sun, 21 Aug 2005 18:51:20 +0200 writes:
> 
> 
>     Erich> In R 2.2.0 density now can work with weighted
>     Erich> obesrvations.  It would be nice if boxplot also would
>     Erich> accept a weight parameter, then one could produce
>     Erich> consistent density estimators and boxplots.
> 
>     Erich> Could the developers consider adding this feature?
> 
> The first thing I'd want is  quantile() with weights --- which I
> personally find quite interesting and have wanted several times
> in the past --- not wanted enough to implement though.
> 
> I'm interested to hear of (or even see C or R implementations of)
> fast algorithms for "weight quantiles".  
> Code contributions are welcome too..
> 
> (And yes, I do know that boxplots are base on "hinges" rather than
>  quartiles but that's less interesting here.)
> 
> Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
> Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
> ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
> phone: +41-44-632-3408		fax: ...-1228			<><
> 


-- 
Erich Neuwirth, Didactic Center for Computer Science
University of Vienna
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-39902 Fax: +43-1-4277-9399



[Rd] weigths in boxplot
Erich Neuwirth