[R] weighted standard deviation
Dirk Eddelbuettel
edd at debian.org
Mon Sep 22 19:52:56 CEST 2003
On Mon, Sep 22, 2003 at 05:12:07PM +0200, Uwe Ligges wrote:
> Schnitzler, Johannes wrote:
>
> >Dear all,
> >
> >is there an implemented function to compute a
> >weighted standard deviation (-like weighted.mean-) in R ?
>
> No, AFAIK. In particular, I'm interested in your definition of a
> weighted standard deviation (incl. a reference to that definition).
Frank Harrell's Hmisc has this, and more:
wtd.mean, wtd.var, wtd.quantile, wtd.ecdf, wtd.table, wtd.rank,
wtd.loess.noiter, num.denom.setup
Set of function for obtaining weighted estimates
Hth, Dirk
--
Those are my principles, and if you don't like them... well, I have others.
-- Groucho Marx
More information about the R-help
mailing list