public interface PCA
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
Vector |
cumulativeProportionVar()
Get the cumulative proportion of overall variance explained by the principal components
|
Matrix |
loadings()
Get the matrix of variable loadings.
|
Vector |
loadings(int i)
Get the loading vector of the i-th principal component.
|
Vector |
mean()
Get the sample means that were subtracted.
|
int |
nFactors()
Get the number of variables in the original data.
|
int |
nObs()
Get the number of observations in the original data; sample size.
|
Vector |
proportionVar()
Get the proportion of overall variance explained by each of the principal components.
|
double |
proportionVar(int i)
Get the proportion of overall variance explained by the i-th principal component.
|
Vector |
scale()
Get the scalings applied to each variable.
|
Matrix |
scores()
Get the scores of supplied data on the principal components.
|
Vector |
sdPrincipalComponent()
Get the standard deviations of the principal components.
|
double |
sdPrincipalComponent(int i)
Get the standard deviation of the i-th principal component.
|
Matrix |
X()
Get the (possibly centered and/or scaled) data matrix X used for the PCA.
|
int nObs()
int nFactors()
Vector mean()
Vector scale()
Matrix X()
Vector sdPrincipalComponent()
double sdPrincipalComponent(int i)
i - an index, counting from 1Matrix loadings()
Vector loadings(int i)
i - an index, counting from 1Vector proportionVar()
double proportionVar(int i)
i - an index, counting from 1Vector cumulativeProportionVar()
Matrix scores()