SAGA-GIS Tool Library Documentation (v8.1.0)

Tool Multiple Regression Analysis (Grid and Predictor Grids)

Linear regression analysis of one grid as dependent and multiple grids as indepentent (predictor) variables. Details of the regression/correlation analysis will be saved to a table. Optionally the regression model is used to create a new grid with regression based values. The multiple regression analysis uses a forward selection procedure.


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputDependent VariableGrid, inputDEPENDENT--
PredictorsGrid list, inputPREDICTORS--
OutputRegressionGrid, outputREGRESSION--
Residuals (*)Grid, output, optionalRESIDUALS--
Details: Coefficients (*)Table, output, optionalINFO_COEFF--
Details: Model (*)Table, output, optionalINFO_MODEL--
Details: Steps (*)Table, output, optionalINFO_STEPS--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
Grid systemGrid systemDEPENDENT_GRIDSYSTEM--
ResamplingChoiceRESAMPLING-Available Choices:
[0] Nearest Neighbour
[1] Bilinear Interpolation
[2] Bicubic Spline Interpolation
[3] B-Spline Interpolation
Default: 3
Include X CoordinateBooleanCOORD_X-Default: 0
Include Y CoordinateBooleanCOORD_Y-Default: 0
MethodChoiceMETHOD-Available Choices:
[0] include all
[1] forward
[2] backward
[3] stepwise
Default: 3
Significance LevelFloating pointP_VALUESignificance level (aka p-value) as threshold for automated predictor selection, given as percentageMinimum: 0.000000
Maximum: 100.000000
Default: 5.000000
Cross ValidationChoiceCROSSVAL-Available Choices:
[0] none
[1] leave one out
[2] 2-fold
[3] k-fold
Default: 0
Cross Validation SubsamplesIntegerCROSSVAL_Knumber of subsamples for k-fold cross validationMinimum: 2
Default: 10
(*) optional

Command-line

Usage: saga_cmd statistics_regression 8 [-DEPENDENT <str>] [-PREDICTORS <str>] [-REGRESSION <str>] [-RESIDUALS <str>] [-INFO_COEFF <str>] [-INFO_MODEL <str>] [-INFO_STEPS <str>] [-RESAMPLING <str>] [-COORD_X <str>] [-COORD_Y <str>] [-METHOD <str>] [-P_VALUE <double>] [-CROSSVAL <str>] [-CROSSVAL_K <num>]
  -DEPENDENT:<str> 	Dependent Variable
	Grid, input
  -PREDICTORS:<str>	Predictors
	Grid list, input
  -REGRESSION:<str>	Regression
	Grid, output
  -RESIDUALS:<str> 	Residuals
	Grid, output, optional
  -INFO_COEFF:<str>	Details: Coefficients
	Table, output, optional
  -INFO_MODEL:<str>	Details: Model
	Table, output, optional
  -INFO_STEPS:<str>	Details: Steps
	Table, output, optional
  -RESAMPLING:<str>	Resampling
	Choice
	Available Choices:
	[0] Nearest Neighbour
	[1] Bilinear Interpolation
	[2] Bicubic Spline Interpolation
	[3] B-Spline Interpolation
	Default: 3
  -COORD_X:<str>   	Include X Coordinate
	Boolean
	Default: 0
  -COORD_Y:<str>   	Include Y Coordinate
	Boolean
	Default: 0
  -METHOD:<str>    	Method
	Choice
	Available Choices:
	[0] include all
	[1] forward
	[2] backward
	[3] stepwise
	Default: 3
  -P_VALUE:<double>	Significance Level
	Floating point
	Minimum: 0.000000
	Maximum: 100.000000
	Default: 5.000000
  -CROSSVAL:<str>  	Cross Validation
	Choice
	Available Choices:
	[0] none
	[1] leave one out
	[2] 2-fold
	[3] k-fold
	Default: 0
  -CROSSVAL_K:<num>	Cross Validation Subsamples
	Integer
	Minimum: 2
	Default: 10