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. 
- Author: O.Conrad (c) 2011
 
- Menu: Spatial and Geostatistics|Regression
 
Parameters
|   | Name | Type | Identifier | Description | Constraints | 
| Input | Dependent Variables | Grid list, input | Y_GRIDS | - | - | 
 | Independent Variable (per Grid and Cell) (*) | Grid list, input, optional | X_GRIDS | - | - | 
| Output | Polynomial Coefficients | Grid list, output | COEFF | - | - | 
 | Determination Coefficient (*) | Grid, output, optional | R2 | - | - | 
 | Adjusted Determination Coefficient (*) | Grid, output, optional | R2ADJ | - | - | 
 | Standard Error (*) | Grid, output, optional | STDERR | - | - | 
 | Significance Level (*) | Grid, output, optional | P | - | - | 
| Options | Grid System | Grid system | PARAMETERS_GRID_SYSTEM | - | - | 
 | Linear Trend | Boolean | LINEAR | - | Default: 1 | 
 | Polynomial Order | Integer | ORDER | Order of the polynomial trend function. | Minimum: 1 Default: 2 | 
 | Get Independent Variable from ... | Choice | XSOURCE | - | Available Choices: [0] list order [1] table [2] grid list Default: 0 | 
 | Independent Variable (per Grid) | Static table | X_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>] [-R2ADJ <str>] [-STDERR <str>] [-P <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
  -R2:<str>     	Determination Coefficient
	Grid, output, optional
  -R2ADJ:<str>  	Adjusted Determination Coefficient
	Grid, output, optional
  -STDERR:<str> 	Standard Error
	Grid, output, optional
  -P:<str>      	Significance Level
	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