Skip to main content
deleted 1 character in body
Source Link
kjetil b halvorsen
  • 82.8k
  • 32
  • 201
  • 663

You could try LTS regression: Least trimmed squares, https://en.wikipedia.org/wiki/Least_trimmed_squares. This is not first rejecting outliers, then fitting a regression, but effectively doing both at once, where outlier is defined as the points least fitting for the regression models. There is an implementation in the package mass (on CRAN) for R. There is no closed form solution for the estimators, a method resembling a genetic algorithm is used to give a close to optimal soultionsolution.

I think this is the closest fit for what you are asking for.

Note that robustness can mean many different things! and that my answer emphasizes robustness with respect to the $X$-space, that is, LTS can be useful in cases with low-quality data, where the data can contain some observations that really do not belong there, that do not correspond to the linear model you want to fit. Harrell's answeeranswer is the case with robustness with respect to $Y$-space, a different case. From your post we cannot really decide which fits your case, you must decide!

You could try LTS regression: Least trimmed squares, https://en.wikipedia.org/wiki/Least_trimmed_squares. This is not first rejecting outliers, then fitting a regression, but effectively doing both at once, where outlier is defined as the points least fitting for the regression models. There is an implementation in the package mass (on CRAN) for R. There is no closed form solution for the estimators, a method resembling a genetic algorithm is used to give a close to optimal soultion.

I think this is the closest fit for what you are asking for.

Note that robustness can mean many different things! and that my answer emphasizes robustness with respect to the $X$-space, that is, LTS can be useful in cases with low-quality data, where the data can contain some observations that really do not belong there, that do not correspond to the linear model you want to fit. Harrell's answeer is the case with robustness with respect to $Y$-space, a different case. From your post we cannot really decide which fits your case, you must decide!

You could try LTS regression: Least trimmed squares, https://en.wikipedia.org/wiki/Least_trimmed_squares. This is not first rejecting outliers, then fitting a regression, but effectively doing both at once, where outlier is defined as the points least fitting for the regression models. There is an implementation in the package mass (on CRAN) for R. There is no closed form solution for the estimators, a method resembling a genetic algorithm is used to give a close to optimal solution.

I think this is the closest fit for what you are asking for.

Note that robustness can mean many different things! and that my answer emphasizes robustness with respect to the $X$-space, that is, LTS can be useful in cases with low-quality data, where the data can contain some observations that really do not belong there, that do not correspond to the linear model you want to fit. Harrell's answer is the case with robustness with respect to $Y$-space, a different case. From your post we cannot really decide which fits your case, you must decide!

added 3 characters in body
Source Link
kjetil b halvorsen
  • 82.8k
  • 32
  • 201
  • 663

You could try LTS regression: Least trimmed squares, https://en.wikipedia.org/wiki/Least_trimmed_squares. This is not first rejecting outliers, then fitting a regression, but effectively doing both at once, where outlier is defined as the points least fitting for the reressionregression models. There is an implementation in the package mass (on CRAN) for R. There is no closed form solution for the estimators, a methosmethod resembling a genetic algorithm is used to give a close to optimal soultion.

I think this is the closest fit for what you are asking for.

Note that robustness cacan mean many different things! and that my answer emphasizes robustness with respect to the $X$-space, that is, LTS can be useful in cases with low-quality data, where tethe data can contain some observations that really do not belong there, that do not correspond to the linear model you want to fit. Harrell's answeer is the case with robustness with respect to $Y$-space, a different case. From your post we cannot really decide which fits your case, you must decide!

You could try LTS regression: Least trimmed squares, https://en.wikipedia.org/wiki/Least_trimmed_squares. This is not first rejecting outliers, then fitting a regression, but effectively doing both at once, where outlier is defined as the points least fitting for the reression models. There is an implementation in the package mass (on CRAN) for R. There is no closed form solution for the estimators, a methos resembling a genetic algorithm is used to give a close to optimal soultion.

I think this is the closest fit for what you are asking for.

Note that robustness ca mean many different things! and that my answer emphasizes robustness with respect to the $X$-space, that is, LTS can be useful in cases with low-quality data, where te data can contain some observations that really do not belong there, that do not correspond to the linear model you want to fit. Harrell's answeer is the case with robustness with respect to $Y$-space, a different case. From your post we cannot really decide which fits your case, you must decide!

You could try LTS regression: Least trimmed squares, https://en.wikipedia.org/wiki/Least_trimmed_squares. This is not first rejecting outliers, then fitting a regression, but effectively doing both at once, where outlier is defined as the points least fitting for the regression models. There is an implementation in the package mass (on CRAN) for R. There is no closed form solution for the estimators, a method resembling a genetic algorithm is used to give a close to optimal soultion.

I think this is the closest fit for what you are asking for.

Note that robustness can mean many different things! and that my answer emphasizes robustness with respect to the $X$-space, that is, LTS can be useful in cases with low-quality data, where the data can contain some observations that really do not belong there, that do not correspond to the linear model you want to fit. Harrell's answeer is the case with robustness with respect to $Y$-space, a different case. From your post we cannot really decide which fits your case, you must decide!

added 493 characters in body
Source Link
kjetil b halvorsen
  • 82.8k
  • 32
  • 201
  • 663

You could try LTS regression: Least trimmed squares, https://en.wikipedia.org/wiki/Least_trimmed_squares. This is not first rejecting outliers, then fitting a regression, but effectively doing both at once, where outlier is defined as the points least fitting for the reression models. There is an implementation in the package mass (on CRAN) for R. There is no closed form solution for the estimators, a methos resembling a genetic algorithm is used to give a close to optimal soultion.

I think this is the closest fit for what you are asking for.

Note that robustness ca mean many different things! and that my answer emphasizes robustness with respect to the $X$-space, that is, LTS can be useful in cases with low-quality data, where te data can contain some observations that really do not belong there, that do not correspond to the linear model you want to fit. Harrell's answeer is the case with robustness with respect to $Y$-space, a different case. From your post we cannot really decide which fits your case, you must decide!

You could try LTS regression: Least trimmed squares, https://en.wikipedia.org/wiki/Least_trimmed_squares. This is not first rejecting outliers, then fitting a regression, but effectively doing both at once, where outlier is defined as the points least fitting for the reression models. There is an implementation in the package mass (on CRAN) for R. There is no closed form solution for the estimators, a methos resembling a genetic algorithm is used to give a close to optimal soultion.

I think this is the closest fit for what you are asking for.

You could try LTS regression: Least trimmed squares, https://en.wikipedia.org/wiki/Least_trimmed_squares. This is not first rejecting outliers, then fitting a regression, but effectively doing both at once, where outlier is defined as the points least fitting for the reression models. There is an implementation in the package mass (on CRAN) for R. There is no closed form solution for the estimators, a methos resembling a genetic algorithm is used to give a close to optimal soultion.

I think this is the closest fit for what you are asking for.

Note that robustness ca mean many different things! and that my answer emphasizes robustness with respect to the $X$-space, that is, LTS can be useful in cases with low-quality data, where te data can contain some observations that really do not belong there, that do not correspond to the linear model you want to fit. Harrell's answeer is the case with robustness with respect to $Y$-space, a different case. From your post we cannot really decide which fits your case, you must decide!

Source Link
kjetil b halvorsen
  • 82.8k
  • 32
  • 201
  • 663
Loading