SAGA-GIS Module Library Documentation (v2.2.3)

Module Principle Components Analysis

Principle Components Analysis (PCA) for grids. Implementation based on F. Murtagh's code as provided by the StatLib web site.

References:
Bahrenberg, G., Giese, E., Nipper, J. (1992): Statistische Methoden in der Geographie 2 - Multivariate Statistik. pp.198-277.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridsGrid list (input)GRIDS--
OutputPrinciple ComponentsGrid list (output)PCA--
Eigen Vectors (*)Table (optional output)EIGEN--
OptionsMethodChoiceMETHOD-Available Choices:
[0] correlation matrix
[1] variance-covariance matrix
[2] sums-of-squares-and-cross-products matrix
Default: 1
Number of ComponentsIntegerNFIRSTmaximum number of calculated first components; set to zero to get allMinimum: 0
Default: 3
(*) optional

Command-line

Usage: saga_cmd statistics_grid 8 [-GRIDS <str>] [-PCA <str>] [-EIGEN <str>] [-METHOD <str>] [-NFIRST <num>]
  -GRIDS:<str> 	Grids
	Grid list (input)
  -PCA:<str>   	Principle Components
	Grid list (output)
  -EIGEN:<str> 	Eigen Vectors
	Table (optional output)
  -METHOD:<str>	Method
	Choice
	Available Choices:
	[0] correlation matrix
	[1] variance-covariance matrix
	[2] sums-of-squares-and-cross-products matrix
	Default: 1
  -NFIRST:<num>	Number of Components
	Integer
	Minimum: 0
	Default: 3