SAGA-GIS Tool Library Documentation (v8.5.1)

Tool Cellwise Trend for Grids

Fits for each cell a polynomial trend function. Outputs are the polynomial coefficients for the polynomial trend function of chosen order.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputDependent VariablesGrid list, inputY_GRIDS--
Independent Variable (per Grid and Cell) (*)Grid list, input, optionalX_GRIDS--
OutputPolynomial CoefficientsGrid list, outputCOEFF--
Regression Coefficient (*)Grid, output, optionalR--
Determination Coefficient (*)Grid, output, optionalR2--
Adjusted Determination Coefficient (*)Grid, output, optionalR2ADJ--
Significance Level (*)Grid, output, optionalP--
Standard Error (*)Grid, output, optionalSTDERR--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
Linear TrendBooleanLINEAR-Default: 1
Polynomial OrderIntegerORDEROrder of the polynomial trend function.Minimum: 1
Default: 2
Get Independent Variable from ...ChoiceXSOURCE-Available Choices:
[0] list order
[1] table
[2] grid list
Default: 0
Independent Variable (per Grid)Static tableX_TABLE-1 Fields:
- 1. [8 byte floating point number] Value
(*) optional

Command-line

Usage: saga_cmd statistics_regression 9 [-Y_GRIDS <str>] [-COEFF <str>] [-R <str>] [-R2 <str>] [-R2ADJ <str>] [-P <str>] [-STDERR <str>] [-LINEAR <str>] [-ORDER <num>] [-XSOURCE <str>] [-X_TABLE <str>] [-X_GRIDS <str>]
  -Y_GRIDS:<str>	Dependent Variables
	Grid list, input
  -COEFF:<str>  	Polynomial Coefficients
	Grid list, output
  -R:<str>      	Regression Coefficient
	Grid, output, optional
  -R2:<str>     	Determination Coefficient
	Grid, output, optional
  -R2ADJ:<str>  	Adjusted Determination Coefficient
	Grid, output, optional
  -P:<str>      	Significance Level
	Grid, output, optional
  -STDERR:<str> 	Standard Error
	Grid, output, optional
  -LINEAR:<str> 	Linear Trend
	Boolean
	Default: 1
  -ORDER:<num>  	Polynomial Order
	Integer
	Minimum: 1
	Default: 2
  -XSOURCE:<str>	Get Independent Variable from ...
	Choice
	Available Choices:
	[0] list order
	[1] table
	[2] grid list
	Default: 0
  -X_TABLE:<str>	Independent Variable (per Grid)
	Static table
	1 Fields:
	- 1. [8 byte floating point number] Value
	
  -X_GRIDS:<str>	Independent Variable (per Grid and Cell)
	Grid list, input, optional