SAGA-GIS Tool Library Documentation (v6.1.0)

Tool Trend Analysis (Shapes)

Parameters

 NameTypeIdentifierDescriptionConstraints
InputShapesShapes (input)TABLE--
OutputTable (with Trend) (*)Table (optional output)TREND--
OptionsX ValuesTable fieldFIELD_X--
Y ValuesTable fieldFIELD_Y--
FormulaTextFORMULA-Default: m * x + b
Pre-defined FormulasChoiceFORMULAS-Available Choices:
[0] Linear: a + b * x
[1] Quadric: a + b * x + c * x^2
[2] Cubic: a + b * x + c * x^2 + d * x^3
[3] Logarithmic: a + b * ln(x)
[4] Power: a + b * x^c
[5] a + b / x
[6] a + b * (1 - exp(-x / c))
[7] a + b * (1 - exp(-(x / c)^2))
Default: 0
(*) optional

Command-line

Usage: saga_cmd statistics_regression 11 [-TABLE <str>] [-FIELD_X <str>] [-FIELD_Y <str>] [-FORMULA <str>] [-FORMULAS <str>] [-TREND <str>]
  -TABLE:<str>   	Shapes
	Shapes (input)
  -FIELD_X:<str> 	X Values
	Table field
  -FIELD_Y:<str> 	Y Values
	Table field
  -FORMULA:<str> 	Formula
	Text
	Default: m * x + b
  -FORMULAS:<str>	Pre-defined Formulas
	Choice
	Available Choices:
	[0] Linear: a + b * x
	[1] Quadric: a + b * x + c * x^2
	[2] Cubic: a + b * x + c * x^2 + d * x^3
	[3] Logarithmic: a + b * ln(x)
	[4] Power: a + b * x^c
	[5] a + b / x
	[6] a + b * (1 - exp(-x / c))
	[7] a + b * (1 - exp(-(x / c)^2))
	Default: 0
  -TREND:<str>   	Table (with Trend)
	Table (optional output)