 | 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
Syntaxpublic static void PCLoadings(
CPG pg_x,
CPG pg_loadings
)
public static void PCLoadings(
CPG pg_x,
CPG pg_loadings
)
Public Shared Sub PCLoadings (
pg_x As CPG,
pg_loadings As CPG
)
Public Shared Sub PCLoadings (
pg_x As CPG,
pg_loadings As CPG
)
public:
static void PCLoadings(
CPG^ pg_x,
CPG^ pg_loadings
)
public:
static void PCLoadings(
CPG^ pg_x,
CPG^ pg_loadings
)
static member PCLoadings :
pg_x : CPG *
pg_loadings : CPG -> unit
static member PCLoadings :
pg_x : CPG *
pg_loadings : CPG -> unit
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