Cellwise Trend for Grids
- Author: O.Conrad (c) 2011
- Menu: Spatial and Geostatistics | Regression
Description
Fits for each cell a polynomial trend function. Outputs are the polynomial coefficients for the polynomial trend function of chosen order. 
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 | - | - | 
| Regression Coefficient | grid, output, optional | R | - | - | 
| Determination Coefficient | grid, output, optional | R2 | - | - | 
| Adjusted Determination Coefficient | grid, output, optional | R2ADJ | - | - | 
| Significance Level | grid, output, optional | P | - | - | 
| Standard Error | grid, output, optional | STDERR | - | - | 
| Options | Grid System | grid system | PARAMETERS_GRID_SYSTEM | - | - | 
| Linear Trend | boolean | LINEAR | - | Default: 1 | 
| Polynomial Order | integer number | 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 | 
Command Line
Usage: saga_cmd statistics_regression 9 [-Y_GRIDS ] [-COEFF ] [-R ] [-R2 ] [-R2ADJ ] [-P ] [-STDERR ] [-LINEAR ] [-ORDER ] [-XSOURCE ] [-X_TABLE ] [-X_GRIDS ]
  -Y_GRIDS:	Dependent Variables
	grid list, input
  -COEFF:  	Polynomial Coefficients
	grid list, output
  -R:      	Regression Coefficient
	grid, output, optional
  -R2:     	Determination Coefficient
	grid, output, optional
  -R2ADJ:  	Adjusted Determination Coefficient
	grid, output, optional
  -P:      	Significance Level
	grid, output, optional
  -STDERR: 	Standard Error
	grid, output, optional
  -LINEAR: 	Linear Trend
	boolean
	Default: 1
  -ORDER:  	Polynomial Order
	integer number
	Minimum: 1
	Default: 2
  -XSOURCE:	Get Independent Variable from ...
	choice
	Available Choices:
	[0] list order
	[1] table
	[2] grid list
	Default: 0
  -X_TABLE:	Independent Variable (per Grid)
	static table
	1 Fields:
	- 1. [8 byte floating point number] Value
	
  -X_GRIDS:	Independent Variable (per Grid and Cell)
	grid list, input, optional