Robust Fitting Tool
R2026bInteractive robust regression
Description
The Robust Fitting tool fits an ordinary least-squares regression model and a robust regression model to data with a single predictor.
The tool displays a scatter plot of the data and the regression fit lines. Right-click any data point to see its least-squares leverage and robust weight. You can drag any data point to a new location and the tool updates the regression fits automatically.
Required Products
MATLAB®
Statistics and Machine Learning Toolbox™
Open the Robust Fitting Tool
MATLAB command prompt: Enter
robustdemo.
Examples
Programmatic Use
Version History
Introduced before R2006a



