Class Ftfc

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

public class Ftfc 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 Details

    • Ftfc

      public Ftfc(DataSet dataSet, double alpha, int ess, SingleClusterPolicy policy)
      Constructs an instance of Ftfc.
      Parameters:
      dataSet - The dataset containing the variables and data from which the model will be built.
      alpha - The significance level used for statistical testing.
      ess - The equivalent sample size to be set.
      policy - The single cluster policy defining the strategy for cluster formation and analysis.
  • 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)
      Sets the verbose mode for the instance. When verbose is set to true, additional logging or detailed output may be enabled by the class.
      Parameters:
      verbose - A boolean flag indicating whether verbose mode should be enabled (true) or disabled (false).