SAGA-GIS Module Library Documentation (v2.1.3)

Module Regression Analysis (Points/Grid)

Regression analysis of point attributes with grid values. The regression function is used to create a new grid with regression based values.

Reference:
- Bahrenberg, G., Giese, E., Nipper, J. (1990): 'Statistische Methoden in der Geographie 1 - Univariate und bivariate Statistik', Stuttgart, 233p.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridGrid (input)GRID--
ShapesShapes (input)SHAPES--
OutputRegressionGrid (output)REGRESSION--
Residuals (*)Shapes (optional output)RESIDUAL--
OptionsAttributeTable fieldATTRIBUTE--
Grid InterpolationChoiceINTERPOL-Available Choices:
[0] Nearest Neighbor
[1] Bilinear Interpolation
[2] Inverse Distance Interpolation
[3] Bicubic Spline Interpolation
[4] B-Spline Interpolation
Default: 4
Regression FunctionChoiceMETHOD-Available Choices:
[0] Y = a + b * X (linear)
[1] Y = a + b / X
[2] Y = a / (b - X)
[3] Y = a * X^b (power)
[4] Y = a e^(b * X) (exponential)
[5] Y = a + b * ln(X) (logarithmic)
Default: 0
(*) optional

Command-line

Usage: saga_cmd statistics_regression 0 -GRID <str> -SHAPES <str> [-ATTRIBUTE <str>] [-REGRESSION <str>] [-RESIDUAL <str>] [-INTERPOL <str>] [-METHOD <str>]
  -GRID:<str>      	Grid
	Grid (input)
  -SHAPES:<str>    	Shapes
	Shapes (input)
  -ATTRIBUTE:<str> 	Attribute
	Table field
  -REGRESSION:<str>	Regression
	Grid (output)
  -RESIDUAL:<str>  	Residuals
	Shapes (optional output)
  -INTERPOL:<str>  	Grid Interpolation
	Choice
	Available Choices:
	[0] Nearest Neighbor
	[1] Bilinear Interpolation
	[2] Inverse Distance Interpolation
	[3] Bicubic Spline Interpolation
	[4] B-Spline Interpolation
	Default: 4
  -METHOD:<str>    	Regression Function
	Choice
	Available Choices:
	[0] Y = a + b * X (linear)
	[1] Y = a + b / X
	[2] Y = a / (b - X)
	[3] Y = a * X^b (power)
	[4] Y = a e^(b * X) (exponential)
	[5] Y = a + b * ln(X) (logarithmic)
	Default: 0