Class PcMax
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.oracle.cpdag.PcMax
- All Implemented Interfaces:
Algorithm,LatentStructureAlgorithm,ReturnsBootstrapGraphs,TakesCovarianceMatrix,HasKnowledge,HasParameters,TakesIndependenceWrapper,TetradSerializable,Serializable
@Algorithm(name="PC-Max",
command="pc-max",
algoType=forbid_latent_common_causes)
@Deprecated(since="7.9",
forRemoval=false)
@Bootstrapping
public class PcMax
extends AbstractBootstrapAlgorithm
implements Algorithm, HasKnowledge, TakesIndependenceWrapper, ReturnsBootstrapGraphs, TakesCovarianceMatrix, LatentStructureAlgorithm
Deprecated.
PC-Max. This version of PC will orient unshielded colliders similarly to CPC, but instead of listing all subsets S
for X--Y--Z, !adj(X, Z), or adj(X) \ {Z} or adj(Z) \ {X} and seeing whether the facts X _||_ Z | S that test as true
contain or do not contain Y, we list the p-values for all of these facts and pick the S that maximizes the p-value to
do the unshielded collider orientations.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPcMax()Deprecated.Constructor for PcMax.PcMax(IndependenceWrapper test) Deprecated.Constructor for PcMax. -
Method Summary
Modifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Deprecated.Returns that graph that the result should be compared to.Deprecated.Returns the data type that the search requires, whether continuous, discrete, or mixed.Deprecated.Returns a short, one-line description of this algorithm.Deprecated.Returns the independence wrapper.Deprecated.Returns a knowledge object.Deprecated.Returns the list of parameter names that are used.voidDeprecated.Sets the independence wrapper.voidsetKnowledge(Knowledge knowledge) Deprecated.Sets a knowledge object.Methods inherited from class edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
getBootstrapGraphs, searchMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.cmu.tetrad.algcomparison.algorithm.ReturnsBootstrapGraphs
getBootstrapGraphs
-
Constructor Details
-
PcMax
public PcMax()Deprecated.Constructor for PcMax.
-
PcMax
Deprecated.Constructor for PcMax.
- Parameters:
test- aIndependenceWrapperobject
-
-
Method Details
-
getComparisonGraph
Deprecated.Returns that graph that the result should be compared to.- Specified by:
getComparisonGraphin interfaceAlgorithm- Parameters:
graph- The true directed graph, if there is one.- Returns:
- The comparison graph.
-
getDescription
Deprecated.Returns a short, one-line description of this algorithm. This will be printed in the report.- Specified by:
getDescriptionin interfaceAlgorithm- Returns:
- This description.
-
getDataType
Deprecated.Returns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
getDataTypein interfaceAlgorithm- Returns:
- This type.
-
getParameters
Deprecated.Returns the list of parameter names that are used. These are looked up in ParamMap, so if they're not- Specified by:
getParametersin interfaceHasParameters- Returns:
- Returns the list of parameter names that are used. These are looked up in ParamMap, so if they're not already defined they'll need to be defined there.
-
getKnowledge
Deprecated.Returns a knowledge object.- Specified by:
getKnowledgein interfaceHasKnowledge- Returns:
- a knowledge object.
-
setKnowledge
Deprecated.Sets a knowledge object.- Specified by:
setKnowledgein interfaceHasKnowledge- Parameters:
knowledge- a knowledge object.
-
getIndependenceWrapper
Deprecated.Returns the independence wrapper.- Specified by:
getIndependenceWrapperin interfaceTakesIndependenceWrapper- Returns:
- the independence wrapper.
-
setIndependenceWrapper
Deprecated.Sets the independence wrapper.- Specified by:
setIndependenceWrapperin interfaceTakesIndependenceWrapper- Parameters:
test- the independence wrapper.
-