SAGA-GIS Tool Library Documentation (v7.2.0)

Tool Principal Component Analysis

Principal Component Analysis (PCA) for grids. PCA implementation is based on F.Murtagh's code as provided by the StatLib web site.


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridsGrid list (input)GRIDS--
OutputPrincipal ComponentsGrid list (output)PCA--
Eigen Vectors (*)Table (optional output)EIGEN--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEM--
MethodChoiceMETHOD-Available Choices:
[0] correlation matrix
[1] variance-covariance matrix
[2] sums-of-squares-and-cross-products matrix
Default: 1
Number of ComponentsIntegerCOMPONENTSnumber of first components in the output; set to zero to get allMinimum: 0
Default: 3
Overwrite Previous ResultsBooleanOVERWRITE-Default: 1
(*) optional

Command-line

Usage: saga_cmd statistics_grid 8 [-GRIDS <str>] [-PCA <str>] [-EIGEN <str>] [-METHOD <str>] [-COMPONENTS <num>] [-OVERWRITE <str>]
  -GRIDS:<str>     	Grids
	Grid list (input)
  -PCA:<str>       	Principal 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
  -COMPONENTS:<num>	Number of Components
	Integer
	Minimum: 0
	Default: 3
  -OVERWRITE:<str> 	Overwrite Previous Results
	Boolean
	Default: 1