Click or drag to resize

CPGUPCScores Method

Compute the principal component scores 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 PCScores(
	CPG pg_x,
	CPG pg_loadings,
	CPG pg_scores
)

public static void PCScores(
	CPG pg_x,
	CPG pg_loadings,
	CPG pg_scores
)

Parameters

pg_x
Type: GeoEngine.Core.GXNetCPG
Standardized data matrix (M by N)
pg_loadings
Type: GeoEngine.Core.GXNetCPG
Principal component loadings (input) (N by L, L<=N)
pg_scores
Type: GeoEngine.Core.GXNetCPG
Principal component scores (returned) (M by L, L<=N)
Remarks
t -1 Forms the product X Ap (Ap Ap), where X is the standardized data matrix, and Ap is the matrix of principal component loadings (see PCLoadings_PGU). The loadings must be input, and can be calculated by calling PCLoadings_PGU. Pagers and VVs must be type <define>GS_DOUBLE</define>.
See Also