SAGA-GIS Tool Library Documentation (v9.2.0)

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