[R] Weighted SD
Peter Ehlers
ehlers at ucalgary.ca
Mon Feb 1 19:13:51 CET 2010
Антон Морковин wrote:
> Dear all,
> what function can be used to calculate weighted SD or/and SE¿
>
> There's no such stuff in 'base' package.
There's wtd.var() in the Hmisc package. Or you could make
suitable use of stats::weighted.mean().
-Peter Ehlers
>
> Best regards,
> A.A.Morkovin
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Peter Ehlers
University of Calgary
More information about the R-help
mailing list