SAGA-GIS Tool Library Documentation (v9.2.0)

Tool Multiple Regression Analysis (Points and Predictor Grids)

Linear regression analysis of point attributes with multiple grids. Details of the regression/correlation analysis will be saved to a table. The regression function is used to create a new grid with regression based values. The multiple regression analysis uses a forward selection procedure.


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputPredictorsgrid list, inputPREDICTORS--
Pointsshapes, inputPOINTS--
OutputDetails: Coefficients (*)table, output, optionalINFO_COEFF--
Details: Model (*)table, output, optionalINFO_MODEL--
Details: Steps (*)table, output, optionalINFO_STEPS--
Residuals (*)shapes, output, optionalRESIDUALS--
Regressiongrid, outputREGRESSIONregression model applied to predictor grids-
Regression with Residual Correction (*)grid, output, optionalREGRESCORRregression model applied to predictor grids with interpolated residuals added-
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
Include X CoordinatebooleanCOORD_X-Default: 0
Include Y CoordinatebooleanCOORD_Y-Default: 0
InterceptbooleanINTERCEPT-Default: 1
MethodchoiceMETHOD-Available Choices:
[0] include all
[1] forward
[2] backward
[3] stepwise
Default: 3
Significance Levelfloating point numberP_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 Subsamplesinteger numberCROSSVAL_Knumber of subsamples for k-fold cross validationMinimum: 2
Default: 10
Residual InterpolationchoiceRESIDUAL_COR-Available Choices:
[0] Multilevel B-Spline Interpolation
[1] Inverse Distance Weighted
Default: 0
(*) optional

Command-line

Usage: saga_cmd statistics_regression 1 [-PREDICTORS <str>] [-POINTS <str>] [-ATTRIBUTE <str>] [-INFO_COEFF <str>] [-INFO_MODEL <str>] [-INFO_STEPS <str>] [-RESIDUALS <str>] [-REGRESSION <str>] [-REGRESCORR <str>] [-RESAMPLING <str>] [-COORD_X <str>] [-COORD_Y <str>] [-INTERCEPT <str>] [-METHOD <str>] [-P_VALUE <double>] [-CROSSVAL <str>] [-CROSSVAL_K <num>] [-RESIDUAL_COR <str>]
  -PREDICTORS:<str>  	Predictors
	grid list, input
  -POINTS:<str>      	Points
	shapes, input
  -ATTRIBUTE:<str>   	Dependent Variable
	table field
  -INFO_COEFF:<str>  	Details: Coefficients
	table, output, optional
  -INFO_MODEL:<str>  	Details: Model
	table, output, optional
  -INFO_STEPS:<str>  	Details: Steps
	table, output, optional
  -RESIDUALS:<str>   	Residuals
	shapes, output, optional
  -REGRESSION:<str>  	Regression
	grid, output
  -REGRESCORR:<str>  	Regression with Residual Correction
	grid, 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
  -INTERCEPT:<str>   	Intercept
	boolean
	Default: 1
  -METHOD:<str>      	Method
	choice
	Available Choices:
	[0] include all
	[1] forward
	[2] backward
	[3] stepwise
	Default: 3
  -P_VALUE:<double>  	Significance Level
	floating point number
	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 number
	Minimum: 2
	Default: 10
  -RESIDUAL_COR:<str>	Residual Interpolation
	choice
	Available Choices:
	[0] Multilevel B-Spline Interpolation
	[1] Inverse Distance Weighted
	Default: 0