Package edu.cmu.tetrad.search
Class Ftfc
java.lang.Object
edu.cmu.tetrad.search.Ftfc
Implements the Find Two Factor Clusters (FOFC) algorithm, which uses reasoning about vanishing tetrads of algorithms
 to infer clusters of the measured variables in a dataset that each be explained by a single latent variable. The
 reference is as follows:
 
Kummerfeld, E. & Ramsey, J. & Yang, R. & Spirtes, P. & Scheines, R. (2014). Causal Clustering for 2-Factor Measurement Models. In T. Calders, F. Esposito, E. Hullermeier, and R. Meo, editors, Machine Learning and Knowledge Discovery in Databases, volume 8725 of Lecture Notes in Computer Science, pages 34-49. Springer Berlin Heidelberg.
The two-factor version of the algorithm substitutes sextad tests for tetrad tests and searches for clusters of at least 6 variables that can be explained by two latent factors by calculating vanishing sextads.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumGives the options to be used in FOFC to sort through the various possibilities for forming clusters to find the best options.
- 
Constructor SummaryConstructorsConstructorDescriptionFtfc(DataSet dataSet, Ftfc.Algorithm algorithm, double alpha) Conctructor.Ftfc(ICovarianceMatrix cov, Ftfc.Algorithm algorithm, double alpha) Conctructor.
- 
Method SummaryModifier and TypeMethodDescriptionReturns clusters output by the algorithm from the last call to search().search()Runs the search and returns a graph of clusters, each of which has two common latent parents.voidsetVerbose(boolean verbose) Sets whether verbose output should be printed.
- 
Constructor Details- 
FtfcConctructor.- Parameters:
- cov- The covariance matrix searched over.
- algorithm- The type of FOFC algorithm used.
- alpha- The alpha significance cutoff.
- See Also:
 
- 
FtfcConctructor.- Parameters:
- dataSet- The continuous dataset searched over.
- algorithm- The type of FOFC algorithm used.
- alpha- The alpha significance cutoff.
- See Also:
 
 
- 
- 
Method Details- 
searchRuns the search and returns a graph of clusters, each of which has two common latent parents.- Returns:
- This graph.
 
- 
getClustersReturns clusters output by the algorithm from the last call to search().- Returns:
- These clusters.
 
- 
setVerbosepublic void setVerbose(boolean verbose) Sets whether verbose output should be printed.- Parameters:
- verbose- True if the case.
 
 
-