Den 31.05.2011 16:10, skrev Sturla Molden: > you want the minimize the sum of squares of weighted > errors: > > werror(x) = weight(error(x)) * error(x) One more thing: weight(error) is actually the square root of the robust weighting function, as we want to minimize the sum of robust_weight(error) * (error**2) Sturla