SAGA-GIS Tool Library Documentation (v8.2.1)

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.


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputPointsShapes, inputPOINTS--
PredictorGrid, inputPREDICTOR--
OutputResiduals (*)Shapes, output, optionalRESIDUALS--
RegressionGrid, outputREGRESSION--
Coefficient of Determination (*)Grid, output, optionalQUALITY--
Intercept (*)Grid, output, optionalINTERCEPT--
Slope (*)Grid, output, optionalSLOPE--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
Dependent VariableTable fieldDEPENDENT--
Logistic RegressionBooleanLOGISTIC-Default: 0
Weighting FunctionChoiceDW_WEIGHTING-Available Choices:
[0] no distance weighting
[1] inverse distance to a power
[2] exponential
[3] gaussian
Default: 0
PowerFloating pointDW_IDW_POWER-Minimum: 0.000000
Default: 2.000000
BandwidthFloating pointDW_BANDWIDTHBandwidth for exponential and Gaussian weightingMinimum: 0.000000
Default: 1.000000
Search RangeChoiceSEARCH_RANGE-Available Choices:
[0] local
[1] global
Default: 1
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: 1
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>] [-LOGISTIC <str>] [-DW_WEIGHTING <str>] [-DW_IDW_POWER <double>] [-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, output, optional
  -PREDICTOR:<str>        	Predictor
	Grid, input
  -REGRESSION:<str>       	Regression
	Grid, output
  -QUALITY:<str>          	Coefficient of Determination
	Grid, output, optional
  -INTERCEPT:<str>        	Intercept
	Grid, output, optional
  -SLOPE:<str>            	Slope
	Grid, output, optional
  -LOGISTIC:<str>         	Logistic Regression
	Boolean
	Default: 0
  -DW_WEIGHTING:<str>     	Weighting Function
	Choice
	Available Choices:
	[0] no distance weighting
	[1] inverse distance to a power
	[2] exponential
	[3] gaussian
	Default: 0
  -DW_IDW_POWER:<double>  	Power
	Floating point
	Minimum: 0.000000
	Default: 2.000000
  -DW_BANDWIDTH:<double>  	Bandwidth
	Floating point
	Minimum: 0.000000
	Default: 1.000000
  -SEARCH_RANGE:<str>     	Search Range
	Choice
	Available Choices:
	[0] local
	[1] global
	Default: 1
  -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: 1
  -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