フィルターのクリア

Robust orthogonal or total least squares linear regression

7 ビュー (過去 30 日間)
Martina Boehme
Martina Boehme 2012 年 2 月 7 日
I am searching for a robust alternative for an orthogonal linear regression (or total least squares regression). I want to fit a line to 2D data, plot it in a x-y-graph together with the original data and calculate the slope of the fitted line, to use it for further calculations. I managed to use either a standart robust linear regression (robistfit) or a standart orthogonal regression (OrthLLS2D or wols), but not a combination of both. I also tried to use PCA (princomp), but there I do not manage to plot a line nor calculate the slope.
Thanks for any help! Martina

回答 (1 件)

Richard Willey
Richard Willey 2012 年 2 月 7 日
Unfortunately, Statistics Toolbox doesn't currently offer a robust version of PCA.
Your best option would probably be to use Optimization Toolbox and code up a custom objective function using an L1 norm.

カテゴリ

Help Center および File ExchangeDimensionality Reduction and Feature Extraction についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by