Back to Adaptive Vision Studio website
                
                    
	
		
	You are here: Start » Filter Reference » Regression Analysis » LinearRegression_LTE
Computes linear regression of given point set using Least Trimmed Error algorithm.
| Name | Type | Range | Description | |
|---|---|---|---|---|
![]()  | 
				inYValues | RealArray | Sequence of ordinates | |
![]()  | 
				inXValues | RealArray* | Sequence of abscissae, or {0, 1, 2, ...} by default | |
![]()  | 
				inSeedSubsetSize | Integer | 2 - 10 | Number of points in one combination for getting a sample line | 
![]()  | 
				inEvalSubsetSize | Integer* | 3 - ![]()  | 
				Number of closest points used for evaluation of a sample line, or Auto if seed points are to be used | 
![]()  | 
				outLinearFunction | LinearFunction | Linear function approximating the given point set | |
![]()  | 
				outEstimatedValues | RealArray | The result of application of the computed function to the X values | |
![]()  | 
				outResiduals | RealArray | Difference between an input Y value and the corresponding estimated value | |
![]()  | 
				outYInliers | RealArray | Coordinate of the inlying points of the best LTE line | |
![]()  | 
				outXInliers | RealArray | Coordinate of the inlying points of the best LTE line | |
![]()  | 
				outLTError | Real | The Least Trimmed Error | |
![]()  | 
				diagIterationCount | Integer | Number of combinations considered | |
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
| Error type | Description | 
|---|---|
| DomainError | Empty array of points in LinearRegression_LTE. | 
| DomainError | Inconsistent size of arrays in LinearRegression_LTE. | 
Complexity Level
This filter is available on Expert Complexity Level.
Filter Group
This filter is member of LinearRegression filter group.




