views:

51

answers:

2

MATLAB has a magnificent robustfit function that solves the problem of excluding outliers with linear regression fitting. Is there anything similar written in Java or C (or in language X that could be adopted)?

A: 

Are you looking for an algorithm, a math library or a way to call matlab from java?

Arian
Whoops, that was supposed to be a comment.
Arian
I'm looking for "anything similar written in Java or C (or language X)". That is, an implementation that I could use in my programs.
Joonas Pulakka
+2  A: 

Numerical Recipes has an implementation of robust fit. It's written in C/C++, so you should be able to port it over to Java without too much trouble.

duffymo