Class Fofc

java.lang.Object
edu.cmu.tetrad.search.Fofc

public class Fofc extends Object
Generalized Find Factor Clusters (GFFC). This generalized FOFC and FTFC to first find clusters using pure 2-tads (pure tetrads) and then clusters using pure 3-tads (pure sextads) out of the remaining variables. We do not use an n-tad test here since we need to check rank, so we will check rank directly. (This is equivqalent to using the CCA n-tad test.)

Kummerfeld, E., & Ramsey, J. (2016, August). Causal clustering for 1-factor measurement models. In Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining (pp. 1655-1664).

Spirtes, P., Glymour, C. N., Scheines, R., & Heckerman, D. (2000). Causation, prediction, and search. MIT press.

Version:
$Id: $Id
Author:
erichkummerfeld, peterspirtes, josephramsey
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Fofc(DataSet dataSet, double alpha, int ess)
    Constructs an instance of the Fofc class using the given dataset, significance level, and equivalent sample size.
  • Method Summary

    Modifier and Type
    Method
    Description
    Runs the search and returns a graph of clusters with the ir respective latent parents.
    void
    setVerbose(boolean verbose)
    Setter for the field verbose.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Fofc

      public Fofc(DataSet dataSet, double alpha, int ess)
      Constructs an instance of the Fofc class using the given dataset, significance level, and equivalent sample size.
      Parameters:
      dataSet - The dataset from which the variables and correlation matrix will be extracted.
      alpha - The significance level for statistical calculations.
      ess - The equivalent sample size to use in certain scoring or prior computations.
  • Method Details

    • findClusters

      public Map<List<Integer>,Integer> findClusters()
      Runs the search and returns a graph of clusters with the ir respective latent parents.
      Returns:
      This a map from discovered clusters to their ranks.
    • setVerbose

      public void setVerbose(boolean verbose)

      Setter for the field verbose.

      Parameters:
      verbose - a boolean