Class FactorAnalysis
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.other.FactorAnalysis
- All Implemented Interfaces:
- Algorithm,- ReturnsBootstrapGraphs,- HasParameters,- TetradSerializable,- Serializable
Factor analysis.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Returns an undirected graph used for comparison.Returns the data type that the search requires, whether continuous, discrete, or mixed.Returns a short, one-line description of this algorithm.Retrieves the parameters for the current instance of theFactorAnalysisclass.runSearch(DataModel dataModel, Parameters parameters) Executes a factor analysis search on the given data model using the provided parameters.Methods inherited from class edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithmgetBootstrapGraphs, search
- 
Constructor Details- 
FactorAnalysispublic FactorAnalysis()Constructs a new instance of the algorithm.
 
- 
- 
Method Details- 
runSearchExecutes a factor analysis search on the given data model using the provided parameters.- Parameters:
- dataModel- The data model to perform the factor analysis on.
- parameters- The parameters for the factor analysis.
- Returns:
- The resulting graph after performing the factor analysis.
- Throws:
- IllegalArgumentException- If the data model is not a continuous dataset.
 
- 
getComparisonGraphReturns an undirected graph used for comparison.- Specified by:
- getComparisonGraphin interface- Algorithm
- Parameters:
- graph- The true directed graph, if there is one.
- Returns:
- The undirected graph for comparison.
 
- 
getDescriptionReturns a short, one-line description of this algorithm. This will be printed in the report.- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- The description of the algorithm.
 
- 
getDataTypeReturns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
- getDataTypein interface- Algorithm
- Returns:
- The data type required by the search.
 
- 
getParametersRetrieves the parameters for the current instance of theFactorAnalysisclass.- Specified by:
- getParametersin interface- HasParameters
- Returns:
- a list of strings representing the parameters for the factor analysis.
 
 
-