We consider the problem of fitting a model of the form y = f (x, β) to a set of points (x i , y i ), i = 1,..., n. If there are measurement or observation errors in x as well as in y, we have the so called errors-in-variables-problem with model equation (1) $$ {y_i} = f\left( {{x_i} + {\delta _i},\beta } \right) + {\varepsilon _i},\left( {i = 1, \ldots ,n} \right) $$ where δ i ∈ ℝm, i = 1,..., n are the errors in x i ∈ ℝm. Then the problem is to find a vector of parameters β ∈ ℝ p that minimizes the errors ε i and δ i in some loss function subject to (1). We will present algorithms using more robust alternatives to the least squares criterion. Figure 1 gives examples where the least squares (L2), the least absolute deviation (L1) and the Huber criteria are used.