SAGA 9.4.2 | Tool Library Documentation

Regression Analysis (Points and Predictor Grid)


Description

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--
Residualsshapes, 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

Command Line


Usage: saga_cmd statistics_regression 0 [-PREDICTOR ] [-POINTS ] [-ATTRIBUTE ] [-REGRESSION ] [-RESIDUAL ] [-RESAMPLING ] [-METHOD ]
  -PREDICTOR: 	Predictor
	grid, input
  -POINTS:    	Observations
	shapes, input
  -ATTRIBUTE: 	Dependent Variable
	table field
  -REGRESSION:	Regression
	grid, output
  -RESIDUAL:  	Residuals
	shapes, output, optional
  -RESAMPLING:	Resampling
	choice
	Available Choices:
	[0] Nearest Neighbour
	[1] Bilinear Interpolation
	[2] Bicubic Spline Interpolation
	[3] B-Spline Interpolation
	Default: 3
  -METHOD:    	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