FactorAnalysisGetPercents Method |
Returns the cumulative percent of the total variance explained by
each principal component.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public double[] GetPercents()
Public Function GetPercents As Double()
public:
array<double>^ GetPercents()
member GetPercents : unit -> float[]
Return Value
Type:
Double
A
double array containing the total variance explained by each
principal component.
Exceptions Exception | Condition |
---|
RankException |
is thrown if the rank of the covariance matrix is less than the number of factors.
|
NotSemiDefiniteException |
is thrown if the Hessian matrix not semi-definite.
|
NotPositiveSemiDefiniteException |
is thrown if the covariance matrix is not positive semi-definite.
|
SingularException |
is thrown if the covariance matrix is singular.
|
BadVarianceException |
is thrown if the input variance is not in the allowed range.
|
EigenvalueException |
is thrown if an error occured in calculating the eigenvalues of the
adjusted (inverse) covariance matrix. Check the input covariance matrix.
|
NonPositiveEigenvalueException |
is thrown if in alpha factor analysis an eigenvalue is not positive.
As all eigenvalues corresponding to the factors must be positive,
either the number of factors must be reduced,
or new initial estimates for the unique variances must be given.
|
Remarks
Valid for the principal component model.
See Also