[SciPy-User] Least median of squares for regression in scipy?

josef.pktd@gmai... josef.pktd@gmai...
Tue Aug 24 08:29:50 CDT 2010

On Tue, Aug 24, 2010 at 9:17 AM, Jorge Scandaliaris
<jorgesmbox-ml@yahoo.es> wrote:
> Hi,
> I have to perform a linear regression on noisy data. On the last paper I read
> least median of squares was suggested for dealing with outliers. I have searched
> the scipy docs but it seems nothing is readily available. Searching the web for
> "(python OR scipy OR numpy) least median square" doesn't yield meaningfull
> results. The best I found were fortran and matlab code, which I would need to
> wrap (I have zero knowledge about fortran or wrapping it into python, except
> that there's a tool called f2py, but I would have to learn that as well) or
> rewrite (I used matlab in the past, so this should be feasible).
> I am asking here in the hope there's something I overlooked before I jump into
> one of the (probably more time demanding) possibilities I mentioned above.

scikits.statsmodels has robust linear model estimators,  rlm


> Thanks in advance,
> Jorge
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user

More information about the SciPy-User mailing list