public abstract class AbstractFactorMethod extends java.lang.Object implements FactorMethod
| Modifier and Type | Field and Description |
|---|---|
protected double[] |
communality |
protected double[][] |
factorLoading |
protected int |
nFactors |
protected int |
nParam |
protected int |
nVariables |
protected double[] |
proportionOfExplainedVariance |
protected double[] |
proportionOfVariance |
protected org.apache.commons.math3.linear.RealMatrix |
R |
protected RotationMethod |
rotationMethod |
protected double[] |
sumsOfSquares |
protected double[] |
uniqueness |
protected VariableName[] |
variableNames |
| Constructor and Description |
|---|
AbstractFactorMethod() |
| Modifier and Type | Method and Description |
|---|---|
double |
getCommunalityAt(int i)
Returns the communality (sum of squared factor laodings) for a variable.
|
double[][] |
getFactorLoading() |
double |
getFactorLoadingAt(int i,
int j)
Return a factor loading for a particular item.
|
double[] |
getLoadingsForFactorAt(int factorID)
Returns all factor loadings for a particular factor
|
double[] |
getLowerBounds()
Lower bounds of the parameters
|
double |
getProportionOfExplainedVarianceAt(int j)
Proportion of explained variance
|
double |
getProportionOfVarianceAt(int j)
Returns the proportion of total variance for a factor.
|
double |
getSumsOfSquaresAt(int j)
Sum of squared factor loading for a particular factor.
|
double |
getUniquenessAt(int i)
Returns the variabl's uniqueness (i.e.
|
double[] |
getUpperBounds()
Upper bound of the parameters
|
VariableName |
getVariableNameAt(int index)
Returns the name of the variable at index.
|
void |
setVariableNameAt(int index,
java.lang.String name) |
void |
setVariableNameAt(int index,
VariableName name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitestimateParametersprotected org.apache.commons.math3.linear.RealMatrix R
protected int nVariables
protected int nFactors
protected int nParam
protected RotationMethod rotationMethod
protected double[][] factorLoading
protected double[] uniqueness
protected double[] communality
protected double[] sumsOfSquares
protected double[] proportionOfVariance
protected double[] proportionOfExplainedVariance
protected VariableName[] variableNames
public double[] getLowerBounds()
public double[] getUpperBounds()
public double[][] getFactorLoading()
public double getFactorLoadingAt(int i,
int j)
FactorMethodgetFactorLoadingAt in interface FactorMethodi - variable index of the factor loadingj - factor index of the loadingpublic double[] getLoadingsForFactorAt(int factorID)
FactorMethodgetLoadingsForFactorAt in interface FactorMethodfactorID - position number of factor of interest.public double getUniquenessAt(int i)
FactorMethodgetUniquenessAt in interface FactorMethodi - variable index of the uniquenesspublic double getCommunalityAt(int i)
FactorMethodgetCommunalityAt in interface FactorMethodi - index of the variable for which the communality is sought.public double getSumsOfSquaresAt(int j)
FactorMethodgetSumsOfSquaresAt in interface FactorMethodj - index of the factor for which the computation is needed.public double getProportionOfExplainedVarianceAt(int j)
FactorMethodgetProportionOfExplainedVarianceAt in interface FactorMethodj - index of the factor for which the explained variance is computedpublic double getProportionOfVarianceAt(int j)
FactorMethodgetProportionOfVarianceAt in interface FactorMethodj - ndex of the factor for which the proportion of variance is computedpublic VariableName getVariableNameAt(int index)
FactorMethodgetVariableNameAt in interface FactorMethodindex - position (zero based) of variable for which name is sought.public void setVariableNameAt(int index,
VariableName name)
setVariableNameAt in interface FactorMethodpublic void setVariableNameAt(int index,
java.lang.String name)