SAGA-GIS Tool Library Documentation (v6.1.0)

Tool GWR for Single Predictor Grid

Geographically Weighted Regression for a single predictor supplied as grid, to which the regression model is applied. Further details can be stored optionally.
Reference:

Parameters

 NameTypeIdentifierDescriptionConstraints
InputPointsShapes (input)POINTS--
PredictorGrid (input)PREDICTOR--
OutputResiduals (*)Shapes (optional output)RESIDUALS--
RegressionGrid (output)REGRESSION--
Coefficient of Determination (*)Grid (optional output)QUALITY--
Intercept (*)Grid (optional output)INTERCEPT--
Slope (*)Grid (optional output)SLOPE--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEM--
Dependent VariableTable fieldDEPENDENT--
Weighting FunctionChoiceDW_WEIGHTING-Available Choices:
[0] no distance weighting
[1] inverse distance to a power
[2] exponential
[3] gaussian weighting
Default: 3
Inverse Distance Weighting PowerFloating pointDW_IDW_POWER-Minimum: 0.000000
Default: 1.000000
Inverse Distance OffsetBooleanDW_IDW_OFFSETCalculates weights for distance plus one, avoiding division by zero for zero distancesDefault: 1
Gaussian and Exponential Weighting BandwidthFloating pointDW_BANDWIDTH-Minimum: 0.000000
Default: 1.000000
Search RangeChoiceSEARCH_RANGE-Available Choices:
[0] local
[1] global
Default: 0
Maximum Search DistanceFloating pointSEARCH_RADIUSlocal maximum search distance given in map unitsMinimum: 0.000000
Default: 1000.000000
Number of PointsChoiceSEARCH_POINTS_ALL-Available Choices:
[0] maximum number of nearest points
[1] all points within search distance
Default: 0
MinimumIntegerSEARCH_POINTS_MINminimum number of points to useMinimum: 1
Default: 16
MaximumIntegerSEARCH_POINTS_MAXmaximum number of nearest pointsMinimum: 1
Default: 20
DirectionChoiceSEARCH_DIRECTION-Available Choices:
[0] all directions
[1] quadrants
Default: 0
(*) optional

Command-line

Usage: saga_cmd statistics_regression 4 [-POINTS <str>] [-DEPENDENT <str>] [-RESIDUALS <str>] [-PREDICTOR <str>] [-REGRESSION <str>] [-QUALITY <str>] [-INTERCEPT <str>] [-SLOPE <str>] [-DW_WEIGHTING <str>] [-DW_IDW_POWER <double>] [-DW_IDW_OFFSET <str>] [-DW_BANDWIDTH <double>] [-SEARCH_RANGE <str>] [-SEARCH_RADIUS <double>] [-SEARCH_POINTS_ALL <str>] [-SEARCH_POINTS_MIN <num>] [-SEARCH_POINTS_MAX <num>] [-SEARCH_DIRECTION <str>]
  -POINTS:<str>           	Points
	Shapes (input)
  -DEPENDENT:<str>        	Dependent Variable
	Table field
  -RESIDUALS:<str>        	Residuals
	Shapes (optional output)
  -PREDICTOR:<str>        	Predictor
	Grid (input)
  -REGRESSION:<str>       	Regression
	Grid (output)
  -QUALITY:<str>          	Coefficient of Determination
	Grid (optional output)
  -INTERCEPT:<str>        	Intercept
	Grid (optional output)
  -SLOPE:<str>            	Slope
	Grid (optional output)
  -DW_WEIGHTING:<str>     	Weighting Function
	Choice
	Available Choices:
	[0] no distance weighting
	[1] inverse distance to a power
	[2] exponential
	[3] gaussian weighting
	Default: 3
  -DW_IDW_POWER:<double>  	Inverse Distance Weighting Power
	Floating point
	Minimum: 0.000000
	Default: 1.000000
  -DW_IDW_OFFSET:<str>    	Inverse Distance Offset
	Boolean
	Default: 1
  -DW_BANDWIDTH:<double>  	Gaussian and Exponential Weighting Bandwidth
	Floating point
	Minimum: 0.000000
	Default: 1.000000
  -SEARCH_RANGE:<str>     	Search Range
	Choice
	Available Choices:
	[0] local
	[1] global
	Default: 0
  -SEARCH_RADIUS:<double> 	Maximum Search Distance
	Floating point
	Minimum: 0.000000
	Default: 1000.000000
  -SEARCH_POINTS_ALL:<str>	Number of Points
	Choice
	Available Choices:
	[0] maximum number of nearest points
	[1] all points within search distance
	Default: 0
  -SEARCH_POINTS_MIN:<num>	Minimum
	Integer
	Minimum: 1
	Default: 16
  -SEARCH_POINTS_MAX:<num>	Maximum
	Integer
	Minimum: 1
	Default: 20
  -SEARCH_DIRECTION:<str> 	Direction
	Choice
	Available Choices:
	[0] all directions
	[1] quadrants
	Default: 0