SAGA-GIS Tool Library Documentation (v8.5.1)

Tool Regression Analysis (Points and Predictor Grid)

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


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputPredictorGrid, inputPREDICTOR--
ObservationsShapes, inputPOINTS--
OutputRegressionGrid, outputREGRESSION--
Residuals (*)Shapes, output, optionalRESIDUAL--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
Dependent VariableTable fieldATTRIBUTE--
ResamplingChoiceRESAMPLING-Available Choices:
[0] Nearest Neighbour
[1] Bilinear Interpolation
[2] Bicubic Spline Interpolation
[3] B-Spline Interpolation
Default: 3
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 [-PREDICTOR <str>] [-POINTS <str>] [-ATTRIBUTE <str>] [-REGRESSION <str>] [-RESIDUAL <str>] [-RESAMPLING <str>] [-METHOD <str>]
  -PREDICTOR:<str> 	Predictor
	Grid, input
  -POINTS:<str>    	Observations
	Shapes, input
  -ATTRIBUTE:<str> 	Dependent Variable
	Table field
  -REGRESSION:<str>	Regression
	Grid, output
  -RESIDUAL:<str>  	Residuals
	Shapes, output, optional
  -RESAMPLING:<str>	Resampling
	Choice
	Available Choices:
	[0] Nearest Neighbour
	[1] Bilinear Interpolation
	[2] Bicubic Spline Interpolation
	[3] B-Spline Interpolation
	Default: 3
  -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