[SciPy-user] shortcut for weighted standard deviation?

josef.pktd@gmai... josef.pktd@gmai...
Tue May 12 07:48:52 CDT 2009


On Tue, May 12, 2009 at 4:56 AM, Christian Meesters <meesters@gmx.de> wrote:
> Hoi,
>
> Is there a shortcut for a weighted standard deviation somewhere in
> scipy/numpy - like numpy.average, which returns a weighted average upon
> request?
>
> If so, please forgive my naive question: I made a somewhat longer break
> using Python ...
>

Not that I know off, you have to calculate it yourself,
an implementation is attached to trac ticket
http://projects.scipy.org/scipy/ticket/604

More of the basic statistics using weights should make their way into
numpy/scipy, but are not included yet.

Josef


More information about the SciPy-user mailing list