Click or drag to resize

CPGUPCLoadings Method

Compute the principal component loadings from the standardized data.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void PCLoadings(
	CPG pg_x,
	CPG pg_loadings
)

public static void PCLoadings(
	CPG pg_x,
	CPG pg_loadings
)

Parameters

pg_x
Type: GeoEngine.Core.GXNetCPG
Standardized data matrix (M by N)
pg_loadings
Type: GeoEngine.Core.GXNetCPG
Principal component loadings (N by N)
Remarks
Works on columns of the PG. Calculates the correlation matrix from the columns of the standardized data, then computes the eigen values and eigenvectors of the correlation matrix. The loadings are the eigenvectors, ordered by descending eigenvalues, scaled by the square root of the eigenvalues. The returned pager must be sized the same as the input pager. Correlations are performed using "<define>PGU_CORR_SIMPLE</define>", so if you want Pearson correlations, or wish to use a modified correlation matrix, use PCLoadings2_PGU and input the correlation matrix directly.
See Also