Ton van den Heuvel Ton van den Heuvel - 1 year ago 424
Python Question

Where can I find mad (mean absolute deviation) in scipy?

It seems scipy once provided a function

to calculate the mean absolute deviation for a set of numbers:

However, I can not find it anywhere in current versions of scipy. Of course it is possible to just copy the old code from repository but I prefer to use scipy's version. Where can I find it, or has it been replaced or removed?

Answer Source

It looks like scipy.stats.models was removed in august 2008 due to insufficient baking. Development has migrated to statsmodels.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download