SAGA 9.12.3 | Tool Documentation

Principal Component Analysis

Author(s) O.Conrad (c) 2010
Library IDstatistics_grid
Tool ID 8
Version 1.0
Menu Spatial and Geostatistics | Grids | Principal Components

Description

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

References

C-code by F.Murtagh

StatLib Web Site

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

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridsgrid list, inputGRIDS--
Eigen Vectorstable, input, optionalEIGEN_INPUTUse Eigen vectors from this table instead of calculating these from the input grids.-
OutputPrincipal Componentsgrid collection, outputCOLLECTION--
Principal Componentsgrid list, outputPCA--
Eigen Vectorstable, output, optionalEIGENStore calculated Eigen vectors to this table, e.g. for later use with forward or inverse PCA.-
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
OutputchoiceOUTPUT-Available Choices: [0] grid collection [1] single grids Default: 0
MethodchoiceMETHOD-Available Choices: [0] correlation matrix [1] variance-covariance matrix [2] sums-of-squares-and-cross-products matrix [3] variance-covariance matrix with normalized features Default: 1
Number of Componentsinteger numberCOMPONENTSnumber of first components in the output; set to zero to get allMinimum: 0 Default: 0

Command Line


Usage: saga_cmd statistics_grid 8 [-GRIDS ] [-OUTPUT ] [-COLLECTION ] [-PCA ] [-EIGEN_INPUT ] [-EIGEN ] [-METHOD ] [-COMPONENTS ]
  -GRIDS:         Grids
	grid list, input
  -OUTPUT:        Output
	choice
	Available Choices:
	[0] grid collection
	[1] single grids
	Default: 0
  -COLLECTION:    Principal Components
	grid collection, output
  -PCA:           Principal Components
	grid list, output
  -EIGEN_INPUT:   Eigen Vectors
	table, input, optional
  -EIGEN:         Eigen Vectors
	table, output, optional
  -METHOD:
                       Method
                       	choice
                       	Available Choices:
                       	[0] correlation matrix
                       	[1] variance-covariance matrix
                       	[2] sums-of-squares-and-cross-products matrix
                       	[3] variance-covariance matrix with normalized features
                       	Default: 1
  -COMPONENTS:    Number of Components
	integer number
	Minimum: 0
	Default: 0