SAGA-GIS Tool Library Documentation (v7.2.0)

Tool Polynomial Trend from 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 (input)Y_GRIDS--
Independent Variable (per Grid and Cell) (*)Grid list (optional input)X_GRIDS--
OutputPolynomial CoefficientsGrid list (output)COEFF--
Coefficient of Determination (*)Grid (optional output)R2--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEM--
Polynomial OrderIntegerORDER-Minimum: 1
Default: 1
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>] [-R2 <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)
  -R2:<str>     	Coefficient of Determination
	Grid (optional output)
  -ORDER:<num>  	Polynomial Order
	Integer
	Minimum: 1
	Default: 1
  -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 (optional input)