Package edu.cmu.tetrad.search
Class DmPc
java.lang.Object
edu.cmu.tetrad.search.DmPc
The Detect-Mimic-PC (DM-PC) algorithm. This is intended to detect intermediate latent variables for Multiple Input *
 Multiple IndiCator (MIMIC) models. models. This implements a causal discovery algorithm for detecting and
 representing intermediate latent variables and their causal relationships in a dataset. The algorithm utilizes
 constraint-based causal discovery techniques, clustering, and structure refinement to build a causal graph that
 incorporates latent variables.
 
The class requires an `IndependenceTest` to perform statistical independence checks on variable pairs or groups, which is central to its operation.
- Author:
- murraywaters, josephramsey
- 
Constructor SummaryConstructorsConstructorDescriptionDmPc(IndependenceTest test) Constructs an instance of the DmPc class using the specified independence test.
- 
Method SummaryModifier and TypeMethodDescriptionsearch()Executes the Directed Maximal PC (DmPc) algorithm to identify a causal graph structure that represents the relationships between observed and latent variables.voidsetKnowledge(Knowledge knowledge) Sets the knowledge for the current instance.
- 
Constructor Details- 
DmPcConstructs an instance of the DmPc class using the specified independence test.- Parameters:
- test- An instance of the- IndependenceTestinterface, used to perform conditional independence tests as part of the algorithm.
 
 
- 
- 
Method Details- 
searchExecutes the Directed Maximal PC (DmPc) algorithm to identify a causal graph structure that represents the relationships between observed and latent variables. The method performs several steps including initialization, clustering, introducing latent nodes, refining edges, and final adjustments to produce the resultant graph.- Returns:
- A causal Graphthat represents the inferred structure of relationships among variables, incorporating both observed and latent variables.
 
- 
setKnowledgeSets the knowledge for the current instance. The provided knowledge is used in the context of the DmPc algorithm to guide the structure learning process by incorporating prior information or constraints.- Parameters:
- knowledge- An instance of the- Knowledgeclass that encapsulates domain-specific rules, constraints, or prior knowledge to be applied.
 
 
-