[SciPy-user] shortcut for weighted standard deviation?

josef.pktd at gmail.com josef.pktd at gmail.com
Tue May 12 08:48:52 EDT 2009


On Tue, May 12, 2009 at 4:56 AM, Christian Meesters <meesters at 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