public class ExploratoryFactorAnalysis
extends java.lang.Object
Constructor and Description |
---|
ExploratoryFactorAnalysis(org.apache.commons.math3.linear.RealMatrix correlationMatrix,
int nFactors)
The constructor requires a correlation matrix and the number of factors.
|
Modifier and Type | Method and Description |
---|---|
void |
estimateParameters(EstimationMethod fm) |
void |
estimateParameters(EstimationMethod fm,
RotationMethod rotationMethod)
The main method for estimating parameters.
|
FactorMethod |
getFactorMethod()
Return s the factor method for obtaining values of the estimates and other information as indicated in the
FactorMethod interface.
|
java.lang.String |
printOutput() |
java.lang.String |
printOutput(int precision)
Formatted output of the results.
|
java.lang.String |
printOutput(java.lang.String title) |
java.lang.String |
printOutput(java.lang.String title,
int precision) |
void |
setVariableNameAt(int index,
java.lang.String name) |
void |
setVariableNameAt(int index,
VariableName variableName) |
public ExploratoryFactorAnalysis(org.apache.commons.math3.linear.RealMatrix correlationMatrix, int nFactors)
correlationMatrix
- correlation matrixnFactors
- number of factor to usepublic void estimateParameters(EstimationMethod fm, RotationMethod rotationMethod)
fm
- estimation method for computing factor loadingsrotationMethod
- method of rotating factor loadingspublic void setVariableNameAt(int index, VariableName variableName)
public void setVariableNameAt(int index, java.lang.String name)
public void estimateParameters(EstimationMethod fm)
public FactorMethod getFactorMethod()
public java.lang.String printOutput()
public java.lang.String printOutput(java.lang.String title)
public java.lang.String printOutput(java.lang.String title, int precision)
public java.lang.String printOutput(int precision)
precision
- number of decimal places to report