Module Trend Analysis
- Author: O.Conrad (c) 2006
 
- Specification: grid
 
- Menu: Spatial and Geostatistics|Regression|Table
 
Parameters
|   | Name | Type | Identifier | Description | Constraints | 
| Input | Table | Table (input) | TABLE | - | - | 
| Output | Table (with Trend) (*) | Table (optional output) | TREND | - | - | 
| Options | X Values | Table field | FIELD_X | - | - | 
 | Y Values | Table field | FIELD_Y | - | - | 
 | Formula | Text | FORMULA | - | Default: m * x + b | 
 | Pre-defined Formulas | Choice | FORMULAS | - | 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 10 -TABLE <str> [-FIELD_X <str>] [-FIELD_Y <str>] [-FORMULA <str>] [-FORMULAS <str>] [-TREND <str>]
  -TABLE:<str>   	Table
	Table (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)