Uses of Interface
edu.cmu.tetrad.graph.Node
Packages that use Node
Package
Description
Contains classes for searching for (mostly structural) causal models given data.
Contains classes for various sorts of scores for running score-based algorithms.
Contains classes for running conditional independence tests for various sorts of data.
Contains some utility classes for search algorithms.
Contains some classes that aren't ready for prime time.
-
Uses of Node in edu.cmu.tetrad.algcomparison.score
Methods in edu.cmu.tetrad.algcomparison.score that return NodeModifier and TypeMethodDescriptionBdeuScore.getVariable
(String name) Returns the variable with the given name.ConditionalGaussianBicScore.getVariable
(String name) Returns the variable with the given name.DegenerateGaussianBicScore.getVariable
(String name) Returns the variable with the given name.DiscreteBicScore.getVariable
(String name) Returns the variable with the given name.EbicScore.getVariable
(String name) Returns the variable with the given name.FisherZScore.getVariable
(String name) Returns the variable with the given name.GicScores.getVariable
(String name) Returns the variable with the given name.MagSemBicScore.getVariable
(String name) Returns the variable with the given name.MSeparationScore.getVariable
(String name) Returns the variable with the given name.MVPBicScore.getVariable
(String name) Returns the variable with the given name.PoissonPriorScore.getVariable
(String name) Returns the variable with the given name.PositiveCorrScore.getVariable
(String name) Returns the variable with the given name.ScoreWrapper.getVariable
(String name) Returns the variable with the given name.SemBicScore.getVariable
(String name) Retrieves the variable with the given name from the data set.SemBicScoreDeterministic.getVariable
(String name) Retrieves the Node with the given name from the data set.ZhangShenBoundScore.getVariable
(String name) Retrieves the variable with the given name from the data set. -
Uses of Node in edu.cmu.tetrad.algcomparison.statistic
Methods in edu.cmu.tetrad.algcomparison.statistic with parameters of type NodeModifier and TypeMethodDescriptionboolean
NumDirectedEdgeNoMeasureAncestors.existsDirectedPathFromTo
(Graph graph, Node node1, Node node2) existsDirectedPathFromTo. -
Uses of Node in edu.cmu.tetrad.bayes
Methods in edu.cmu.tetrad.bayes that return NodeModifier and TypeMethodDescriptionstatic Node[]
GraphTools.getMaximumCardinalityOrdering
(Graph graph) Perform Tarjan and Yannakakis (1984) maximum cardinality search (MCS) to get the maximum cardinality ordering.BayesIm.getNode
(int nodeIndex) Returns the name of the given node.Returns the name of the given node.BayesPm.getNode
(int index) Returns the node at the given index.Returns the node by the given name.DirichletBayesIm.getNode
(int nodeIndex) Returns the name of the given node.getNode.Evidence.getNode
(int nodeIndex) getNode.MlBayesIm.getNode
(int nodeIndex) Retrieves the node at the specified index.getNode.MlBayesImObs.getNode
(int nodeIndex) Returns the name of the given node.getNode.UpdatedBayesIm.getNode
(int nodeIndex) Returns the name of the given node.getNode.BayesPm.getVariable
(Node node) Returns the variable for the given node.BayesProperties.getVariable
(String targetName) Returns the variable with the given name (assumed the target).Methods in edu.cmu.tetrad.bayes that return types with arguments of type NodeModifier and TypeMethodDescriptionGraphTools.getCliques
(Node[] ordering, Graph graph) Get cliques in a decomposable graph.GraphTools.getCliques
(Node[] ordering, Graph graph) Get cliques in a decomposable graph.GraphTools.getCliqueTree
(Node[] ordering, Map<Node, Set<Node>> cliques, Map<Node, Set<Node>> separators) getCliqueTree.GraphTools.getCliqueTree
(Node[] ordering, Map<Node, Set<Node>> cliques, Map<Node, Set<Node>> separators) getCliqueTree.BayesIm.getMeasuredNodes()
Returns the list of measured variables.BayesPm.getMeasuredNodes()
Returns the measured nodes.DirichletBayesIm.getMeasuredNodes()
getMeasuredNodes.MlBayesIm.getMeasuredNodes()
getMeasuredNodes.MlBayesImObs.getMeasuredNodes()
getMeasuredNodes.UpdatedBayesIm.getMeasuredNodes()
getMeasuredNodes.JunctionTreeAlgorithm.getNodes()
getNodes.Calculate separator sets in clique tree.Calculate separator sets in clique tree.BayesIm.getVariables()
Returns the list of variables.BayesImProbs.getVariables()
Getter for the fieldvariables
.BayesPm.getVariables()
getVariables.CellTableProbs.getVariables()
getVariables.DataSetProbs.getVariables()
getVariables.DirichletBayesIm.getVariables()
getVariables.DirichletDataSetProbs.getVariables()
getVariables.IntAveDataSetProbs.getVariables()
getVariables.MlBayesIm.getVariables()
getVariables.MlBayesImObs.getVariables()
getVariables.StoredCellProbs.getVariables()
Getter for the fieldvariables
.StoredCellProbsObs.getVariables()
Getter for the fieldvariables
.UpdatedBayesIm.getVariables()
getVariables.Evidence.getVariablesInEvidence()
getVariablesInEvidence.Methods in edu.cmu.tetrad.bayes with parameters of type NodeModifier and TypeMethodDescriptionstatic void
Apply Tarjan and Yannakakis (1984) fill in algorithm for graph triangulation.BayesPm.getCategory
(Node node, int index) Returns the index'th value for the given node.Evidence.getCategory
(Node node, int j) getCategory.int
BayesPm.getCategoryIndex
(Node node, String category) Returns the index of the given category for the given node.GraphTools.getCliques
(Node[] ordering, Graph graph) Get cliques in a decomposable graph.GraphTools.getCliqueTree
(Node[] ordering, Map<Node, Set<Node>> cliques, Map<Node, Set<Node>> separators) getCliqueTree.int
BayesIm.getNodeIndex
(Node node) Returns the index of the given node.int
DirichletBayesIm.getNodeIndex
(Node node) Returns the index of the given node.int
MlBayesIm.getNodeIndex
(Node node) Returns the index of the given node in the nodes array.int
MlBayesImObs.getNodeIndex
(Node node) Returns the index of the given node.int
UpdatedBayesIm.getNodeIndex
(Node node) Returns the index of the given node.int
BayesPm.getNumCategories
(Node node) Returns the number of values for the given node.double[][]
BdeMetricCache.getObservedCounts
(Node node, BayesPm bayesPm, BayesIm bayesIm) This method is used in testing and debugging and not in the BDe metric calculations.int
BdeMetricCache.getScoreCount
(Node node, Set<Node> parents) This is just for testing the operation of the inner class and the map from nodes and parent sets to scores.Calculate separator sets in clique tree.BayesPm.getVariable
(Node node) Returns the variable for the given node.double
Computes the BDe score, using the logarithm of the gamma function, relative to the data, of the factor determined by a node and its parents.void
BayesPm.setCategories
(Node node, List<String> categories) Sets the number of values for the given node to the given number.void
BayesPm.setNumCategories
(Node node, int numCategories) Sets the number of values for the given node to the given number.Method parameters in edu.cmu.tetrad.bayes with type arguments of type NodeModifier and TypeMethodDescriptionstatic StoredCellProbs
StoredCellProbs.createRandomCellTable
(List<Node> variables) createRandomCellTable.GraphTools.getCliqueTree
(Node[] ordering, Map<Node, Set<Node>> cliques, Map<Node, Set<Node>> separators) getCliqueTree.GraphTools.getCliqueTree
(Node[] ordering, Map<Node, Set<Node>> cliques, Map<Node, Set<Node>> separators) getCliqueTree.int
BdeMetricCache.getScoreCount
(Node node, Set<Node> parents) This is just for testing the operation of the inner class and the map from nodes and parent sets to scores.Calculate separator sets in clique tree.Calculate separator sets in clique tree.double
Computes the BDe score, using the logarithm of the gamma function, relative to the data, of the factor determined by a node and its parents.Constructor parameters in edu.cmu.tetrad.bayes with type arguments of type NodeModifierConstructorDescriptionStoredCellProbsObs
(List<Node> variables) Constructor for StoredCellProbsObs. -
Uses of Node in edu.cmu.tetrad.classify
Methods in edu.cmu.tetrad.classify that return types with arguments of type NodeModifier and TypeMethodDescriptionClassifierBayesUpdaterDiscrete.getBayesImVars()
Returns the variables of the BayesIM. -
Uses of Node in edu.cmu.tetrad.data
Subinterfaces of Node in edu.cmu.tetrad.dataModifier and TypeInterfaceDescriptioninterface
Interface implemented by classes, instantiations of which are capable of serving as variables for columns in a DataSet.Classes in edu.cmu.tetrad.data that implement NodeModifier and TypeClassDescriptionclass
Base class for variable specifications for DataSet.final class
Represents a real-valued variable.final class
Represents a discrete variable as a range of integer-valued categories 0, 1, ..., m - 1, where m is the number of categories for the variable.Methods in edu.cmu.tetrad.data that return NodeModifier and TypeMethodDescriptionHistogram.getTargetNode()
getTargetNode.BoxDataSet.getVariable
(int col) getVariable.BoxDataSet.getVariable
(String varName) getVariable.CorrelationMatrixOnTheFly.getVariable
(String name) getVariable.CovarianceMatrix.getVariable
(String name) getVariable.CovarianceMatrixOnTheFly.getVariable
(String name) getVariable.DataModel.getVariable
(String name) getVariable.DataModelList.getVariable
(String name) getVariable.DataSet.getVariable
(int column) getVariable.DataSet.getVariable
(String name) getVariable.ICovarianceMatrix.getVariable
(String name) getVariable.IndependenceFacts.getVariable
(String name) getVariable.NumberObjectDataSet.getVariable
(int col) getVariable.NumberObjectDataSet.getVariable
(String varName) getVariable.TimeSeriesData.getVariable
(String name) getVariable.abstract Node
Creates a new node of the same type as this one with the given name.Creates a new node of the same type as this one with the given name.Creates a new node of the same type as this one with the given name.Methods in edu.cmu.tetrad.data that return types with arguments of type NodeModifier and TypeMethodDescriptionDataUtils.createContinuousVariables
(String[] varNames) createContinuousVariables.DataTransforms.getConstantColumns
(DataSet dataSet) getConstantColumns.DataUtils.getExampleNonsingular
(ICovarianceMatrix covarianceMatrix, int depth) getExampleNonsingular.NumberObjectDataSet.getSelectedVariables()
getSelectedVariables.BoxDataSet.getVariables()
Getter for the fieldvariables
.CorrelationMatrixOnTheFly.getVariables()
Getter for the fieldvariables
.CovarianceMatrix.getVariables()
Getter for the fieldvariables
.CovarianceMatrixOnTheFly.getVariables()
Getter for the fieldvariables
.DataModelList.getVariables()
getVariables.DataSet.getVariables()
getVariables.ICovarianceMatrix.getVariables()
getVariables.IndependenceFacts.getVariables()
getVariables.NumberObjectDataSet.getVariables()
Getter for the fieldvariables
.TimeSeriesData.getVariables()
getVariables.VariableSource.getVariables()
Returns the list of variables associated with this object.Methods in edu.cmu.tetrad.data with parameters of type NodeModifier and TypeMethodDescriptionvoid
BoxDataSet.addVariable
(int index, Node variable) Adds the given variable at the given index.void
BoxDataSet.addVariable
(Node variable) Adds the given variable to the data set.void
DataSet.addVariable
(int index, Node variable) Adds the given variable at the given index.void
DataSet.addVariable
(Node variable) Adds the given variable to the data set.void
MixedDataBox.addVariable
(Node variable) addVariable.void
NumberObjectDataSet.addVariable
(int index, Node variable) Adds the given variable at the given index.void
NumberObjectDataSet.addVariable
(Node variable) Adds the given variable to the data set.void
BoxDataSet.changeVariable
(Node from, Node to) Changes the variable for the given column fromfrom
toto
.void
DataSet.changeVariable
(Node from, Node to) Changes the variable for the given column fromfrom
toto
.void
NumberObjectDataSet.changeVariable
(Node from, Node to) Changes the variable for the given column fromfrom
toto
.static void
DataTransforms.copyColumn
(Node node, DataSet source, DataSet dest) copyColumn.void
Discretizer.equalCounts
(Node node, int numCategories) Sets the given node to discretized using evenly distributed values using the given number of categories.void
Discretizer.equalIntervals
(Node node, int numCategories) Sets the given node to discretized using evenly spaced intervals using the given number of categories.int
getColumn.int
getColumn.int
getColumn.boolean
IndependenceFacts.isIndependent
(Node x, Node y, Node... z) isIndependent.boolean
IndependenceFacts.isIndependent
(Node x, Node y, Set<Node> z) isIndependent.int
Knowledge.isInWhichTier
(Node node) Returns the index of the tier of node if it's in a tier, otherwise -1.boolean
BoxDataSet.isSelected
(Node variable) isSelected.final boolean
CorrelationMatrixOnTheFly.isSelected
(Node variable) isSelected.final boolean
CovarianceMatrix.isSelected
(Node variable) isSelected.final boolean
CovarianceMatrixOnTheFly.isSelected
(Node variable) isSelected.boolean
DataSet.isSelected
(Node variable) isSelected.boolean
ICovarianceMatrix.isSelected
(Node variable) isSelected.boolean
NumberObjectDataSet.isSelected
(Node variable) isSelected.void
BoxDataSet.removeColumn
(Node variable) Removes the given variable, along with all of its data.void
DataSet.removeColumn
(Node variable) Removes the given variable, along with all of its data.void
NumberObjectDataSet.removeColumn
(Node variable) Removes the given variable, along with all of its data.final void
select.final void
select.final void
select.void
select.void
BoxDataSet.setSelected
(Node variable, boolean selected) Marks the given column as selected if 'selected' is true or deselected if 'selected' is false.void
DataSet.setSelected
(Node variable, boolean selected) Marks the given column as selected if 'selected' is true or deselected if 'selected' is false.void
NumberObjectDataSet.setSelected
(Node variable, boolean selected) Marks the given column as selected if 'selected' is true or deselected if 'selected' is false.static Matrix
subMatrix.static Matrix
subMatrix.static Matrix
subMatrix.static Matrix
subMatrix.Method parameters in edu.cmu.tetrad.data with type arguments of type NodeModifier and TypeMethodDescriptionboolean
IndependenceFacts.isIndependent
(Node x, Node y, Set<Node> z) isIndependent.void
Setter for the fieldnodes
.void
CorrelationMatrixOnTheFly.setVariables
(List<Node> variables) setVariables.void
CovarianceMatrix.setVariables
(List<Node> variables) setVariables.void
CovarianceMatrixOnTheFly.setVariables
(List<Node> variables) setVariables.void
ICovarianceMatrix.setVariables
(List<Node> variables) setVariables.static Matrix
subMatrix.static Matrix
subMatrix.static Matrix
subMatrix.static Matrix
subMatrix.static Matrix
subMatrix.static Matrix
subMatrix.BoxDataSet.subsetColumns
(List<Node> vars) Creates and returns a dataset consisting of those variables in the list vars.DataSet.subsetColumns
(List<Node> vars) Creates and returns a dataset consisting of those variables in the list vars.NumberObjectDataSet.subsetColumns
(List<Node> vars) Creates and returns a dataset consisting of those variables in the list vars.Constructor parameters in edu.cmu.tetrad.data with type arguments of type NodeModifierConstructorDescriptionBoxDataSet
(DataBox dataBox, List<Node> variables) Constructs a new data set with the given number of rows and columns, with all values set to missing.CorrelationMatrix
(List<Node> variables, Matrix matrix, int sampleSize) Constructs a correlation matrix data set using the given information.CovarianceMatrix
(List<Node> variables, double[][] matrix, int sampleSize) Constructor for CovarianceMatrix.CovarianceMatrix
(List<Node> variables, Matrix matrix, int sampleSize) Protected constructor to construct a new covariance matrix using the supplied continuous variables and the the given symmetric, positive definite matrix and sample size.Discretizer
(DataSet dataSet, Map<Node, DiscretizationSpec> specs) Constructor for Discretizer.MixedDataBox
(List<Node> variables, int numRows) The variables here are used only to determine which columns are discrete and which are continuous; bounds checking is not done.MixedDataBox
(List<Node> variables, int numRows, double[][] continuousData, int[][] discreteData) This constructor allows other data readers to populate the fields directly.NumberObjectDataSet
(Number[][] data, List<Node> variables) Constructor for NumberObjectDataSet. -
Uses of Node in edu.cmu.tetrad.graph
Classes in edu.cmu.tetrad.graph that implement NodeModifier and TypeClassDescriptionclass
Implements a basic node in a graph--that is, a node that is not itself a variable.Methods in edu.cmu.tetrad.graph that return NodeModifier and TypeMethodDescriptionstatic Node
GraphUtils.getAssociatedNode
(Node errorNode, Graph graph) Returns the associated node for the given error node in the specified graph.static Node
Edges.getDirectedEdgeHead
(Edge edge) For a directed edge, returns the node adjacent to the arrow endpoint.static Node
Edges.getDirectedEdgeTail
(Edge edge) For a directed edge, returns the node adjacent to the null endpoint.final Node
Edge.getDistalNode
(Node node) Traverses the edge in an undirected fashion--given one node along the edge, returns the node at the opposite end of the edge.SemGraph.getErrorNode
(Node node) getErrorNode.SemGraph.getExogenous
(Node node) getExogenous.NodePair.getFirst()
Getter for the fieldfirst
.Retrieves the node in the graph with the specified name.getNode.getNode.getNode.getNode.Retrieves a Node from the graph based on the given name.getNode.final Node
Edge.getNode1()
Getter for the fieldnode1
.final Node
Edge.getNode2()
Getter for the fieldnode2
.NodePair.getSecond()
Getter for the fieldsecond
.static Node
GraphUtils.getTrekSource
(Graph graph, List<Node> trek) This method returns the source node of a given trek in a graph.SemGraph.getVarNode
(Node node) getVarNode.IndependenceFact.getX()
Getter for the fieldx
.Triple.getX()
Getter for the fieldx
.IndependenceFact.getY()
Getter for the fieldy
.Triple.getY()
Getter for the fieldy
.Triple.getZ()
Getter for the fieldz
.Creates a new node of the same type as this one with the given name.Creates a new node of the same type as this one with the given name.static Node
If node is one endpoint of edge, returns the other endpoint.static Node
Edges.traverseDirected
(Node node, Edge edge) For A -> B, given A, returns B; otherwise returns null.static Node
Edges.traverseReverseDirected
(Node node, Edge edge) For A -> B, given B, returns A; otherwise returns null.static Node
Edges.traverseSemiDirected
(Node node, Edge edge) For A --* B or A o-* B, given A, returns B.static Node
GraphUtils.traverseSemiDirected
(Node node, Edge edge) Traverses a semi-directed edge to identify the next node in the traversal.Methods in edu.cmu.tetrad.graph that return types with arguments of type NodeModifier and TypeMethodDescriptionPaths.allDirectedPaths
(Node node1, Node node2, int maxLength) Finds all directed paths from node1 to node2 with a maximum length.Finds all paths from node1 to node2 within a specified maximum length.GraphUtils.anteriority
(Graph G, Node... x) Computes the anteriority of the given nodes in a graph.Paths.anteriority
(Node... X) Returns the set of nodes that are in the anteriority of the given nodes in the graph.Constructs a list of nodes from the givennodes
list at the given indices in that list.Converts an array of indices into a set of corresponding nodes from a given list of nodes.Converts the given array of nodes into a Set of nodes.Paths.connectedComponents()
Returns a list of connected components in the graph.Paths.directedPaths
(Node node1, Node node2, int maxLength) Finds all directed paths from node1 to node2 with a maximum length.Calculates the district of a given node in a graph.Dag.getAdjacentNodes
(Node node) Retrieves the adjacent nodes of a given node in the graph.EdgeListGraph.getAdjacentNodes
(Node node) getAdjacentNodes.Graph.getAdjacentNodes
(Node node) getAdjacentNodes.LagGraph.getAdjacentNodes
(Node node) getAdjacentNodes.SemGraph.getAdjacentNodes
(Node node) getAdjacentNodes.TimeLagGraph.getAdjacentNodes
(Node node) Retrieves a list of adjacent nodes for the given node.Paths.getAncestorMap()
Return a map from each node to its ancestors.Paths.getAncestorMap()
Return a map from each node to its ancestors.Paths.getAncestors
(Node node) Retrieves the ancestors of a specified `Node` in the graph.Paths.getAncestors
(List<Node> nodes) Returns a list of all ancestors of the given nodes.Dag.getChildren
(Node node) Retrieves the children of a specified Node in the graph.EdgeListGraph.getChildren
(Node node) getChildren.Graph.getChildren
(Node node) getChildren.LagGraph.getChildren
(Node node) getChildren.SemGraph.getChildren
(Node node) getChildren.TimeLagGraph.getChildren
(Node node) Returns a list of children nodes for the given node.Paths.getDescendants
(Node node) Returns a list of all descendants of the given node.Paths.getDescendants
(List<Node> nodes) Retrieves the descendants of the given list of nodes.SemGraph.getFullTierOrdering()
getFullTierOrdering.Paths.getInducingPath
(Node x, Node y) This method calculates the inducing path between two measured nodes in a graph.TimeLagGraph.getLag0Nodes()
Getter for the fieldlag0Nodes
.Paths.getMConnectedVars
(Node y, Set<Node> z) Retrieves the set of nodes that are connected to the given nodey
and are also present in the set of nodesz
.getMConnectedVars.Dag.getNodes()
getNodes.EdgeListGraph.getNodes()
getNodes.Graph.getNodes()
getNodes.LagGraph.getNodes()
getNodes.SemGraph.getNodes()
getNodes.TimeLagGraph.getNodes()
Retrieves a list of nodes from the graph.Dag.getNodesInTo
(Node node, Endpoint n) Retrieves a list of nodes in the given graph that have edges pointing into the specified node and endpoint.EdgeListGraph.getNodesInTo
(Node node, Endpoint endpoint) Nodes adjacent to the given node with the given proximal endpoint.Graph.getNodesInTo
(Node node, Endpoint n) Nodes adjacent to the given node with the given proximal endpoint.LagGraph.getNodesInTo
(Node node, Endpoint n) Nodes adjacent to the given node with the given proximal endpoint.SemGraph.getNodesInTo
(Node node, Endpoint endpoint) Nodes adjacent to the given node with the given proximal endpoint.TimeLagGraph.getNodesInTo
(Node node, Endpoint endpoint) Retrieves a list of nodes that have an incoming edge from a specific node and endpoint.Dag.getNodesOutTo
(Node node, Endpoint n) Retrieves a list of nodes that have outgoing edges to a specified node and endpoint.EdgeListGraph.getNodesOutTo
(Node node, Endpoint endpoint) Nodes adjacent to the given node with the given distal endpoint.Graph.getNodesOutTo
(Node node, Endpoint n) Nodes adjacent to the given node with the given distal endpoint.LagGraph.getNodesOutTo
(Node node, Endpoint n) Nodes adjacent to the given node with the given distal endpoint.SemGraph.getNodesOutTo
(Node node, Endpoint n) Nodes adjacent to the given node with the given distal endpoint.TimeLagGraph.getNodesOutTo
(Node node, Endpoint endpoint) Retrieves the list of nodes in a graph that have an outgoing edge to the given node and endpoint.Dag.getParents
(Node node) Retrieves the list of parent nodes for a given node in the graph.EdgeListGraph.getParents
(Node node) getParents.Graph.getParents
(Node node) getParents.LagGraph.getParents
(Node node) getParents.Paths.getParents
(List<Node> pi, int p, Graph g, boolean verbose, boolean allowSelectionBias) Returns the parents of the node at index p, calculated using Pearl's method.SemGraph.getParents
(Node node) getParents.TimeLagGraph.getParents
(Node node) Returns the list of parent nodes for the given node.Returns the sepset between two given nodes in the graph.getSepset.getSepset.getSepset.getSepset.getSepset.Retrieves the sepset of two nodes in the graph.Paths.getValidOrder
(List<Node> initialOrder, boolean forward) Returns a valid causal order for either a DAG or a CPDAG.IndependenceFact.getZ()
getZ.GraphUtils.markovBlanket
(Node x, Graph G) Returns a Markov blanket of a node for a DAG, CPDAG, MAG, or PAG.Paths.maxCliques()
Returns a set of all maximum cliques in the graph.GraphUtils.maximalCliques
(Graph graph, List<Node> nodes) Finds all maximal cliques in a given graph.Paths.possibleMsep
(Node x, Node y, int maxPathLength) possibleMsep.GraphUtils.replaceNodes
(List<Node> originalNodes, Graph graph) Converts the given list of nodes,originalNodes
, to use the replacement nodes for them by the same name in the givengraph
.GraphUtils.replaceNodes
(List<Node> originalNodes, List<Node> newNodes) Converts the given list of nodes,originalNodes
, to use the new variables (with the same names as the old).Paths.semidirectedPaths
(Node node1, Node node2, int maxLength) Finds all semi-directed paths between two nodes up to a maximum length.Finds all treks from node1 to node2 with a maximum length.Paths.treksIncludingBidirected
(Node node1, Node node2) Finds all possible treks between two nodes, including bidirectional treks.GraphUtils.visibleEdgeAdjustments1
(Graph G, Node x, Node y, int numSmallestSizes, GraphUtils.GraphType graphType) Calculates visual-edge adjustments given graph G between two nodes x and y that are subsets of MB(X).GraphUtils.visibleEdgeAdjustments3
(Graph G, Node x, Node y, int numSmallestSizes, GraphUtils.GraphType graphType) This method calculates visible-edge adjustments for a given graph, two nodes, a number of smallest sizes, and a graph type.GraphUtils.visualEdgeAdjustments2
(Graph G, Node x, Node y, int numSmallestSizes, GraphUtils.GraphType graphType) Calculates visual-edge adjustments of a given graph G between two nodes x and y that are subsets of MB(Y).Methods in edu.cmu.tetrad.graph with parameters of type NodeModifier and TypeMethodDescriptionvoid
Dag.addAmbiguousTriple
(Node x, Node y, Node z) Adds an ambiguous triple to the list of ambiguous triples.void
EdgeListGraph.addAmbiguousTriple
(Node x, Node y, Node z) addAmbiguousTriple.void
Graph.addAmbiguousTriple
(Node x, Node y, Node z) addAmbiguousTriple.void
LagGraph.addAmbiguousTriple
(Node x, Node y, Node z) addAmbiguousTriple.void
SemGraph.addAmbiguousTriple
(Node x, Node y, Node z) addAmbiguousTriple.void
TimeLagGraph.addAmbiguousTriple
(Node x, Node y, Node z) Adds an ambiguous triple to the list of ambiguous triples.void
Underlines.addAmbiguousTriple
(Node x, Node y, Node z) addAmbiguousTriple.boolean
Dag.addBidirectedEdge
(Node node1, Node node2) Adds a bidirectional edge between two nodes.boolean
EdgeListGraph.addBidirectedEdge
(Node node1, Node node2) Adds a bidirected edges <-> to the graph.boolean
Graph.addBidirectedEdge
(Node node1, Node node2) Adds a bidirected edges <-> to the graph.boolean
LagGraph.addBidirectedEdge
(Node node1, Node node2) Adds a bidirected edges <-> to the graph.boolean
SemGraph.addBidirectedEdge
(Node nodeA, Node nodeB) Adds a bidirected edges <-> to the graph.boolean
TimeLagGraph.addBidirectedEdge
(Node node1, Node node2) Adds a bidirected edge between two nodes.boolean
Dag.addDirectedEdge
(Node node1, Node node2) Adds a directed edge between two nodes.boolean
EdgeListGraph.addDirectedEdge
(Node node1, Node node2) Adds a directed edge --> to the graph.boolean
Graph.addDirectedEdge
(Node node1, Node node2) Adds a directed edge --> to the graph.boolean
LagGraph.addDirectedEdge
(Node node1, Node node2) Adds a directed edge --> to the graph.boolean
SemGraph.addDirectedEdge
(Node nodeA, Node nodeB) Adds a directed edge --> to the graph.boolean
TimeLagGraph.addDirectedEdge
(Node node1, Node node2) Adds a directed edge between two nodes to the graph.void
Dag.addDottedUnderlineTriple
(Node x, Node y, Node z) Adds a dotted underline triple to the graph.void
EdgeListGraph.addDottedUnderlineTriple
(Node x, Node y, Node z) addDottedUnderlineTriple.void
Graph.addDottedUnderlineTriple
(Node x, Node y, Node z) addDottedUnderlineTriple.void
LagGraph.addDottedUnderlineTriple
(Node x, Node y, Node z) addDottedUnderlineTriple.void
SemGraph.addDottedUnderlineTriple
(Node x, Node y, Node z) addDottedUnderlineTriple.void
TimeLagGraph.addDottedUnderlineTriple
(Node x, Node y, Node z) Adds a triple with dotted underline to the list of triples.void
Underlines.addDottedUnderlineTriple
(Node x, Node y, Node z) addDottedUnderlineTriple.boolean
Adds a Node to the graph.boolean
Adds a node to the graph.boolean
Adds a node to the graph.boolean
Adds a node to the graph.boolean
Adds a node to the graph.boolean
Adds a node to the graph.boolean
Dag.addNondirectedEdge
(Node node1, Node node2) Adds a nondirected edge between two nodes in the graph.boolean
EdgeListGraph.addNondirectedEdge
(Node node1, Node node2) Adds a nondirected edges o-o to the graph.boolean
Graph.addNondirectedEdge
(Node node1, Node node2) Adds a nondirected edges o-o to the graph.boolean
LagGraph.addNondirectedEdge
(Node node1, Node node2) Adds a nondirected edges o-o to the graph.boolean
SemGraph.addNondirectedEdge
(Node nodeA, Node nodeB) Adds a nondirected edges o-o to the graph.boolean
TimeLagGraph.addNondirectedEdge
(Node node1, Node node2) Adds a nondirected edge between two nodes.boolean
Dag.addPartiallyOrientedEdge
(Node node1, Node node2) Adds a partially oriented edge between two nodes.boolean
EdgeListGraph.addPartiallyOrientedEdge
(Node node1, Node node2) Adds a partially oriented edge o-> to the graph.boolean
Graph.addPartiallyOrientedEdge
(Node node1, Node node2) Adds a partially oriented edge o-> to the graph.boolean
LagGraph.addPartiallyOrientedEdge
(Node node1, Node node2) Adds a partially oriented edge o-> to the graph.boolean
SemGraph.addPartiallyOrientedEdge
(Node nodeA, Node nodeB) Adds a partially oriented edge o-> to the graph.boolean
TimeLagGraph.addPartiallyOrientedEdge
(Node node1, Node node2) Adds a partially oriented edge between two given nodes.void
Dag.addUnderlineTriple
(Node x, Node y, Node z) Adds an underline triple to the current object.void
EdgeListGraph.addUnderlineTriple
(Node x, Node y, Node z) addUnderlineTriple.void
Graph.addUnderlineTriple
(Node x, Node y, Node z) addUnderlineTriple.void
LagGraph.addUnderlineTriple
(Node x, Node y, Node z) addUnderlineTriple.void
SemGraph.addUnderlineTriple
(Node x, Node y, Node z) addUnderlineTriple.void
TimeLagGraph.addUnderlineTriple
(Node x, Node y, Node z) Adds an underline triple consisting of three nodes to the graph.void
Underlines.addUnderlineTriple
(Node x, Node y, Node z) addUnderlineTriple.boolean
Dag.addUndirectedEdge
(Node node1, Node node2) Adds an undirected edge between two nodes.boolean
EdgeListGraph.addUndirectedEdge
(Node node1, Node node2) Adds an undirected edge --- to the graph.boolean
Graph.addUndirectedEdge
(Node node1, Node node2) Adds an undirected edge --- to the graph.boolean
LagGraph.addUndirectedEdge
(Node node1, Node node2) Adds an undirected edge --- to the graph.boolean
SemGraph.addUndirectedEdge
(Node nodeA, Node nodeB) Adds an undirected edge --- to the graph.boolean
TimeLagGraph.addUndirectedEdge
(Node node1, Node node2) Adds an undirected edge between two nodes.Paths.allDirectedPaths
(Node node1, Node node2, int maxLength) Finds all directed paths from node1 to node2 with a maximum length.Finds all paths from node1 to node2 within a specified maximum length.GraphUtils.anteriority
(Graph G, Node... x) Computes the anteriority of the given nodes in a graph.Paths.anteriority
(Node... X) Returns the set of nodes that are in the anteriority of the given nodes in the graph.Converts the given array of nodes into a Set of nodes.static Edge
Edges.bidirectedEdge
(Node nodeA, Node nodeB) Constructs a new bidirected edge from nodeA to nodeB (<->).default int
Returns the hashcode for this node.boolean
Dag.containsNode
(Node node) Checks if the given Node object is contained in the graph.boolean
EdgeListGraph.containsNode
(Node node) Determines whether this graph contains the given node.boolean
Graph.containsNode
(Node node) Determines whether this graph contains the given node.boolean
LagGraph.containsNode
(Node node) Determines whether this graph contains the given node.boolean
SemGraph.containsNode
(Node node) Determines whether this graph contains the given node.boolean
TimeLagGraph.containsNode
(Node node) Checks if the graph contains a specific node.boolean
Paths.definiteNonDescendent
(Node node1, Node node2) added by ekorber, 2004/06/12static Edge
Edges.directedEdge
(Node nodeA, Node nodeB) Constructs a new directed edge from nodeA to nodeB (-->).Paths.directedPaths
(Node node1, Node node2, int maxLength) Finds all directed paths from node1 to node2 with a maximum length.Calculates the district of a given node in a graph.boolean
Paths.existsDirectedPath
(Node node1, Node node2) Checks if a directed path exists between two nodes in a graph.boolean
Paths.existsDirectedPath
(Node node1, Node node2, int depth) Checks if a directed path exists between two nodes within a certain depth.boolean
Paths.existsInducingPath
(Node x, Node y) Determines whether an inducing path exists between node1 and node2, given a set O of observed nodes and a set sem of conditioned nodes.boolean
Paths.existsInducingPathVisit
(Node a, Node b, Node x, Node y, LinkedList<Node> path) existsInducingPathVisit.boolean
Paths.existsSemiDirectedPath
(Node from, Node to) existsSemiDirectedPath.boolean
Paths.existsSemiDirectedPath
(Node node1, Set<Node> nodes) existsSemiDirectedPath.boolean
Paths.existsTrek
(Node node1, Node node2) Determines whether a trek exists between two nodes in the graph.Dag.getAdjacentNodes
(Node node) Retrieves the adjacent nodes of a given node in the graph.EdgeListGraph.getAdjacentNodes
(Node node) getAdjacentNodes.Graph.getAdjacentNodes
(Node node) getAdjacentNodes.LagGraph.getAdjacentNodes
(Node node) getAdjacentNodes.SemGraph.getAdjacentNodes
(Node node) getAdjacentNodes.TimeLagGraph.getAdjacentNodes
(Node node) Retrieves a list of adjacent nodes for the given node.GraphUtils.getAmbiguousTriplesFromGraph
(Node node, Graph graph) Retrieves the list of ambiguous triples from the given graph for a given node.Paths.getAncestors
(Node node) Retrieves the ancestors of a specified `Node` in the graph.static Node
GraphUtils.getAssociatedNode
(Node errorNode, Graph graph) Returns the associated node for the given error node in the specified graph.Dag.getChildren
(Node node) Retrieves the children of a specified Node in the graph.EdgeListGraph.getChildren
(Node node) getChildren.Graph.getChildren
(Node node) getChildren.LagGraph.getChildren
(Node node) getChildren.SemGraph.getChildren
(Node node) getChildren.TimeLagGraph.getChildren
(Node node) Returns a list of children nodes for the given node.GraphSaveLoadUtils.getCollidersFromGraph
(Node node, Graph graph) getCollidersFromGraph.int
Returns the degree of a given node in the graph.int
getDegree.int
getDegree.int
getDegree.int
getDegree.int
Retrieves the degree of a given node in the graph.Paths.getDescendants
(Node node) Returns a list of all descendants of the given node.Dag.getDirectedEdge
(Node node1, Node node2) Returns the directed edge between the given nodes, if one exists in the graph.EdgeListGraph.getDirectedEdge
(Node node1, Node node2) getDirectedEdge.Graph.getDirectedEdge
(Node node1, Node node2) getDirectedEdge.LagGraph.getDirectedEdge
(Node node1, Node node2) getDirectedEdge.SemGraph.getDirectedEdge
(Node node1, Node node2) getDirectedEdge.TimeLagGraph.getDirectedEdge
(Node node1, Node node2) Retrieves the directed edge connecting two nodes in the graph.final Endpoint
Edge.getDistalEndpoint
(Node node) getDistalEndpoint.final Node
Edge.getDistalNode
(Node node) Traverses the edge in an undirected fashion--given one node along the edge, returns the node at the opposite end of the edge.GraphUtils.getDottedUnderlinedTriplesFromGraph
(Node node, Graph graph) Retrieves the list of dotted and underlined triples from the given graph, with the specified node as the middle node.Retrieves the edge between two nodes in the graph.getEdge.getEdge.getEdge.getEdge.Retrieves the edge between the given nodes.Returns a list of edges connected to the given node.Returns a list of edges between the specified nodes in the graph.getEdges.getEdges.getEdges.getEdges.getEdges.getEdges.getEdges.getEdges.Returns the list of edges connected to the specified node.Finds all edges between two nodes.Dag.getEndpoint
(Node node1, Node node2) Returns the endpoint between two nodes in the graph.EdgeListGraph.getEndpoint
(Node node1, Node node2) getEndpoint.Graph.getEndpoint
(Node node1, Node node2) getEndpoint.LagGraph.getEndpoint
(Node node1, Node node2) getEndpoint.SemGraph.getEndpoint
(Node node1, Node node2) getEndpoint.TimeLagGraph.getEndpoint
(Node node1, Node node2) Returns the endpoint between two nodes in the graph.SemGraph.getErrorNode
(Node node) getErrorNode.SemGraph.getExogenous
(Node node) getExogenous.static Graph
GraphUtils.getGraphWithoutXToY
(Graph G, Node x, Node y, GraphUtils.GraphType graphType) Returns a graph that is obtained by removing the edge from node x to node y from the input graph.int
Dag.getIndegree
(Node node) Returns the indegree of the specified node in the graph.int
EdgeListGraph.getIndegree
(Node node) getIndegree.int
Graph.getIndegree
(Node node) getIndegree.int
LagGraph.getIndegree
(Node node) getIndegree.int
SemGraph.getIndegree
(Node node) getIndegree.int
TimeLagGraph.getIndegree
(Node node) Returns the indegree of a given node in the graph.Paths.getInducingPath
(Node x, Node y) This method calculates the inducing path between two measured nodes in a graph.static Graph
GraphUtils.getMarkovBlanketSubgraphWithTargetNode
(Graph graph, Node target) Calculates the subgraph over the Markov blanket of a target node for a DAG, CPDAG, MAG, or PAG.Paths.getMConnectedVars
(Node y, Set<Node> z) Retrieves the set of nodes that are connected to the given nodey
and are also present in the set of nodesz
.getMConnectedVars.getNodeId.Dag.getNodesInTo
(Node node, Endpoint n) Retrieves a list of nodes in the given graph that have edges pointing into the specified node and endpoint.EdgeListGraph.getNodesInTo
(Node node, Endpoint endpoint) Nodes adjacent to the given node with the given proximal endpoint.Graph.getNodesInTo
(Node node, Endpoint n) Nodes adjacent to the given node with the given proximal endpoint.LagGraph.getNodesInTo
(Node node, Endpoint n) Nodes adjacent to the given node with the given proximal endpoint.SemGraph.getNodesInTo
(Node node, Endpoint endpoint) Nodes adjacent to the given node with the given proximal endpoint.TimeLagGraph.getNodesInTo
(Node node, Endpoint endpoint) Retrieves a list of nodes that have an incoming edge from a specific node and endpoint.Dag.getNodesOutTo
(Node node, Endpoint n) Retrieves a list of nodes that have outgoing edges to a specified node and endpoint.EdgeListGraph.getNodesOutTo
(Node node, Endpoint endpoint) Nodes adjacent to the given node with the given distal endpoint.Graph.getNodesOutTo
(Node node, Endpoint n) Nodes adjacent to the given node with the given distal endpoint.LagGraph.getNodesOutTo
(Node node, Endpoint n) Nodes adjacent to the given node with the given distal endpoint.SemGraph.getNodesOutTo
(Node node, Endpoint n) Nodes adjacent to the given node with the given distal endpoint.TimeLagGraph.getNodesOutTo
(Node node, Endpoint endpoint) Retrieves the list of nodes in a graph that have an outgoing edge to the given node and endpoint.int
Dag.getNumEdges
(Node node) Returns the number of edges connected to the specified node.int
EdgeListGraph.getNumEdges
(Node node) getNumEdges.int
Graph.getNumEdges
(Node node) getNumEdges.int
LagGraph.getNumEdges
(Node node) getNumEdges.int
SemGraph.getNumEdges
(Node node) getNumEdges.int
TimeLagGraph.getNumEdges
(Node node) Retrieves the number of edges connected to a specific node.int
Dag.getOutdegree
(Node node) Returns the outdegree of the given node.int
EdgeListGraph.getOutdegree
(Node node) getOutdegree.int
Graph.getOutdegree
(Node node) getOutdegree.int
LagGraph.getOutdegree
(Node node) getOutdegree.int
SemGraph.getOutdegree
(Node node) getOutdegree.int
TimeLagGraph.getOutdegree
(Node node) Retrieves the outdegree of the specified node in the graph.Dag.getParents
(Node node) Retrieves the list of parent nodes for a given node in the graph.EdgeListGraph.getParents
(Node node) getParents.Graph.getParents
(Node node) getParents.LagGraph.getParents
(Node node) getParents.SemGraph.getParents
(Node node) getParents.TimeLagGraph.getParents
(Node node) Returns the list of parent nodes for the given node.final Endpoint
Edge.getProximalEndpoint
(Node node) getProximalEndpoint.Returns the sepset between two given nodes in the graph.getSepset.getSepset.getSepset.getSepset.getSepset.Retrieves the sepset of two nodes in the graph.EdgeListGraph.getTriplesLists
(Node node) getTriplesLists.TripleClassifier.getTriplesLists
(Node node) getTriplesLists.Underlines.getTriplesLists
(Node node) getTriplesLists.GraphUtils.getUnderlinedTriplesFromGraph
(Node node, Graph graph) Retrieves the underlined triples from the given graph that involve the specified node.SemGraph.getVarNode
(Node node) getVarNode.boolean
Dag.isAdjacentTo
(Node node1, Node node2) Determines whether two nodes are adjacent in the graph.boolean
EdgeListGraph.isAdjacentTo
(Node node1, Node node2) isAdjacentTo.boolean
Graph.isAdjacentTo
(Node node1, Node node2) isAdjacentTo.boolean
LagGraph.isAdjacentTo
(Node node1, Node node2) isAdjacentTo.boolean
SemGraph.isAdjacentTo
(Node nodeX, Node nodeY) isAdjacentTo.boolean
TimeLagGraph.isAdjacentTo
(Node node1, Node node2) Determines whether two nodes are adjacent in the graph.boolean
Dag.isAmbiguousTriple
(Node x, Node y, Node z) Determines if a triple of nodes is ambiguous.boolean
EdgeListGraph.isAmbiguousTriple
(Node x, Node y, Node z) States whether r-s-r is an underline triple or not.boolean
Graph.isAmbiguousTriple
(Node x, Node y, Node z) States whether r-s-r is an underline triple or not.boolean
LagGraph.isAmbiguousTriple
(Node x, Node y, Node z) States whether r-s-r is an underline triple or not.boolean
SemGraph.isAmbiguousTriple
(Node x, Node y, Node z) States whether r-s-r is an underline triple or not.boolean
TimeLagGraph.isAmbiguousTriple
(Node x, Node y, Node z) Checks whether a triple of nodes is ambiguous.boolean
Underlines.isAmbiguousTriple
(Node x, Node y, Node z) States whether r-s-r is an underline triple or not.boolean
LagGraph.isAncestorOf
(Node node1, Node node2) isAncestorOf.boolean
Paths.isAncestorOf
(Node node1, Node node2) Determines whether one node is an ancestor of another.boolean
Checks if the given node1 is a child of node2 in the graph.boolean
isChildOf.boolean
isChildOf.boolean
isChildOf.boolean
isChildOf.boolean
Checks if a given node is a child of another node in the graph.static boolean
Checks if the given trek in a graph is a confounding trek.boolean
Dag.isDefCollider
(Node node1, Node node2, Node node3) Checks if there is a definite collider between three nodes in the graph.boolean
EdgeListGraph.isDefCollider
(Node node1, Node node2, Node node3) Added by ekorber, 2004/6/9.boolean
Graph.isDefCollider
(Node node1, Node node2, Node node3) Added by ekorber, 2004/6/9.boolean
LagGraph.isDefCollider
(Node node1, Node node2, Node node3) Added by ekorber, 2004/6/9.boolean
SemGraph.isDefCollider
(Node node1, Node node2, Node node3) Added by ekorber, 2004/6/9.boolean
TimeLagGraph.isDefCollider
(Node node1, Node node2, Node node3) Determines if there is a definite collider relationship between the given nodes.boolean
Dag.isDefNoncollider
(Node node1, Node node2, Node node3) Checks if three given nodes form a definite non-collider in a graph.boolean
EdgeListGraph.isDefNoncollider
(Node node1, Node node2, Node node3) Added by ekorber, 2004/6/9.boolean
Graph.isDefNoncollider
(Node node1, Node node2, Node node3) Added by ekorber, 2004/6/9.boolean
LagGraph.isDefNoncollider
(Node node1, Node node2, Node node3) Added by ekorber, 2004/6/9.boolean
SemGraph.isDefNoncollider
(Node node1, Node node2, Node node3) Added by ekorber, 2004/6/9.boolean
TimeLagGraph.isDefNoncollider
(Node node1, Node node2, Node node3) Determines if the given nodes form a definite noncollider in the graph.boolean
Paths.isDescendentOf
(Node node1, Node node2) Determines whether one node is a descendent of another.boolean
Paths.isDirected
(Node node1, Node node2) Checks if there is a directed edge from node1 to node2 in the graph.boolean
Dag.isExogenous
(Node node) Checks whether a given node is exogenous.boolean
EdgeListGraph.isExogenous
(Node node) isExogenous.boolean
Graph.isExogenous
(Node node) isExogenous.boolean
LagGraph.isExogenous
(Node node) isExogenous.boolean
SemGraph.isExogenous
(Node node) isExogenous.boolean
TimeLagGraph.isExogenous
(Node node) Checks if a given node is exogenous.boolean
Paths.isMConnectedTo
(Node x, Node y, Set<Node> z, boolean allowSelectionBias) Detemrmines whether x and y are d-connected given z.boolean
Paths.isMConnectedTo
(Node x, Node y, Set<Node> z, Map<Node, Set<Node>> ancestors, boolean allowSelectionBias) Detemrmines whether x and y are d-connected given z.boolean
EdgeListGraph.isMSeparatedFrom
(Node x, Node y, Set<Node> z) Determines whether x and y are d-separated given z.boolean
Paths.isMSeparatedFrom
(Node node1, Node node2, Set<Node> z, boolean allowSelectionBias) Determines whether one n ode is d-separated from another.boolean
Paths.isMSeparatedFrom
(Node node1, Node node2, Set<Node> z, Map<Node, Set<Node>> ancestors, boolean allowSelectionBias) Checks if two nodes are M-separated.boolean
Dag.isParameterizable
(Node node) Checks if the given node is parameterizable.boolean
EdgeListGraph.isParameterizable
(Node node) isParameterizable.boolean
Graph.isParameterizable
(Node node) isParameterizable.boolean
LagGraph.isParameterizable
(Node node) isParameterizable.boolean
SemGraph.isParameterizable
(Node node) isParameterizable.boolean
TimeLagGraph.isParameterizable
(Node node) Checks if a node is parameterizable.boolean
Dag.isParentOf
(Node node1, Node node2) Determines if a given node is a parent of another node in the graph.boolean
EdgeListGraph.isParentOf
(Node node1, Node node2) Determines whether node1 is a parent of node2.boolean
Graph.isParentOf
(Node node1, Node node2) Determines whether node1 is a parent of node2.boolean
LagGraph.isParentOf
(Node node1, Node node2) Determines whether node1 is a parent of node2.boolean
SemGraph.isParentOf
(Node node1, Node node2) Determines whether node1 is a parent of node2.boolean
TimeLagGraph.isParentOf
(Node node1, Node node2) Determines if a given node is a parent of another node in the graph.boolean
Check to see if a set of variables Z satisfies the back-door criterion relative to node x and node y.boolean
Dag.isUnderlineTriple
(Node x, Node y, Node z) Determines if a triple of nodes is underlined.boolean
EdgeListGraph.isUnderlineTriple
(Node x, Node y, Node z) States whether r-s-r is an underline triple or not.boolean
Graph.isUnderlineTriple
(Node x, Node y, Node z) States whether r-s-r is an underline triple or not.boolean
LagGraph.isUnderlineTriple
(Node x, Node y, Node z) States whether r-s-r is an underline triple or not.boolean
SemGraph.isUnderlineTriple
(Node x, Node y, Node z) States whether r-s-r is an underline triple or not.boolean
TimeLagGraph.isUnderlineTriple
(Node x, Node y, Node z) Checks whether a given triple (x, y, z) is an underline triple.boolean
Underlines.isUnderlineTriple
(Node x, Node y, Node z) States whether r-s-r is an underline triple or not.boolean
Paths.isUndirected
(Node node1, Node node2) Checks if the edge between two nodes in the graph is undirected.GraphUtils.markovBlanket
(Node x, Graph G) Returns a Markov blanket of a node for a DAG, CPDAG, MAG, or PAG.static Graph
GraphUtils.markovBlanketSubgraph
(Node target, Graph graph) Calculates the subgraph over the Markov blanket of a target node in a given DAG, CPDAG, MAG, or PAG.static Edge
Edges.nondirectedEdge
(Node nodeA, Node nodeB) Constructs a new nondirected edge from nodeA to nodeB (o-o).static Edge
Edges.partiallyOrientedEdge
(Node nodeA, Node nodeB) Constructs a new partially oriented edge from nodeA to nodeB (o->).static String
GraphUtils.pathString
(Graph graph, Node... x) pathString.static String
Triple.pathString
(Graph graph, Node x, Node y, Node z) pathString.boolean
Edge.pointsTowards
(Node node) pointsTowards.boolean
Paths.possibleAncestor
(Node node1, Node node2) possibleAncestor.Paths.possibleMsep
(Node x, Node y, int maxPathLength) possibleMsep.void
Dag.removeAmbiguousTriple
(Node x, Node y, Node z) Removes an ambiguous triple from the list of ambiguous triples.void
EdgeListGraph.removeAmbiguousTriple
(Node x, Node y, Node z) removeAmbiguousTriple.void
Graph.removeAmbiguousTriple
(Node x, Node y, Node z) removeAmbiguousTriple.void
LagGraph.removeAmbiguousTriple
(Node x, Node y, Node z) removeAmbiguousTriple.void
SemGraph.removeAmbiguousTriple
(Node x, Node y, Node z) removeAmbiguousTriple.void
TimeLagGraph.removeAmbiguousTriple
(Node x, Node y, Node z) Removes an ambiguous triple from the collection.void
Underlines.removeAmbiguousTriple
(Node x, Node y, Node z) removeAmbiguousTriple.void
Dag.removeDottedUnderlineTriple
(Node x, Node y, Node z) Removes a dotted underline triple from the set of triples.void
EdgeListGraph.removeDottedUnderlineTriple
(Node x, Node y, Node z) removeDottedUnderlineTriple.void
Graph.removeDottedUnderlineTriple
(Node x, Node y, Node z) removeDottedUnderlineTriple.void
LagGraph.removeDottedUnderlineTriple
(Node x, Node y, Node z) removeDottedUnderlineTriple.void
SemGraph.removeDottedUnderlineTriple
(Node x, Node y, Node z) removeDottedUnderlineTriple.void
TimeLagGraph.removeDottedUnderlineTriple
(Node x, Node y, Node z) Removes a triple of nodes from the set of dottedUnderLineTriples.void
Underlines.removeDottedUnderlineTriple
(Node x, Node y, Node z) removeDottedUnderlineTriple.boolean
Dag.removeEdge
(Node node1, Node node2) Removes the edge between two nodes in the graph.boolean
EdgeListGraph.removeEdge
(Node node1, Node node2) Removes the edge connecting the two given nodes, provided there is exactly one such edge.boolean
Graph.removeEdge
(Node node1, Node node2) Removes the edge connecting the two given nodes, provided there is exactly one such edge.boolean
LagGraph.removeEdge
(Node node1, Node node2) Removes the edge connecting the two given nodes, provided there is exactly one such edge.boolean
SemGraph.removeEdge
(Node node1, Node node2) Removes the edge connecting the two given nodes, provided there is exactly one such edge.boolean
TimeLagGraph.removeEdge
(Node node1, Node node2) Removes the edge between two given nodes.boolean
Dag.removeEdges
(Node node1, Node node2) Removes an edge between two nodes.boolean
EdgeListGraph.removeEdges
(Node node1, Node node2) Removes all edges connecting node A to node B.boolean
Graph.removeEdges
(Node node1, Node node2) Removes all edges connecting node A to node B.boolean
LagGraph.removeEdges
(Node node1, Node node2) Removes all edges connecting node A to node B.boolean
SemGraph.removeEdges
(Node node1, Node node2) Removes all edges connecting node A to node B.boolean
TimeLagGraph.removeEdges
(Node node1, Node node2) Removes edges between two nodes.boolean
Dag.removeNode
(Node node) Removes the specified node from the graph.boolean
EdgeListGraph.removeNode
(Node node) Removes a node from the graph.boolean
Graph.removeNode
(Node node) Removes a node from the graph.boolean
LagGraph.removeNode
(Node node) Removes a node from the graph.boolean
SemGraph.removeNode
(Node node) Removes a node from the graph.boolean
TimeLagGraph.removeNode
(Node node) Removes the given node from the graph.void
Dag.removeUnderlineTriple
(Node x, Node y, Node z) Removes an underline triple from the list of underline triples.void
EdgeListGraph.removeUnderlineTriple
(Node x, Node y, Node z) removeUnderlineTriple.void
Graph.removeUnderlineTriple
(Node x, Node y, Node z) removeUnderlineTriple.void
LagGraph.removeUnderlineTriple
(Node x, Node y, Node z) removeUnderlineTriple.void
SemGraph.removeUnderlineTriple
(Node x, Node y, Node z) removeUnderlineTriple.void
TimeLagGraph.removeUnderlineTriple
(Node x, Node y, Node z) Removes the specified triple (x, y, z) from the list of underline triples.void
Underlines.removeUnderlineTriple
(Node x, Node y, Node z) removeUnderlineTriple.Paths.semidirectedPaths
(Node node1, Node node2, int maxLength) Finds all semi-directed paths between two nodes up to a maximum length.boolean
Dag.setEndpoint
(Node from, Node to, Endpoint endPoint) Sets the endpoint of a directed edge between two nodes in a graph.boolean
EdgeListGraph.setEndpoint
(Node from, Node to, Endpoint endPoint) Sets the endpoint type at the 'to' end of the edge from 'from' to 'to' to the given endpoint.boolean
Graph.setEndpoint
(Node from, Node to, Endpoint endPoint) Sets the endpoint type at the 'to' end of the edge from 'from' to 'to' to the given endpoint.boolean
LagGraph.setEndpoint
(Node from, Node to, Endpoint endPoint) Sets the endpoint type at the 'to' end of the edge from 'from' to 'to' to the given endpoint.boolean
SemGraph.setEndpoint
(Node node1, Node node2, Endpoint endpoint) Sets the endpoint type at the 'to' end of the edge from 'from' to 'to' to the given endpoint.boolean
TimeLagGraph.setEndpoint
(Node from, Node to, Endpoint endPoint) Sets the endpoint of an edge between two nodes in the graph.static Node
If node is one endpoint of edge, returns the other endpoint.static Node
Edges.traverseDirected
(Node node, Edge edge) For A -> B, given A, returns B; otherwise returns null.static Node
Edges.traverseReverseDirected
(Node node, Edge edge) For A -> B, given B, returns A; otherwise returns null.static Node
Edges.traverseSemiDirected
(Node node, Edge edge) For A --* B or A o-* B, given A, returns B.static Node
GraphUtils.traverseSemiDirected
(Node node, Edge edge) Traverses a semi-directed edge to identify the next node in the traversal.Finds all treks from node1 to node2 with a maximum length.Paths.treksIncludingBidirected
(Node node1, Node node2) Finds all possible treks between two nodes, including bidirectional treks.static Edge
Edges.undirectedEdge
(Node nodeA, Node nodeB) Constructs a new undirected edge from nodeA to nodeB (--).GraphUtils.visibleEdgeAdjustments1
(Graph G, Node x, Node y, int numSmallestSizes, GraphUtils.GraphType graphType) Calculates visual-edge adjustments given graph G between two nodes x and y that are subsets of MB(X).GraphUtils.visibleEdgeAdjustments3
(Graph G, Node x, Node y, int numSmallestSizes, GraphUtils.GraphType graphType) This method calculates visible-edge adjustments for a given graph, two nodes, a number of smallest sizes, and a graph type.GraphUtils.visualEdgeAdjustments2
(Graph G, Node x, Node y, int numSmallestSizes, GraphUtils.GraphType graphType) Calculates visual-edge adjustments of a given graph G between two nodes x and y that are subsets of MB(Y).Method parameters in edu.cmu.tetrad.graph with type arguments of type NodeModifier and TypeMethodDescriptionConstructs a list of nodes from the givennodes
list at the given indices in that list.Converts an array of indices into a set of corresponding nodes from a given list of nodes.MisclassificationUtils.convertNodes
(Set<Edge> edges, List<Node> newVariables) convertNodes.boolean
Paths.existsInducingPathVisit
(Node a, Node b, Node x, Node y, LinkedList<Node> path) existsInducingPathVisit.boolean
Paths.existsSemiDirectedPath
(Node node1, Set<Node> nodes) existsSemiDirectedPath.static void
GraphUtils.fciOrientbk
(Knowledge knowledge, Graph graph, List<Node> variables) Attempts to orient the edges in the graph based on the given knowledge.Paths.getAncestors
(List<Node> nodes) Returns a list of all ancestors of the given nodes.static Graph
Generates a directed acyclic graph (DAG) based on the given list of nodes using Raskutti and Uhler's method.Returns the parent matrix for the graph.Paths.getDescendants
(List<Node> nodes) Retrieves the descendants of the given list of nodes.Paths.getMConnectedVars
(Node y, Set<Node> z) Retrieves the set of nodes that are connected to the given nodey
and are also present in the set of nodesz
.getMConnectedVars.getMConnectedVars.getMConnectedVars.Paths.getParents
(List<Node> pi, int p, Graph g, boolean verbose, boolean allowSelectionBias) Returns the parents of the node at index p, calculated using Pearl's method.static Node
GraphUtils.getTrekSource
(Graph graph, List<Node> trek) This method returns the source node of a given trek in a graph.Paths.getValidOrder
(List<Node> initialOrder, boolean forward) Returns a valid causal order for either a DAG or a CPDAG.static void
GraphUtils.gfciExtraEdgeRemovalStep
(Graph graph, Graph referenceCpdag, List<Node> nodes, SepsetProducer sepsets, boolean verbose) The extra-edge removal step for GFCI.GraphSaveLoadUtils.grabLayout
(List<Node> nodes) grabLayout.static boolean
GraphUtils.isClique
(Collection<Node> set, Graph graph) Checks if the given set of nodes forms a clique in the specified graph.static boolean
Checks if the given trek in a graph is a confounding trek.boolean
Paths.isMConnectedTo
(Node x, Node y, Set<Node> z, boolean allowSelectionBias) Detemrmines whether x and y are d-connected given z.boolean
Paths.isMConnectedTo
(Node x, Node y, Set<Node> z, Map<Node, Set<Node>> ancestors, boolean allowSelectionBias) Detemrmines whether x and y are d-connected given z.boolean
Paths.isMConnectedTo
(Node x, Node y, Set<Node> z, Map<Node, Set<Node>> ancestors, boolean allowSelectionBias) Detemrmines whether x and y are d-connected given z.boolean
Paths.isMConnectedTo
(Node x, Node y, Set<Node> z, Map<Node, Set<Node>> ancestors, boolean allowSelectionBias) Detemrmines whether x and y are d-connected given z.boolean
EdgeListGraph.isMSeparatedFrom
(Node x, Node y, Set<Node> z) Determines whether x and y are d-separated given z.boolean
Paths.isMSeparatedFrom
(Node node1, Node node2, Set<Node> z, boolean allowSelectionBias) Determines whether one n ode is d-separated from another.boolean
Paths.isMSeparatedFrom
(Node node1, Node node2, Set<Node> z, Map<Node, Set<Node>> ancestors, boolean allowSelectionBias) Checks if two nodes are M-separated.boolean
Paths.isMSeparatedFrom
(Node node1, Node node2, Set<Node> z, Map<Node, Set<Node>> ancestors, boolean allowSelectionBias) Checks if two nodes are M-separated.boolean
Paths.isMSeparatedFrom
(Node node1, Node node2, Set<Node> z, Map<Node, Set<Node>> ancestors, boolean allowSelectionBias) Checks if two nodes are M-separated.boolean
Check to see if a set of variables Z satisfies the back-door criterion relative to node x and node y.static Graph
GraphSaveLoadUtils.loadGraphBNTPcMatrix
(List<Node> vars, DataSet dataSet) loadGraphBNTPcMatrix.void
Paths.makeValidOrder
(List<Node> order) Reorders the given order into a valid causal order for either a DAG or a CPDAG.GraphUtils.maximalCliques
(Graph graph, List<Node> nodes) Finds all maximal cliques in a given graph.static Graph
GraphSaveLoadUtils.parseGraphXml
(nu.xom.Element graphElement, Map<String, Node> nodes) parseGraphXml.static String
GraphUtils.pathString
(Graph graph, List<Node> path) pathString.static Dag
RandomGraph.randomDag
(List<Node> nodes, int numLatentConfounders, int maxNumEdges, int maxDegree, int maxIndegree, int maxOutdegree, boolean connected) Generates a random Directed Acyclic Graph (DAG).static Graph
RandomGraph.randomGraph
(List<Node> nodes, int numLatentConfounders, int maxNumEdges, int maxDegree, int maxIndegree, int maxOutdegree, boolean connected) Generates a random graph based on the given parameters.static Graph
RandomGraph.randomGraphRandomForwardEdges
(List<Node> nodes, int numLatentConfounders, int numEdges, int maxDegree, int maxIndegree, int maxOutdegree, boolean connected) Generates a random graph with forward edges.static Graph
RandomGraph.randomGraphRandomForwardEdges
(List<Node> nodes, int numLatentConfounders, int numEdges, int maxDegree, int maxIndegree, int maxOutdegree, boolean connected, boolean layoutAsCircle) Generates a random graph with forward edges.static Graph
RandomGraph.randomGraphUniform
(List<Node> nodes, int numLatentConfounders, int maxNumEdges, int maxDegree, int maxIndegree, int maxOutdegree, boolean connected, int numIterations) Generates a random graph using UniformGraphGenerator with the specified parameters.boolean
Dag.removeNodes
(List<Node> nodes) Removes the specified nodes from the graph.boolean
EdgeListGraph.removeNodes
(List<Node> newNodes) Iterates through the list and removes any permissible nodes found.boolean
Graph.removeNodes
(List<Node> nodes) Iterates through the list and removes any permissible nodes found.boolean
LagGraph.removeNodes
(List<Node> nodes) Iterates through the list and removes any permissible nodes found.boolean
SemGraph.removeNodes
(List<Node> nodes) Iterates through the list and removes any permissible nodes found.boolean
TimeLagGraph.removeNodes
(List<Node> nodes) Removes the specified nodes from the graph.static Graph
GraphUtils.replaceNodes
(Graph originalGraph, List<Node> newVariables) Converts the given graph,originalGraph
, to use the new variables (with the same names as the old).GraphUtils.replaceNodes
(List<Node> originalNodes, Graph graph) Converts the given list of nodes,originalNodes
, to use the replacement nodes for them by the same name in the givengraph
.GraphUtils.replaceNodes
(List<Node> originalNodes, List<Node> newNodes) Converts the given list of nodes,originalNodes
, to use the new variables (with the same names as the old).void
Set the nodes of the graph.void
setNodes.void
setNodes.void
setNodes.void
setNodes.void
Sets the nodes of the graph.Returns a subgraph of the current graph consisting only of the specified nodes.Constructs and returns a subgraph consisting of a given subset of the nodes of this graph together with the edges between them.Constructs and returns a subgraph consisting of a given subset of the nodes of this graph together with the edges between them.Constructs and returns a subgraph consisting of a given subset of the nodes of this graph together with the edges between them.Constructs and returns a subgraph consisting of a given subset of the nodes of this graph together with the edges between them.Returns a subgraph of the current graph based on the provided nodes.static Graph
Trims the given graph based on the specified trimming style.Constructors in edu.cmu.tetrad.graph with parameters of type NodeModifierConstructorDescriptionConstructs a new edge by specifying the nodes it connects and the endpoint types.IndependenceFact
(Node x, Node y, Node... z) Constructor for IndependenceFact.IndependenceFact
(Node x, Node y, Set<Node> z) Constructor for IndependenceFact.Constructor for NodePair.Constructs a triple of nodes.Constructor parameters in edu.cmu.tetrad.graph with type arguments of type Node -
Uses of Node in edu.cmu.tetrad.regression
Methods in edu.cmu.tetrad.regression with parameters of type NodeModifier and TypeMethodDescriptionRegressestarget
on theregressors
, yielding a regression plane.Regressestarget
on theregressors
, yielding a regression plane.regress.Regresses the given target on the given regressors, yielding a regression plane, in which coefficients are given for each regressor plus the constant (if means have been specified, that is, for the last), and se, t, and p values are given for each regressor.regress.Regresses the target on the given regressors.Method parameters in edu.cmu.tetrad.regression with type arguments of type NodeModifier and TypeMethodDescriptionLogisticRegression.regress
(DiscreteVariable x, List<Node> regressors) x must be binary; regressors must be continuous or binary.Regressestarget
on theregressors
, yielding a regression plane.Regresses the given target on the given regressors, yielding a regression plane, in which coefficients are given for each regressor plus the constant (if means have been specified, that is, for the last), and se, t, and p values are given for each regressor.Regresses the target on the given regressors.Constructor parameters in edu.cmu.tetrad.regression with type arguments of type NodeModifierConstructorDescriptionRegressionDataset
(Matrix data, List<Node> variables) Constructor for RegressionDataset. -
Uses of Node in edu.cmu.tetrad.search
Methods in edu.cmu.tetrad.search that return NodeModifier and TypeMethodDescriptionCstar.Record.getCauseNode()
Returns the cause node associated with this record.Cstar.Record.getEffectNode()
Retrieves the effect node of the record.Return the node associated with the given variable in the graph.default Node
IndependenceTest.getVariable
(String name) Returns The variable by the given name.IndTestIod.getVariable
(Node node) Returns the variable associated with the given node in the graph.IndTestIod.getVariable
(String name) Retrieves a variable with the given name.MarkovCheck.getVariable
(String name) Returns the variable with the given name.Methods in edu.cmu.tetrad.search that return types with arguments of type NodeModifier and TypeMethodDescriptionGiven an initial permutation, 'order,' of the variables, searches for a best permutation of the variables by rearranging the variables in 'order.'Returns a map from nodes in V \ {Y} to their minimum effects.Finds the Markov blanket (MB) for a given target node.Given the target, this returns all the nodes in the Markov Blanket.Given the target, this returns all the nodes in the Markov Blanket.MarkovCheck.getAndersonDarlingTestAcceptsRejectsNodesForAllNodes
(IndependenceTest independenceTest, Graph graph, Double threshold) Calculates the Anderson-Darling test and classifies nodes as accepted or rejected based on the given threshold.Mimbuild.getClustering()
Returns the clustering of measured variables, each of which is explained by a single latent.MimbuildTrek.getClustering()
The clustering used.Fofc.getClusters()
The clusters that are output by the algorithm from the last call to search().Ftfc.getClusters()
Returns clusters output by the algorithm from the last call to search().MarkovCheck.getConditioningNodes()
Returns the nodes that are possible Z1,...,Zn for X _||_ Y | Z1,...,Zn.MarkovCheck.getIndependenceNodes()
Returns the nodes that are possible X and Y for X _||_ Y | Z1,...,Zn.Fas.getNodes()
Retrieves the list of nodes in the graph.Fasd.getNodes()
Retrieves the list of nodes from the current object.Ida.NodeEffects.getNodes()
Returns the nodes.IdaCheck.getNodes()
Returns a list of nodes.IFas.getNodes()
Returns the nodes searched over.Pcd.getNodes()
Retrieves the list of nodes in the graph.SvarFas.getNodes()
Retrieves the list of nodes from the current object.PermutationSearch.getOrder()
Retrieves the order list.IdaCheck.getOrderedPairs()
Retrieves a list of OrderedPair objects representing all possible pairs of distinct nodes in the graph.Boss.getParents()
Returns the map from nodes to the sets of their parents.Boss.getParents()
Returns the map from nodes to the sets of their parents.Sp.getParents()
Retrieves a mapping of nodes to their parent nodes.Sp.getParents()
Retrieves a mapping of nodes to their parent nodes.SuborderSearch.getParents()
The map from nodes to parents resulting from the search.SuborderSearch.getParents()
The map from nodes to parents resulting from the search.PcMb.getTargets()
Return the targets of the most recent search.Boss.getVariables()
Returns the variables.CompositeIndependenceTest.getVariables()
getVariables.Grasp.getVariables()
Returns the variables.IndependenceTest.getVariables()
getVariables.IndTestIod.getVariables()
Returns the list of TetradNodes over which this independence checker is capable of determining independence relations-- that is, all the variables in the given graph or the given data set.MarkovCheck.getVariables
(List<Node> graphNodes, List<Node> independenceNodes, List<Node> conditioningNodes) Returns the variables of the independence test.PermutationSearch.getVariables()
Retrieves the list of variables.Sp.getVariables()
Returns the list of variables associated with this object.SuborderSearch.getVariables()
The list of all variables, in order.Methods in edu.cmu.tetrad.search with parameters of type NodeModifier and TypeMethodDescriptionvoid
SvarFges.addSimilarEdges
(Node x, Node y) Adds similar edges between two nodes.Returns a map from nodes in V \ {Y} to their minimum effects.CompositeIndependenceTest.checkIndependence
(Node x, Node y, Set<Node> z) checkIndependence.default IndependenceResult
IndependenceTest.checkIndependence
(Node x, Node y, Node... z) Checks the independence fact in question and returns and independence result.IndependenceTest.checkIndependence
(Node x, Node y, Set<Node> z) checkIndependence.IndTestIod.checkIndependence
(Node x, Node y, Set<Node> z) Checks the independence between two nodes given a set of nodes.default boolean
IndependenceTest.determines
(Set<Node> z, Node y) Returns true if y is determined the variable in z.boolean
IndTestIod.determines
(List<Node> z, Node x) Determines whether the variables in z determine x.Finds the Markov blanket (MB) for a given target node.Given the target, this returns all the nodes in the Markov Blanket.Given the target, this returns all the nodes in the Markov Blanket.Ida.getAbsTotalEffects
(Node x, Node y) This method calculates the absolute total effects of node x on node y.Fas.getAmbiguousTriples
(Node node) Retrieves the list of ambiguous triples involving the given node.Fasd.getAmbiguousTriples
(Node node) Retrieves a list of ambiguous triples for the given node.IFas.getAmbiguousTriples
(Node node) Returns the list of ambiguous triples found for a given node.SvarFas.getAmbiguousTriples
(Node node) Retrieves the list of ambiguous triples involving the given node.Retrieves the GrowShrinkTree (GST) associated with the given Node.double
IdaCheck.getIdaMinEffect
(Node x, Node y) Gets the signed minimum absolute total effect value between two nodes.MarkovCheck.getLocalIndependenceFacts
(Node x) Retrieves the list of local independence facts for a given node.double
IdaCheck.getMaxTotalEffect
(Node x, Node y) Returns the maximum total effect value between two nodes.double
IdaCheck.getMinTotalEffect
(Node x, Node y) Gets the minimum total effect value between two nodes.Return the node associated with the given variable in the graph.void
MarkovCheck.getPrecisionAndRecallOnMarkovBlanketGraph
(Node x, Graph estimatedGraph, Graph trueGraph) Calculates the precision and recall on the Markov Blanket graph for a given node.Ida.getTotalEffects
(Node x, Node y) Calculates the total effects of node x on node y.IndTestIod.getVariable
(Node node) Returns the variable associated with the given node in the graph.void
SvarFges.removeSimilarEdges
(Node x, Node y) Removes similar edges between two nodes.Method parameters in edu.cmu.tetrad.search with type arguments of type NodeModifier and TypeMethodDescriptionGiven an initial permutation, 'order,' of the variables, searches for a best permutation of the variables by rearranging the variables in 'order.'CompositeIndependenceTest.checkIndependence
(Node x, Node y, Set<Node> z) checkIndependence.IndependenceTest.checkIndependence
(Node x, Node y, Set<Node> z) checkIndependence.IndTestIod.checkIndependence
(Node x, Node y, Set<Node> z) Checks the independence between two nodes given a set of nodes.default boolean
IndependenceTest.determines
(Set<Node> z, Node y) Returns true if y is determined the variable in z.boolean
IndTestIod.determines
(List<Node> z, Node x) Determines whether the variables in z determine x.double
IdaCheck.getAverageSquaredDistance
(List<OrderedPair<Node>> pairs) Returns the average of the squared distances between the true total effects and the IDA effect ranges the list of node pairs indicated.double
IdaCheck.getAvgMaxSquaredDiffEstTrue
(List<OrderedPair<Node>> pairs) Returns the average of the squared differences between the maximum total effects and the true total effects for the list of node pairs indicated.double
IdaCheck.getAvgMinSquaredDiffEstTrue
(List<OrderedPair<Node>> pairs) Returns the average of the squared differences between the minimum total effects and the true total effects for the list of node pairs indicated.static Graph
Construct a graph given a specification of the parents for each node.static Graph
Construct a graph given a specification of the parents for each node.static Graph
Construct a graph given a specification of the parents for each node.static Graph
PermutationSearch.getGraph
(List<Node> nodes, Map<Node, Set<Node>> parents, Knowledge knowledge, boolean cpDag) Constructs a graph given a specification of the parents for each node.static Graph
PermutationSearch.getGraph
(List<Node> nodes, Map<Node, Set<Node>> parents, Knowledge knowledge, boolean cpDag) Constructs a graph given a specification of the parents for each node.static Graph
PermutationSearch.getGraph
(List<Node> nodes, Map<Node, Set<Node>> parents, Knowledge knowledge, boolean cpDag) Constructs a graph given a specification of the parents for each node.Cstar.getRecords
(DataSet dataSet, List<Node> possibleCauses, List<Node> possibleEffects, int topBracket, String path) Returns records for a set of variables with expected number of false positives bounded by q.double
IdaCheck.getSquaredDistance
(OrderedPair<Node> pair) Calculates the squared distance of the true total effect to the [min, max] IDA effect range of the given (x, y) node pair, for x predicting y.double
IdaCheck.getSquaredMaxTrueDist
(OrderedPair<Node> pair) Returns the squared difference between the maximum total effect and the true total effect for the given pair of nodes.double
IdaCheck.getSquaredMinTrueDistance
(OrderedPair<Node> pair) Returns the squared difference between the minimum total effect and the true total effect for the given pair of nodes.double
IdaCheck.getTrueTotalEffect
(OrderedPair<Node> pair) Calculates the true total effect between two nodes in the graph.MarkovCheck.getVariables
(List<Node> graphNodes, List<Node> independenceNodes, List<Node> conditioningNodes) Returns the variables of the independence test.default IndependenceTest
IndependenceTest.indTestSubset
(List<Node> vars) Returns an Independence test for a sublist of the variables.IndTestIod.indTestSubset
(List<Node> vars) Calculates the independence test for a subset of variables.static @NotNull Graph
Returns a graph given a coefficient matrix and a list of variables.Discovers all adjacencies in data.Greedy equivalence search: Start from the empty graph, add edges till the model is significant.Mimbuild.search
(List<List<Node>> clustering, List<String> latentNames, ICovarianceMatrix measuresCov) Does a Mimbuild search.MimbuildTrek.search
(List<List<Node>> clustering, List<String> latentNames, ICovarianceMatrix measuresCov) Does the search and returns the graph.Runs the search using a particular implementation of the fast adjacency search (FAS), over the given sublist of nodes.Runs PC starting with a complete graph over the given list of nodes, using the given independence test and knowledge and returns the resultant graph.Searches for a graph using the given IFas instance and list of nodes.Runs PC starting with a complete graph over the given list of nodes, using the given independence test and knowledge and returns the resultant graph.Searches for the MB CPDAG for the given targets.Runs the search and returns the RFCI PAG.Searches of a specific sublist of nodes.void
Boss.searchSuborder
(List<Node> prefix, List<Node> suborder, Map<Node, GrowShrinkTree> gsts) Searches a suborder of the variables.void
Boss.searchSuborder
(List<Node> prefix, List<Node> suborder, Map<Node, GrowShrinkTree> gsts) Searches a suborder of the variables.void
Sp.searchSuborder
(List<Node> prefix, List<Node> suborder, Map<Node, GrowShrinkTree> gsts) Searches for the best suborder of nodes given a prefix and a suborder.void
Sp.searchSuborder
(List<Node> prefix, List<Node> suborder, Map<Node, GrowShrinkTree> gsts) Searches for the best suborder of nodes given a prefix and a suborder.void
SuborderSearch.searchSuborder
(List<Node> prefix, List<Node> suborder, Map<Node, GrowShrinkTree> gsts) Searches the suborder.void
SuborderSearch.searchSuborder
(List<Node> prefix, List<Node> suborder, Map<Node, GrowShrinkTree> gsts) Searches the suborder.void
Sets the nodes.void
Sets the order list for the search.void
PcMb.setVariables
(List<Node> variables) Setter for the fieldvariables
.Constructor parameters in edu.cmu.tetrad.search with type arguments of type NodeModifierConstructorDescriptionFci
(IndependenceTest independenceTest, List<Node> searchVars) Constructor.Constructor.Rfci
(IndependenceTest independenceTest, List<Node> searchVars) Constructs a new RFCI search for the given independence test and background knowledge and a list of variables to search over. -
Uses of Node in edu.cmu.tetrad.search.score
Methods in edu.cmu.tetrad.search.score that return NodeModifier and TypeMethodDescriptiondefault Node
Score.getVariable
(String targetName) Returns the variable with the given name.Methods in edu.cmu.tetrad.search.score that return types with arguments of type NodeModifier and TypeMethodDescriptionBdeScore.getVariables()
Returns the variables present in the DataSet associated with this method.BdeuScore.getVariables()
Retrieves the list of variables used in the object.ConditionalGaussianScore.getVariables()
The variables of the score.DegenerateGaussianScore.getVariables()
The variables of the score.DiscreteBicScore.getVariables()
The variables of the score.EbicScore.getVariables()
The variables of the score.GicScores.getVariables()
The variables of the score.GraphScore.getVariables()
The variables of the score.ImagesScore.getVariables()
The variables of the score.IndTestScore.getVariables()
The variables of the score.MvpScore.getVariables()
The variables of the score.PoissonPriorScore.getVariables()
The variables of the score.Score.getVariables()
The variables of the score.SemBicScore.getVariables()
The variables of the score.ZsbScore.getVariables()
The variables of the score.Methods in edu.cmu.tetrad.search.score with parameters of type NodeModifier and TypeMethodDescriptionboolean
BdeuScore.determines
(List<Node> z, Node y) Determines whether a set of nodes z determines a specific node y.boolean
EbicScore.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.boolean
GicScores.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.boolean
ImagesScore.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.boolean
IndTestScore.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.boolean
MvpScore.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.boolean
PoissonPriorScore.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.default boolean
Score.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.boolean
SemBicScore.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.boolean
ZsbScore.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.Method parameters in edu.cmu.tetrad.search.score with type arguments of type NodeModifier and TypeMethodDescriptionboolean
BdeuScore.determines
(List<Node> z, Node y) Determines whether a set of nodes z determines a specific node y.boolean
EbicScore.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.boolean
GicScores.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.boolean
ImagesScore.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.boolean
IndTestScore.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.boolean
MvpScore.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.boolean
PoissonPriorScore.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.default boolean
Score.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.boolean
SemBicScore.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.boolean
ZsbScore.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.void
DiscreteBicScore.setVariables
(List<Node> variables) Sets the variables to a new list of the same size.void
GicScores.setVariables
(List<Node> variables) Sets the variables of the dataset.void
SemBicScore.setVariables
(List<Node> variables) Sets the variables of the covariance matrix.Returns a SEM BIC score for the given subset of variables. -
Uses of Node in edu.cmu.tetrad.search.test
Methods in edu.cmu.tetrad.search.test that return NodeModifier and TypeMethodDescriptionIndTestFisherZ.getVariable
(String name) Returns the variable with the given name.IndTestHsic.getVariable
(String name) Returns the variable with the given name.IndTestIndependenceFacts.getVariable
(String name) Retrieves a variable node based on its name.IndTestProbabilistic.getVariable
(String name) Retrieves the Node object that matches the given name from the list of nodes.IndTestTrekSep.getVariable
(String name) Gets the variable with the given name.Kci.getVariable
(String name) Returns the variable of the given name.MsepTest.getVariable
(String name) Returns theNode
object with the given name.ScoreIndTest.getVariable
(String name) Retrieves the Node object with the specified name.Methods in edu.cmu.tetrad.search.test that return types with arguments of type NodeModifier and TypeMethodDescriptionIndTestChiSquare.getVariables()
Returns the list of variables over which this independence checker is capable of determining independence relations-- that is, all the variables in the given graph or the given data set.IndTestConditionalCorrelation.getVariables()
Returns the list of variables over which this independence checker is capable of determining independence relations-- that is, all the variables in the given graph or the given data set.IndTestConditionalGaussianLrt.getVariables()
Returns the list of variables over which this independence checker is capable of determining independence relations.IndTestDegenerateGaussianLrt.getVariables()
Returns the list of searchVariables over which this independence checker is capable of determinining independence relations.IndTestFisherZ.getVariables()
Returns the list of variables over which this independence checker is capable of determinine independence relations-- that is, all the variables in the given graph or the given data set.IndTestFisherZConcatenateResiduals.getVariables()
Returns the list of variables used in this method.IndTestFisherZFisherPValue.getVariables()
Returns the list of variables over which this independence checker is capable of determinine independence relations-- that is, all the variables in the given graph or the given data set.IndTestGSquare.getVariables()
Return the list of variables over which this independence checker is capable of determining independence relations-- that is, all the variables in the given graph or the given data set.IndTestHsic.getVariables()
Returns the list of variables over which this independence checker is capable of determinine independence relations-- that is, all the variables in the given graph or the given data set.IndTestIndependenceFacts.getVariables()
Returns the list of variables for the facts.IndTestMulti.getVariables()
Retrieves the list of variables associated with this object.IndTestMvpLrt.getVariables()
Returns the list of searchVariables over which this independence checker is capable of determinining independence relations.IndTestProbabilistic.getVariables()
Returns the list of variables used in this object.IndTestRegression.getVariables()
Returns the list of variables associated with this object.IndTestTrekSep.getVariables()
Returns the list of variables over which this independence checker is capable of determinine independence relations-- that is, all the variables in the given graph or the given data set.Kci.getVariables()
Returns the list of variables over which this independence checker is capable of determinining independence relations.MsepTest.getVariables()
Return the list of TetradNodes over which this independence checker is capable of determinine independence relations-- that is, all the variables in the given graph or the given data set.ScoreIndTest.getVariables()
Returns the list of variables over which this independence checker is capable of determinining independence relations.Methods in edu.cmu.tetrad.search.test with parameters of type NodeModifier and TypeMethodDescriptionIndTestChiSquare.checkIndependence
(Node x, Node y, Set<Node> _z) Determines whether variable x is independent of variable y given a list of conditioning varNames z.IndTestConditionalCorrelation.checkIndependence
(Node x, Node y, Set<Node> z) Checks the independence of x _||_ y | zIndTestConditionalGaussianLrt.checkIndependence
(Node x, Node y, Set<Node> _z) Returns and independence result that states whether x _||_y | z and what the p-value of the test is.IndTestDegenerateGaussianLrt.checkIndependence
(Node x, Node y, Set<Node> _z) Returns an independence result specifying whether x _||_ y | Z and what its p-values are.IndTestFisherZ.checkIndependence
(Node x, Node y, Set<Node> z) Determines whether variable x _||_ y | z given a list of conditioning variables z.IndTestFisherZConcatenateResiduals.checkIndependence
(Node x, Node y, Set<Node> _z) Determines whether x _||_ y | z.IndTestFisherZFisherPValue.checkIndependence
(Node x, Node y, Set<Node> _z) Checks for independence between two nodes given a set of conditioning nodes.IndTestGSquare.checkIndependence
(Node x, Node y, Set<Node> _z) Determines whether variable x is independent of variable y given a list of conditioning varNames z.IndTestHsic.checkIndependence
(Node y, Node x, Set<Node> _z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestIndependenceFacts.checkIndependence
(Node x, Node y, Set<Node> __z) Checks independence by looking up facts in the list of facts supplied in the constructor.IndTestMulti.checkIndependence
(Node x, Node y, Set<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestMvpLrt.checkIndependence
(Node x, Node y, Set<Node> _z) Determines whether two nodes are independent given a set of conditioning nodes.IndTestProbabilistic.checkIndependence
(Node x, Node y, Node... z) Checks the independence fact in question and returns and independence result.IndTestProbabilistic.checkIndependence
(Node x, Node y, Set<Node> _z) checkIndependence.IndTestRegression.checkIndependence
(Node xVar, Node yVar, Set<Node> zList) Checks the independence between two variables, given a set of conditioning variables.IndTestTrekSep.checkIndependence
(Node x, Node y, Set<Node> z) Determines independence between variables x and y, given the set of variables z.Kci.checkIndependence
(Node x, Node y, Set<Node> z) Checks the independence between two nodes given a set of conditioning variables.MsepTest.checkIndependence
(Node x, Node y, Set<Node> z) Checks the independence between two nodes with respect to a set of conditioning nodes.ScoreIndTest.checkIndependence
(Node x, Node y, Set<Node> z) Checks the independence between two nodes given a set of additional nodes.boolean
IndTestChiSquare.determines
(List<Node> z, Node x) Determines whether variable x is independent of variable y given a list of conditioning nodes.boolean
IndTestConditionalCorrelation.determines
(List<Node> z, Node x) Determines whether the nodes z determine x.boolean
IndTestConditionalGaussianLrt.determines
(List<Node> z, Node y) Determines whether a given list of nodes (z) determines a node (y).boolean
IndTestDegenerateGaussianLrt.determines
(List<Node> z, Node y) Determines whether a given list of nodes z determines a node y.boolean
IndTestFisherZ.determines
(List<Node> z, Node x) Determines if a given Node x is determined by a list of Nodes z.boolean
IndTestFisherZConcatenateResiduals.determines
(List<Node> z, Node x) Determines whether the z nodes determine the x node.boolean
IndTestFisherZFisherPValue.determines
(List<Node> z, Node x) Determines if a given list of conditioning nodes (z) determines the value of a specific node (x).boolean
IndTestGSquare.determines
(Set<Node> _z, Node x) Determines whether variable x is independent of a set of variables _z.boolean
IndTestHsic.determines
(List<Node> z, Node x) Determines whether variable x is independent of variable y given a list of conditioning variables z.boolean
IndTestIndependenceFacts.determines
(List<Node> z, Node y) Determines if the given list of nodes (z) determines the specified node (y).boolean
IndTestMulti.determines
(List<Node> z, Node x) Determines whether variable x is independent of variable y given a list of conditioning variables z.boolean
IndTestMvpLrt.determines
(List<Node> z, Node y) Determines whether two nodes are independent given a set of conditioning nodes.boolean
IndTestProbabilistic.determines
(Set<Node> z, Node y) Determines whether a given set of nodes, z, determines another node, y.boolean
IndTestRegression.determines
(List<Node> zList, Node xVar) Determines if a variable xVar can be determined by a list of conditioning variables zList.boolean
IndTestTrekSep.determines
(List<Node> z, Node x) Determines the independence between a set of variables z and a variable x.boolean
Kci.determines
(List<Node> z, Node y) Determines the independence between a set of nodes and a target node.boolean
MsepTest.determines
(List<Node> z, Node x1) Determines if a node is m-separated from a set of conditioning nodes.boolean
ScoreIndTest.determines
(List<Node> z, Node y) Determines the result of an independence test between a set of variables and a target variable.Returns the pvalue if the fact of X _||_ Y | Z is within the cache of results for independence fact.double
Returns the p-value for x _||_ y | z.double
ConditionalCorrelationIndependence.isIndependent
(Node x, Node y, Set<Node> _z) Returns the p-value of the test, x _||_ y | z.boolean
MsepTest.isMSeparated
(Node x, Node y, Set<Node> z) Auxiliary method to calculate msep(x, y | z) directly from nodes instead of from variables.double
IndTestProbabilistic.probConstraint
(BCInference bci, BCInference.OP op, Node x, Node y, Node[] z, Map<Node, Integer> indices) Returns the probability of the constraint x op y | z.double[]
Calculates the residuals of x regressed nonparametrically onto z.Method parameters in edu.cmu.tetrad.search.test with type arguments of type NodeModifier and TypeMethodDescriptionIndTestChiSquare.checkIndependence
(Node x, Node y, Set<Node> _z) Determines whether variable x is independent of variable y given a list of conditioning varNames z.IndTestConditionalCorrelation.checkIndependence
(Node x, Node y, Set<Node> z) Checks the independence of x _||_ y | zIndTestConditionalGaussianLrt.checkIndependence
(Node x, Node y, Set<Node> _z) Returns and independence result that states whether x _||_y | z and what the p-value of the test is.IndTestDegenerateGaussianLrt.checkIndependence
(Node x, Node y, Set<Node> _z) Returns an independence result specifying whether x _||_ y | Z and what its p-values are.IndTestFisherZ.checkIndependence
(Node x, Node y, Set<Node> z) Determines whether variable x _||_ y | z given a list of conditioning variables z.IndTestFisherZConcatenateResiduals.checkIndependence
(Node x, Node y, Set<Node> _z) Determines whether x _||_ y | z.IndTestFisherZFisherPValue.checkIndependence
(Node x, Node y, Set<Node> _z) Checks for independence between two nodes given a set of conditioning nodes.IndTestGSquare.checkIndependence
(Node x, Node y, Set<Node> _z) Determines whether variable x is independent of variable y given a list of conditioning varNames z.IndTestHsic.checkIndependence
(Node y, Node x, Set<Node> _z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestIndependenceFacts.checkIndependence
(Node x, Node y, Set<Node> __z) Checks independence by looking up facts in the list of facts supplied in the constructor.IndTestMulti.checkIndependence
(Node x, Node y, Set<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestMvpLrt.checkIndependence
(Node x, Node y, Set<Node> _z) Determines whether two nodes are independent given a set of conditioning nodes.IndTestProbabilistic.checkIndependence
(Node x, Node y, Set<Node> _z) checkIndependence.IndTestRegression.checkIndependence
(Node xVar, Node yVar, Set<Node> zList) Checks the independence between two variables, given a set of conditioning variables.IndTestTrekSep.checkIndependence
(Node x, Node y, Set<Node> z) Determines independence between variables x and y, given the set of variables z.Kci.checkIndependence
(Node x, Node y, Set<Node> z) Checks the independence between two nodes given a set of conditioning variables.MsepTest.checkIndependence
(Node x, Node y, Set<Node> z) Checks the independence between two nodes with respect to a set of conditioning nodes.ScoreIndTest.checkIndependence
(Node x, Node y, Set<Node> z) Checks the independence between two nodes given a set of additional nodes.boolean
IndTestChiSquare.determines
(List<Node> z, Node x) Determines whether variable x is independent of variable y given a list of conditioning nodes.boolean
IndTestConditionalCorrelation.determines
(List<Node> z, Node x) Determines whether the nodes z determine x.boolean
IndTestConditionalGaussianLrt.determines
(List<Node> z, Node y) Determines whether a given list of nodes (z) determines a node (y).boolean
IndTestDegenerateGaussianLrt.determines
(List<Node> z, Node y) Determines whether a given list of nodes z determines a node y.boolean
IndTestFisherZ.determines
(List<Node> z, Node x) Determines if a given Node x is determined by a list of Nodes z.boolean
IndTestFisherZConcatenateResiduals.determines
(List<Node> z, Node x) Determines whether the z nodes determine the x node.boolean
IndTestFisherZFisherPValue.determines
(List<Node> z, Node x) Determines if a given list of conditioning nodes (z) determines the value of a specific node (x).boolean
IndTestGSquare.determines
(Set<Node> _z, Node x) Determines whether variable x is independent of a set of variables _z.boolean
IndTestHsic.determines
(List<Node> z, Node x) Determines whether variable x is independent of variable y given a list of conditioning variables z.boolean
IndTestIndependenceFacts.determines
(List<Node> z, Node y) Determines if the given list of nodes (z) determines the specified node (y).boolean
IndTestMulti.determines
(List<Node> z, Node x) Determines whether variable x is independent of variable y given a list of conditioning variables z.boolean
IndTestMvpLrt.determines
(List<Node> z, Node y) Determines whether two nodes are independent given a set of conditioning nodes.boolean
IndTestProbabilistic.determines
(Set<Node> z, Node y) Determines whether a given set of nodes, z, determines another node, y.boolean
IndTestRegression.determines
(List<Node> zList, Node xVar) Determines if a variable xVar can be determined by a list of conditioning variables zList.boolean
IndTestTrekSep.determines
(List<Node> z, Node x) Determines the independence between a set of variables z and a variable x.boolean
Kci.determines
(List<Node> z, Node y) Determines the independence between a set of nodes and a target node.boolean
MsepTest.determines
(List<Node> z, Node x1) Determines if a node is m-separated from a set of conditioning nodes.boolean
ScoreIndTest.determines
(List<Node> z, Node y) Determines the result of an independence test between a set of variables and a target variable.Returns the pvalue if the fact of X _||_ Y | Z is within the cache of results for independence fact.double
Returns the p-value for x _||_ y | z.IndTestChiSquare.indTestSubset
(List<Node> nodes) Checks conditional independence between variables in a subset.IndTestConditionalCorrelation.indTestSubset
(List<Node> vars) Constructs a new Independence test which checks independence facts based on the correlation data implied by the given data set (must be continuous).IndTestConditionalGaussianLrt.indTestSubset
(List<Node> vars) This method returns an instance of the IndependenceTest interface that can test the independence of a subset of variables.IndTestDegenerateGaussianLrt.indTestSubset
(List<Node> vars) Subsets the variables used in the independence test.IndTestFisherZ.indTestSubset
(List<Node> vars) Creates a new independence test instance for a subset of the variables.IndTestFisherZConcatenateResiduals.indTestSubset
(List<Node> vars) Returns an Independence test for a sublist of the variables.IndTestFisherZFisherPValue.indTestSubset
(List<Node> vars) Returns an Independence test for a sublist of the variables.IndTestGSquare.indTestSubset
(List<Node> vars) Performs an independence test on a subset of variables.IndTestHsic.indTestSubset
(List<Node> vars) Subset of variables for independence testing.IndTestIndependenceFacts.indTestSubset
(List<Node> vars) Returns anIndependenceTest
object for a sublist of variables.IndTestMulti.indTestSubset
(List<Node> vars) Returns an Independence test for a sublist of the variables.IndTestMvpLrt.indTestSubset
(List<Node> vars) Returns an Independence test for a sublist of the variables.IndTestProbabilistic.indTestSubset
(List<Node> vars) Returns an Independence test for a sublist of the variables.IndTestRegression.indTestSubset
(List<Node> vars) Performs an independence test for a sublist of variables.IndTestTrekSep.indTestSubset
(List<Node> vars) Determines independence between variables in a given subset.Kci.indTestSubset
(List<Node> vars) MsepTest.indTestSubset
(List<Node> vars) Conducts an independence test on a subset of variables.ScoreIndTest.indTestSubset
(List<Node> vars) Tests the independence between variables in a given sublist.double
ConditionalCorrelationIndependence.isIndependent
(Node x, Node y, Set<Node> _z) Returns the p-value of the test, x _||_ y | z.boolean
MsepTest.isMSeparated
(Node x, Node y, Set<Node> z) Auxiliary method to calculate msep(x, y | z) directly from nodes instead of from variables.double
IndTestProbabilistic.probConstraint
(BCInference bci, BCInference.OP op, Node x, Node y, Node[] z, Map<Node, Integer> indices) Returns the probability of the constraint x op y | z.double[]
Calculates the residuals of x regressed nonparametrically onto z.void
IndTestFisherZ.setVariables
(List<Node> variables) Sets the variables to a new list of the same size.void
IndTestTrekSep.setVariables
(List<Node> variables) Sets the varialbe to this list (of the same length).Constructor parameters in edu.cmu.tetrad.search.test with type arguments of type NodeModifierConstructorDescriptionIndTestFisherZ
(Matrix data, List<Node> variables, double alpha) Constructs a new Fisher Z independence test with the listed arguments.IndTestHsic
(Matrix data, List<Node> variables, double alpha) Constructs a new HSIC Independence test.IndTestTrekSep
(ICovarianceMatrix covMatrix, double alpha, List<List<Node>> clustering, List<Node> latents) Constructs a new independence test that will determine conditional independence facts using the given correlation matrix and the given significance level.MsepTest
(IndependenceFacts facts, List<Node> variables) Constructor. -
Uses of Node in edu.cmu.tetrad.search.utils
Methods in edu.cmu.tetrad.search.utils that return NodeModifier and TypeMethodDescriptionTeyssierScorer.get
(int j) Returns the node at index j in pi.Bes.Arrow.getA()
Returns the first node.Bes.Arrow.getB()
Returns the second node.Tetrad.getI()
Getter for the fieldi
.Tetrad.getJ()
Getter for the fieldj
.Tetrad.getK()
Getter for the fieldk
.Tetrad.getL()
Getter for the fieldl
.GrowShrinkTree.getNode()
Getter for the fieldnode
.static Node
translate.Methods in edu.cmu.tetrad.search.utils that return types with arguments of type NodeModifier and TypeMethodDescriptionLogUtilsSearch.buildIndexing
(List<Node> nodes) buildIndexing.ClusterUtils.clustersToPartition
(Clusters clusters, List<Node> variables) Converts a list of indices into a list of Nodes representing a cluster.MimUtils.convertToClusters2
(Graph clusterGraph) convertToClusters2.Returns the parents of the node x.Retrieves the sepset previously set for {a, b}, or null if no such set was previously set.TeyssierScorer.getAdjacentNodes
(Node v) Returns the nodes adjacent to v.TeyssierScorer.getAncestors
(Node node) getAncestors.TeyssierScorer.getChildren
(int p) Returns the children of a node v.TeyssierScorer.getChildren
(Node v) Returns the children of a node v.PossibleMConnectingPath.getConditions()
Getter for the fieldconditions
.TeyssierScorer.getEdges()
Returns a list of edges for the current graph as a list of ordered pairs.GrowShrinkTree.getFirstLayer()
getFirstLayer.GrowShrinkTree.getForbidden()
Getter for the fieldforbidden
.Tetrad.getNodes()
getNodes.TeyssierScorer.getOrderShallow()
Returns the current permutation without making a copy.Bes.Arrow.getParents()
Returns the set of nodes that are in TNeighbors.TeyssierScorer.getParents
(int p) Returns the parents of the node at index p.TeyssierScorer.getParents
(Node v) Returns the parents of a node v.PossibleMConnectingPath.getPath()
Getter for the fieldpath
.TeyssierScorer.getPi()
Getter for the fieldpi
.TeyssierScorer.getPrefix
(int i) getPrefix.GraphSearchUtils.getReachableNodes
(List<Node> initialNodes, LegalPairs legalPairs, List<Node> c, List<Node> d, Graph graph, int maxPathLength) getReachableNodes.GrowShrinkTree.getRequired()
Getter for the fieldrequired
.getSepset.PossibleMsepFci.getSepset
(IndependenceTest test, Node node1, Node node2) Getter for the fieldsepset
.getSepset.Retrieves the sepset (separating set) between two nodes, or null if no such sepset is found.Returns the set of nodes in the sepset between two given nodes, or null if no sepset is found.Returns the set of nodes that form the sepset (separating set) between two given nodes.Retrieves the separation set (sepset) between two nodes.Retrieves the sepset between two nodes.DagSepsets.getSepsetContaining
(Node a, Node b, Set<Node> s) Returns the sepset containing nodes 'a' and 'b' that also contains all the nodes in the given set 's'.SepsetProducer.getSepsetContaining
(Node a, Node b, Set<Node> s) Returns the subset for a and b, where this sepset is expected to contain all the nodes in s.SepsetsGreedy.getSepsetContaining
(Node i, Node k, Set<Node> s) Retrieves a sepset (separating set) between two nodes containing a set of nodes, or null if no such sepset is found.SepsetsMaxP.getSepsetContaining
(Node i, Node k, Set<Node> s) Returns the set of nodes in the sepset between two given nodes containing a given set of separator nodes, or null if no sepset is found.SepsetsMinP.getSepsetContaining
(Node i, Node k, Set<Node> s) Returns the set of nodes that form the sepset (separating set) between two given nodes containing all the nodes in the given set.SepsetsPossibleMsep.getSepsetContaining
(Node i, Node k, Set<Node> s) Retrieves the separation set (sepset) between two nodes i and k that contains a given set of nodes s.SepsetsSet.getSepsetContaining
(Node a, Node b, Set<Node> s) Retrieves the sepset for a and b, where we are expecting this sepset to contain all the nodes in s.SepsetsMaxP.getSepsetsLists
(Node x, Node y, Node z, IndependenceTest test, int depth, boolean verbose) getSepsetsLists.SepsetsMinP.getSepsetsLists
(Node x, Node y, Node z, IndependenceTest test, int depth, boolean verbose) getSepsetsLists.TeyssierScorer.getShuffledVariables()
getShuffledVariables.TeyssierScorer.getSkeleton()
getSkeleton.Bes.Arrow.getTNeighbors()
Returns the set of nodes that are in TNeighbors.FciOrient.getUcCirclePaths
(Node n1, Node n2, Graph graph) Gets a list of every uncovered circle path between two nodes in the graph by iterating through the uncovered partially directed undirectedPaths and only keeping the circle undirectedPaths.FciOrient.getUcPdPaths
(Node n1, Node n2, Graph graph) Gets a list of every uncovered partially directed path between two nodes in the graph.Bes.getVariables()
Returns the variables being searched over.BesPermutation.getVariables()
Returns the variables.DagSepsets.getVariables()
getVariables.DeltaSextadTest.getVariables()
Returns the variables of the data being used.GrowShrinkTree.getVariables()
getVariables.SepsetProducer.getVariables()
getVariables.SepsetsGreedy.getVariables()
getVariables.SepsetsMaxP.getVariables()
getVariables.SepsetsMinP.getVariables()
getVariables.SepsetsPossibleMsep.getVariables()
getVariables.SepsetsSet.getVariables()
getVariables.TetradTest.getVariables()
getVariables.TetradTestContinuous.getVariables()
Getter for the fieldvariables
.TetradTestDiscrete.getVariables()
getVariables.TetradTestPopulation.getVariables()
getVariables.GraphoidAxioms.GraphoidIndFact.getX()
Returns the set of nodes X.GraphoidAxioms.GraphoidIndFact.getY()
Returns the set of nodes Y.GraphoidAxioms.GraphoidIndFact.getZ()
Returns the set of nodes Z.MeekRules.orientImplied
(Graph graph) Uses the Meek rules to do as many orientations in the given graph as possible.powerSet.purify.purify.purify.ClusterSignificance.variablesForIndices
(List<Integer> cluster, List<Node> variables) Converts a list of indices into a list of Nodes representing a cluster.Converts a list of indices into a list of Nodes representing a cluster.Methods in edu.cmu.tetrad.search.utils with parameters of type NodeModifier and TypeMethodDescriptionboolean
Returns True iff a is adjacent to b in the current graph.static void
GraphSearchUtils.basicCpdagRestricted2
(Graph graph, Node node) basicCpdagRestricted2.boolean
Returns true iff [a, b, c] is a collider.static String
LogUtilsSearch.colliderOrientedMsg
(Node x, Node y, Node z) colliderOrientedMsg.static String
colliderOrientedMsg.static String
LogUtilsSearch.colliderOrientedMsg
(String note, Node x, Node y, Node z) colliderOrientedMsg.double
Calculates the partial correlation of x and y conditional on the nodes in z recursively.boolean
TeyssierScorer.coveredEdge
(Node x, Node y) Returns true iff x->y or y->x is a covered edge.void
a method to search "back from a" to find a DDP.static String
LogUtilsSearch.dependenceFactMsg
(Node x, Node y, Set<Node> condSet, double pValue) dependenceFactMsg.static String
LogUtilsSearch.determinismDetected
(Set<Node> sepset, Node x) determinismDetected.static boolean
DagToPag.existsInducingPathInto
(Node x, Node y, Graph graph) existsInducingPathInto.static boolean
TsDagToPag.existsInducingPathInto
(Node x, Node y, Graph graph, Knowledge knowledge) existsInducingPathInto.static boolean
TsDagToPag.existsInducingPathVisitts
(Graph graph, Node a, Node b, Node x, Node y, LinkedList<Node> path, Knowledge knowledge) existsInducingPathVisitts.static List<PossibleMConnectingPath>
PossibleMConnectingPath.findMConnectingPaths
(Graph pag, Node x, Node y, Collection<Node> z) Finds all possible D-connection undirectedPaths as sub-graphs of the pag given at construction time from x to y given z.static List<PossibleMConnectingPath>
PossibleMConnectingPath.findMConnectingPathsOfLength
(Graph pag, Node x, Node y, Collection<Node> z, Integer length) Finds all possible D-connection undirectedPaths as sub-graphs of the pag given at construction time from x to y given z for a particular path length.MbUtils.generateMbDags
(Graph mbCPDAG, boolean orientBidirectedEdges, IndependenceTest test, int depth, Node target) Generates the list of MB DAGs consistent with the MB CPDAG returned by the previous search.Returns the parents of the node x.Retrieves the sepset previously set for {a, b}, or null if no such set was previously set.TeyssierScorer.getAdjacentNodes
(Node v) Returns the nodes adjacent to v.TeyssierScorer.getAncestors
(Node node) getAncestors.TeyssierScorer.getChildren
(Node v) Returns the children of a node v.GraphSearchUtils.getCpcTripleType
(Node x, Node y, Node z, IndependenceTest test, int depth, Graph graph) getCpcTripleType.Getter for the fieldindex
.TeyssierScorer.getParents
(Node v) Returns the parents of a node v.double
double
Looks up the p-value for {x, y}double
Calculates the p-value for a statistical test a _||_ b | sepset.double
Returns the p-value for the independence test between two nodes, given a set of separator nodes.double
Returns the p-value for the independence test between two nodes, given a set of separator nodes.double
Returns the p-value for the independence test between two nodes, given a set of separator nodes.double
Returns the p-value for the independence test between two nodes, given a set of separator nodes.double
static String
LogUtilsSearch.getScoreFact
(Node i, List<Node> parents) getScoreFact.getSepset.PossibleMsepFci.getSepset
(IndependenceTest test, Node node1, Node node2) Getter for the fieldsepset
.getSepset.Retrieves the sepset (separating set) between two nodes, or null if no such sepset is found.Returns the set of nodes in the sepset between two given nodes, or null if no sepset is found.Returns the set of nodes that form the sepset (separating set) between two given nodes.Retrieves the separation set (sepset) between two nodes.Retrieves the sepset between two nodes.DagSepsets.getSepsetContaining
(Node a, Node b, Set<Node> s) Returns the sepset containing nodes 'a' and 'b' that also contains all the nodes in the given set 's'.SepsetProducer.getSepsetContaining
(Node a, Node b, Set<Node> s) Returns the subset for a and b, where this sepset is expected to contain all the nodes in s.SepsetsGreedy.getSepsetContaining
(Node i, Node k, Set<Node> s) Retrieves a sepset (separating set) between two nodes containing a set of nodes, or null if no such sepset is found.SepsetsMaxP.getSepsetContaining
(Node i, Node k, Set<Node> s) Returns the set of nodes in the sepset between two given nodes containing a given set of separator nodes, or null if no sepset is found.SepsetsMinP.getSepsetContaining
(Node i, Node k, Set<Node> s) Returns the set of nodes that form the sepset (separating set) between two given nodes containing all the nodes in the given set.SepsetsPossibleMsep.getSepsetContaining
(Node i, Node k, Set<Node> s) Retrieves the separation set (sepset) between two nodes i and k that contains a given set of nodes s.SepsetsSet.getSepsetContaining
(Node a, Node b, Set<Node> s) Retrieves the sepset for a and b, where we are expecting this sepset to contain all the nodes in s.SepsetsMaxP.getSepsetsLists
(Node x, Node y, Node z, IndependenceTest test, int depth, boolean verbose) getSepsetsLists.SepsetsMinP.getSepsetsLists
(Node x, Node y, Node z, IndependenceTest test, int depth, boolean verbose) getSepsetsLists.FciOrient.getUcCirclePaths
(Node n1, Node n2, Graph graph) Gets a list of every uncovered circle path between two nodes in the graph by iterating through the uncovered partially directed undirectedPaths and only keeping the circle undirectedPaths.FciOrient.getUcPdPaths
(Node n1, Node n2, Graph graph) Gets a list of every uncovered partially directed path between two nodes in the graph.static String
LogUtilsSearch.independenceFact
(Node x, Node y, Set<Node> condSet) independenceFact.static String
LogUtilsSearch.independenceFactMsg
(Node x, Node y, Set<Node> condSet, double pValue) independenceFactMsg.int
Return the index of v in the current permutation.static boolean
FciOrient.isArrowheadAllowed
(Node x, Node y, Graph graph, Knowledge knowledge) isArrowheadAllowed.boolean
GrowShrinkTree.isForbidden
(Node node) isForbidden.boolean
DagSepsets.isIndependent
(Node a, Node b, Set<Node> sepset) isIndependent.boolean
SepsetProducer.isIndependent
(Node d, Node c, Set<Node> sepset) isIndependent.boolean
SepsetsGreedy.isIndependent
(Node a, Node b, Set<Node> sepset) isIndependent.boolean
SepsetsMaxP.isIndependent
(Node a, Node b, Set<Node> sepset) Determines if two nodes are independent given a set of separator nodes.boolean
SepsetsMinP.isIndependent
(Node a, Node b, Set<Node> sepset) Determines if two nodes are independent given a set of separator nodes.boolean
SepsetsPossibleMsep.isIndependent
(Node d, Node c, Set<Node> sepset) isIndependent.boolean
SepsetsSet.isIndependent
(Node a, Node b, Set<Node> sepset) isIndependent.static boolean
ResolveSepsets.isIndependentPooled
(ResolveSepsets.Method method, List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Tests for independence using one of the pooled methodsstatic boolean
ResolveSepsets.isIndependentPooledAverage
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by taking the average p valuestatic boolean
ResolveSepsets.isIndependentPooledAverageTest
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by taking the average test statistic CURRENTLY ONLY WORKS FOR CHISQUARE TESTstatic boolean
ResolveSepsets.isIndependentPooledFisher
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Fisher's method.static boolean
ResolveSepsets.isIndependentPooledFisher2
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Eliminates from considerations independence tests that cannot be evaluated (due to missing variables mainly).static boolean
ResolveSepsets.isIndependentPooledMudholkerGeorge
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Mudholker and George's methodstatic boolean
ResolveSepsets.isIndependentPooledMudholkerGeorge2
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) The same as isIndepenentPooledMudholkerGeoerge, except that only available independence tests are used.static boolean
ResolveSepsets.isIndependentPooledRandom
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by randomly selecting a p valuestatic boolean
ResolveSepsets.isIndependentPooledStouffer
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Stouffer et al.'s methodstatic boolean
ResolveSepsets.isIndependentPooledTippett
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Tippett's methodstatic boolean
ResolveSepsets.isIndependentPooledWilkinson
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet, int r) Checks independence from pooled samples using Wilkinson's methodstatic boolean
ResolveSepsets.isIndependentPooledWorsleyFriston
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Worsley and Friston's methodboolean
LegalPairs.isLegalFirstEdge
(Node x, Node y) isLegalFirstEdge.boolean
isLegalPair.boolean
GrowShrinkTree.isRequired
(Node node) isRequired.boolean
DagSepsets.isUnshieldedCollider
(Node i, Node j, Node k) isUnshieldedCollider.boolean
SepsetProducer.isUnshieldedCollider
(Node i, Node j, Node k) isUnshieldedCollider.boolean
SepsetsGreedy.isUnshieldedCollider
(Node i, Node j, Node k) isUnshieldedCollider.boolean
SepsetsMaxP.isUnshieldedCollider
(Node i, Node j, Node k) isUnshieldedCollider.boolean
SepsetsMinP.isUnshieldedCollider
(Node i, Node j, Node k) isUnshieldedCollider.boolean
SepsetsPossibleMsep.isUnshieldedCollider
(Node i, Node j, Node k) isUnshieldedCollider.boolean
SepsetsSet.isUnshieldedCollider
(Node i, Node j, Node k) isUnshieldedCollider.void
Moves v to a new index.static void
PcCommon.orientCollider
(Node x, Node y, Node z, PcCommon.ConflictRule conflictRule, Graph graph, boolean verbose) Orient a single unshielded triple, x*-*y*-*z, in a graph.boolean
parent.void
ruleR1.void
Tries to apply Zhang's rule R10 to a pair of nodes A and C which are assumed to be such that Ao->C.void
ruleR2.boolean
Tries to apply Zhang's rule R8 to a pair of nodes A and C which are assumed to be such that Ao->C.boolean
Tries to apply Zhang's rule R9 to a pair of nodes A and C which are assumed to be such that Ao->C.void
Sets the sepset for {x, y} to be z.void
SepsetMap.set
(Node x, LinkedHashSet<Node> z) Sets the parents of x to the (ordered) set z.void
Kernel.setDefaultBw
(DataSet dataset, Node node) Sets bandwidth from data using default methodvoid
KernelGaussian.setDefaultBw
(DataSet dataset, Node node) Sets bandwidth from data using default methodvoid
KernelGaussian.setMedianBandwidth
(DataSet dataset, Node node) Sets the bandwidth of the kernel to median distance between two points in the given vectorboolean
Swaps m and n in the permutation.void
Performs a tuck operation.boolean
Returns true iff [a, b, c] is a triangle.static void
MbUtils.trimEdgesAmongParents
(Graph graph, Node target) Removes edges among the parents of the target.static void
MbUtils.trimEdgesAmongParentsOfChildren
(Graph graph, Node target) Removes edges among the parents of children of the target.static void
MbUtils.trimToAdjacents
(Graph graph, Node target) Trims the graph to just the adjacents of the target.static void
MbUtils.trimToMbNodes
(Graph graph, Node target, boolean includeBidirected) Trims the graph to the target, the parents and children of the target, and the parents of the children of the target.boolean
Moves j to before k and moves all the ancestors of j betwween k and j to before k.Method parameters in edu.cmu.tetrad.search.utils with type arguments of type NodeModifier and TypeMethodDescriptionvoid
Runs BES for a graph over the given list of variablesvoid
Runs BES.LogUtilsSearch.buildIndexing
(List<Node> nodes) buildIndexing.boolean
True iff the nodes in W form a clique in the current DAG.ClusterUtils.clustersToPartition
(Clusters clusters, List<Node> variables) Converts a list of indices into a list of Nodes representing a cluster.static String
colliderOrientedMsg.static List<int[]>
Converts a list of indices into a list of Nodes representing a cluster.static Clusters
MimUtils.convertToClusters
(Graph clusterGraph, List<Node> measuredVariables) Converts a disconnected multiple indicator model into a set of clusters.double
Calculates the partial correlation of x and y conditional on the nodes in z recursively.static String
LogUtilsSearch.dependenceFactMsg
(Node x, Node y, Set<Node> condSet, double pValue) dependenceFactMsg.static String
LogUtilsSearch.determinismDetected
(Set<Node> sepset, Node x) determinismDetected.static boolean
TsDagToPag.existsInducingPathVisitts
(Graph graph, Node a, Node b, Node x, Node y, LinkedList<Node> path, Knowledge knowledge) existsInducingPathVisitts.void
FciOrient.fciOrientbk
(Knowledge bk, Graph graph, List<Node> variables) Orients according to background knowledgestatic List<PossibleMConnectingPath>
PossibleMConnectingPath.findMConnectingPaths
(Graph pag, Node x, Node y, Collection<Node> z) Finds all possible D-connection undirectedPaths as sub-graphs of the pag given at construction time from x to y given z.static List<PossibleMConnectingPath>
PossibleMConnectingPath.findMConnectingPathsOfLength
(Graph pag, Node x, Node y, Collection<Node> z, Integer length) Finds all possible D-connection undirectedPaths as sub-graphs of the pag given at construction time from x to y given z for a particular path length.double
double
Calculates the p-value for a statistical test a _||_ b | sepset.double
Returns the p-value for the independence test between two nodes, given a set of separator nodes.double
Returns the p-value for the independence test between two nodes, given a set of separator nodes.double
Returns the p-value for the independence test between two nodes, given a set of separator nodes.double
Returns the p-value for the independence test between two nodes, given a set of separator nodes.double
GraphSearchUtils.getReachableNodes
(List<Node> initialNodes, LegalPairs legalPairs, List<Node> c, List<Node> d, Graph graph, int maxPathLength) getReachableNodes.static String
LogUtilsSearch.getScoreFact
(int i, int[] parents, List<Node> variables) getScoreFact.static String
LogUtilsSearch.getScoreFact
(Node i, List<Node> parents) getScoreFact.DagSepsets.getSepsetContaining
(Node a, Node b, Set<Node> s) Returns the sepset containing nodes 'a' and 'b' that also contains all the nodes in the given set 's'.SepsetProducer.getSepsetContaining
(Node a, Node b, Set<Node> s) Returns the subset for a and b, where this sepset is expected to contain all the nodes in s.SepsetsGreedy.getSepsetContaining
(Node i, Node k, Set<Node> s) Retrieves a sepset (separating set) between two nodes containing a set of nodes, or null if no such sepset is found.SepsetsMaxP.getSepsetContaining
(Node i, Node k, Set<Node> s) Returns the set of nodes in the sepset between two given nodes containing a given set of separator nodes, or null if no sepset is found.SepsetsMinP.getSepsetContaining
(Node i, Node k, Set<Node> s) Returns the set of nodes that form the sepset (separating set) between two given nodes containing all the nodes in the given set.SepsetsPossibleMsep.getSepsetContaining
(Node i, Node k, Set<Node> s) Retrieves the separation set (sepset) between two nodes i and k that contains a given set of nodes s.SepsetsSet.getSepsetContaining
(Node a, Node b, Set<Node> s) Retrieves the sepset for a and b, where we are expecting this sepset to contain all the nodes in s.static String
LogUtilsSearch.independenceFact
(Node x, Node y, Set<Node> condSet) independenceFact.static String
LogUtilsSearch.independenceFactMsg
(Node x, Node y, Set<Node> condSet, double pValue) independenceFactMsg.boolean
DagSepsets.isIndependent
(Node a, Node b, Set<Node> sepset) isIndependent.boolean
SepsetProducer.isIndependent
(Node d, Node c, Set<Node> sepset) isIndependent.boolean
SepsetsGreedy.isIndependent
(Node a, Node b, Set<Node> sepset) isIndependent.boolean
SepsetsMaxP.isIndependent
(Node a, Node b, Set<Node> sepset) Determines if two nodes are independent given a set of separator nodes.boolean
SepsetsMinP.isIndependent
(Node a, Node b, Set<Node> sepset) Determines if two nodes are independent given a set of separator nodes.boolean
SepsetsPossibleMsep.isIndependent
(Node d, Node c, Set<Node> sepset) isIndependent.boolean
SepsetsSet.isIndependent
(Node a, Node b, Set<Node> sepset) isIndependent.static boolean
ResolveSepsets.isIndependentPooled
(ResolveSepsets.Method method, List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Tests for independence using one of the pooled methodsstatic boolean
ResolveSepsets.isIndependentPooledAverage
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by taking the average p valuestatic boolean
ResolveSepsets.isIndependentPooledAverageTest
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by taking the average test statistic CURRENTLY ONLY WORKS FOR CHISQUARE TESTstatic boolean
ResolveSepsets.isIndependentPooledFisher
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Fisher's method.static boolean
ResolveSepsets.isIndependentPooledFisher2
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Eliminates from considerations independence tests that cannot be evaluated (due to missing variables mainly).static boolean
ResolveSepsets.isIndependentPooledMudholkerGeorge
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Mudholker and George's methodstatic boolean
ResolveSepsets.isIndependentPooledMudholkerGeorge2
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) The same as isIndepenentPooledMudholkerGeoerge, except that only available independence tests are used.static boolean
ResolveSepsets.isIndependentPooledRandom
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by randomly selecting a p valuestatic boolean
ResolveSepsets.isIndependentPooledStouffer
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Stouffer et al.'s methodstatic boolean
ResolveSepsets.isIndependentPooledTippett
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Tippett's methodstatic boolean
ResolveSepsets.isIndependentPooledWilkinson
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet, int r) Checks independence from pooled samples using Wilkinson's methodstatic boolean
ResolveSepsets.isIndependentPooledWorsleyFriston
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Worsley and Friston's methodboolean
isLegalPair.static void
Logs the clusters.void
FciOrient.orientTailPath
(List<Node> path, Graph graph) Orients every edge on a path as undirected (i.e.static Clusters
ClusterUtils.partitionToClusters
(List<List<Node>> partition) Converts a list of indices into a list of Nodes representing a cluster.static void
GraphSearchUtils.pcOrientbk
(Knowledge bk, Graph graph, List<Node> nodes, boolean verbose) Orients according to background knowledge.powerSet.purify.purify.purify.double
Scores the given permutation.Runs the search over the given list of nodes only, returning the search graph.void
Sets the sepset for {x, y} to be z.void
SepsetMap.set
(Node x, LinkedHashSet<Node> z) Sets the parents of x to the (ordered) set z.void
GrowShrinkTree.setKnowledge
(List<Node> required, List<Node> forbidden) setKnowledge.void
Bes.Arrow.setTNeighbors
(Set<Node> TNeighbors) Sets the set of nodes that are in TNeighbors.double
trace.double
trace.static Node
translate.Converts a list of indices into a list of Nodes representing a cluster.Constructors in edu.cmu.tetrad.search.utils with parameters of type NodeModifierConstructorDescriptionConstructor for GrowShrinkTree.KernelGaussian
(DataSet dataset, Node node) Creates a new Gaussian kernel using the median distance between points to set the bandwidthConstructor for Tetrad.Constructor for Tetrad.Constructor parameters in edu.cmu.tetrad.search.utils with type arguments of type NodeModifierConstructorDescriptionClusterSignificance
(List<Node> variables, DataModel dataModel) Constructs a new cluster significance object.GraphoidAxioms
(Set<GraphoidAxioms.GraphoidIndFact> facts, List<Node> nodes) Constructor.GraphoidAxioms
(Set<GraphoidAxioms.GraphoidIndFact> facts, List<Node> nodes, Map<GraphoidAxioms.GraphoidIndFact, String> textSpecs) Constructor.Constructor.Constructor for GrowShrinkTree.PartialCorrelation
(List<Node> nodes, Matrix cov, int sampleSize) Constructor. -
Uses of Node in edu.cmu.tetrad.search.work_in_progress
Methods in edu.cmu.tetrad.search.work_in_progress that return NodeModifier and TypeMethodDescriptionSextad.getI()
Getter for the fieldi
.Sextad.getJ()
Getter for the fieldj
.Sextad.getK()
Getter for the fieldk
.Sextad.getL()
Getter for the fieldl
.Sextad.getM()
Getter for the fieldm
.Sextad.getN()
Getter for the fieldn
.getNode.IndTestFisherZRecursive.getVariable
(String name) Returns The variable by the given name.IndTestPositiveCorr.getVariable
(String name) Retrieves the node associated with the given variable name.IndTestSepsetDci.getVariable
(Node node) getVariable.IndTestSepsetDci.getVariable
(String name) Retrieves the variable with the specified name.ProbabilisticMapIndependence.getVariable
(String name) Returns The variable by the given name.Methods in edu.cmu.tetrad.search.work_in_progress that return types with arguments of type NodeModifier and TypeMethodDescriptionbestOrder.Given the target, this returns all the nodes in the Markov Blanket.Given the target, this returns all the nodes in the Markov Blanket.Given the target, this returns all the nodes in the Markov Blanket.Given the target, this returns all the nodes in the Markov Blanket.get.Retrieves the sepset previously set for {x, y}, or null if no such set was previously set.VcFas.getApparentlyNonadjacencies()
Getter for the fieldapparentlyNonadjacencies
.getInputs.DMSearch.LatentStructure.getLatentEffects
(Node latent) getLatentEffects.DMSearch.LatentStructure.getLatents()
getLatents.FasFdr.getNodes()
Returns the nodes searched over.Sextad.getNodes()
getNodes.VcFas.getNodes()
getNodes.MagSemBicScore.getOrder()
Returns the order.DMSearch.LatentStructure.getOutputs
(Node latent) getOutputs.Getter for the fieldpc
.SepsetMapDci.getSeparatedPairs()
getSeparatedPairs.Retrieves the set of all condioning sets for {x, y} or null if no such set was ever setGraspTol.getVariables()
Getter for the fieldvariables
.IndTestCramerT.getVariables()
Retrieves the list of variables used in the independence test.IndTestFisherZPercentIndependent.getVariables()
Getter for the fieldvariables
.IndTestFisherZRecursive.getVariables()
Getter for the fieldvariables
.IndTestMixedMultipleTTest.getVariables()
Retrieves the list of variables used in the original data set.IndTestMnlrLr.getVariables()
getVariables.IndTestMultinomialLogisticRegression.getVariables()
getVariables.IndTestPositiveCorr.getVariables()
Retrieves the list of variables used in the independence test.IndTestSepsetDci.getVariables()
getVariables.MagSemBicScore.getVariables()
The variables of the score.MnlrScore.getVariables()
The variables of the score.ProbabilisticMapIndependence.getVariables()
getVariables.SemBicScoreDeterministic.getVariables()
The variables of the score.GraspTol.grasp
(@NotNull TeyssierScorer scorer) grasp.treks.Methods in edu.cmu.tetrad.search.work_in_progress with parameters of type NodeModifier and TypeMethodDescriptionvoid
Add another orient operation to the GraphChange.void
DMSearch.LatentStructure.addRecord
(Node latent, SortedSet<Node> inputs, SortedSet<Node> outputs, SortedSet<Node> latentEffects) addRecord.IndTestCramerT.checkIndependence
(Node x, Node y, Set<Node> _z) Checks the independence between two nodes given a set of conditioning nodes.IndTestFisherZPercentIndependent.checkIndependence
(Node x, Node y, Set<Node> _z) Checks the independence between two nodes x and y given a set of conditioning nodes z.IndTestFisherZRecursive.checkIndependence
(Node x, Node y, Set<Node> z) checkIndependence.IndTestMixedMultipleTTest.checkIndependence
(Node x, Node y, Set<Node> z) Checks for independence between two nodes.IndTestMnlrLr.checkIndependence
(Node x, Node y, Set<Node> _z) Checks the independence between two nodes given a set of conditioning nodes.IndTestMultinomialLogisticRegression.checkIndependence
(Node x, Node y, Set<Node> z) Checks for independence between two nodes, given a set of conditioning nodes.IndTestPositiveCorr.checkIndependence
(Node x0, Node y0, Set<Node> _z0) Checks the independence between two nodes, given a set of conditioning nodes.IndTestSepsetDci.checkIndependence
(Node x, Node y, Set<Node> z) Checks the independence between two nodes, given a set of conditioning nodes.ProbabilisticMapIndependence.checkIndependence
(Node x, Node y, Node... z) Checks the independence fact in question and returns and independence result.ProbabilisticMapIndependence.checkIndependence
(Node x, Node y, Set<Node> _z) checkIndependence.boolean
DMSearch.LatentStructure.containsLatent
(Node latent) containsLatent.boolean
IndTestCramerT.determines
(List<Node> z, Node x) Determines whether the given variables are conditionally independent.boolean
IndTestFisherZPercentIndependent.determines
(List z, Node x) Determines the independence between a list of conditioning variables (z) and a target variable (x).boolean
IndTestFisherZRecursive.determines
(Set<Node> _z, Node x) Returns true if y is determined the variable in z.boolean
IndTestMixedMultipleTTest.determines
(List<Node> z, Node y) Determines if a given set of nodes z determines the node y.boolean
IndTestMnlrLr.determines
(List<Node> z, Node y) Determines the independence relation between a list of conditioning nodes and a target node.boolean
IndTestMultinomialLogisticRegression.determines
(List<Node> z, Node y) Determines if Node y is determined by the given list of Nodes z.boolean
IndTestPositiveCorr.determines
(List<Node> z, Node x) Determines if there exists a causal relationship between the nodes in z and node x.boolean
IndTestSepsetDci.determines
(List<Node> z, Node x1) Determines if a given Node is present in a List of Nodes.boolean
ProbabilisticMapIndependence.determines
(Set<Node> z, Node y) Returns true if y is determined the variable in z.boolean
SemBicScoreDeterministic.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.Given the target, this returns all the nodes in the Markov Blanket.Given the target, this returns all the nodes in the Markov Blanket.Given the target, this returns all the nodes in the Markov Blanket.Given the target, this returns all the nodes in the Markov Blanket.static void
SampleVcpc.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) futureNodeVisit.static void
SampleVcpcFast.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) futureNodeVisit.static void
VcPc.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) futureNodeVisit.static void
VcPcAlt.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) futureNodeVisit.static void
VcPcFast.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) futureNodeVisit.get.Retrieves the sepset previously set for {x, y}, or null if no such set was previously set.FasFdr.getAmbiguousTriples
(Node node) Returns the list of ambiguous triples found for a given node.getInputs.DMSearch.LatentStructure.getLatentEffects
(Node latent) getLatentEffects.getNode.DMSearch.LatentStructure.getOutputs
(Node latent) getOutputs.Getter for the fieldpc
.VcPc.getPopulationTripleType
(Node x, Node y, Node z, IndependenceTest test, int depth, Graph graph, boolean verbose) getPopulationTripleType.VcPcFast.getPopulationTripleType
(Node x, Node y, Node z, IndependenceTest test, int depth, Graph graph, boolean verbose) getPopulationTripleType.Retrieves the set of all condioning sets for {x, y} or null if no such set was ever setIndTestSepsetDci.getVariable
(Node node) getVariable.static boolean
SampleVcpcFast.isArrowheadAllowed1
(Node from, Node to, Knowledge knowledge) isArrowheadAllowed1.static boolean
VcPc.isArrowheadAllowed1
(Node from, Node to, Knowledge knowledge) isArrowheadAllowed1.static boolean
ResolveSepsetsDci.isIndependentPooled
(ResolveSepsetsDci.Method method, List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Tests for independence using one of the pooled methodsstatic boolean
ResolveSepsetsDci.isIndependentPooledAverage
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by taking the average p valuestatic boolean
ResolveSepsetsDci.isIndependentPooledAverageTest
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by taking the average test statistic CURRENTLY ONLY WORKS FOR CHISQUARE TESTstatic boolean
ResolveSepsetsDci.isIndependentPooledFisher
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Fisher's method.static boolean
ResolveSepsetsDci.isIndependentPooledFisher2
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Eliminates from considerations independence tests that cannot be evaluated (due to missing variables mainly).static boolean
ResolveSepsetsDci.isIndependentPooledMudholkerGeorge
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Mudholker and George's methodstatic boolean
ResolveSepsetsDci.isIndependentPooledMudholkerGeorge2
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) The same as isIndepenentPooledMudholkerGeoerge, except that only available independence tests are used.static boolean
ResolveSepsetsDci.isIndependentPooledRandom
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by randomly selecting a p valuestatic boolean
ResolveSepsetsDci.isIndependentPooledStouffer
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Stouffer et al.'s methodstatic boolean
ResolveSepsetsDci.isIndependentPooledTippett
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Tippett's methodstatic boolean
ResolveSepsetsDci.isIndependentPooledWilkinson
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet, int r) Checks independence from pooled samples using Wilkinson's methodstatic boolean
ResolveSepsetsDci.isIndependentPooledWorsleyFriston
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Worsley and Friston's methoddouble
ProbabilisticMapIndependence.probConstraint
(BCInference.OP op, Node x, Node y, Node[] z) probConstraint.void
DMSearch.LatentStructure.removeLatent
(Node latent) removeLatent.void
Sets the sepset for {x, y} to be z.void
SepsetMapDci.set
(Node x, LinkedHashSet<Node> z) set.treks.Method parameters in edu.cmu.tetrad.search.work_in_progress with type arguments of type NodeModifier and TypeMethodDescriptionvoid
DMSearch.LatentStructure.addRecord
(Node latent, SortedSet<Node> inputs, SortedSet<Node> outputs, SortedSet<Node> latentEffects) addRecord.ResolveSepsetsDci.allNodePairs
(List<Node> nodes) Generates NodePairs of all possible pairs of nodes from given list of nodes.bestOrder.IndTestCramerT.checkIndependence
(Node x, Node y, Set<Node> _z) Checks the independence between two nodes given a set of conditioning nodes.IndTestFisherZPercentIndependent.checkIndependence
(Node x, Node y, Set<Node> _z) Checks the independence between two nodes x and y given a set of conditioning nodes z.IndTestFisherZRecursive.checkIndependence
(Node x, Node y, Set<Node> z) checkIndependence.IndTestMixedMultipleTTest.checkIndependence
(Node x, Node y, Set<Node> z) Checks for independence between two nodes.IndTestMnlrLr.checkIndependence
(Node x, Node y, Set<Node> _z) Checks the independence between two nodes given a set of conditioning nodes.IndTestMultinomialLogisticRegression.checkIndependence
(Node x, Node y, Set<Node> z) Checks for independence between two nodes, given a set of conditioning nodes.IndTestPositiveCorr.checkIndependence
(Node x0, Node y0, Set<Node> _z0) Checks the independence between two nodes, given a set of conditioning nodes.IndTestSepsetDci.checkIndependence
(Node x, Node y, Set<Node> z) Checks the independence between two nodes, given a set of conditioning nodes.ProbabilisticMapIndependence.checkIndependence
(Node x, Node y, Set<Node> _z) checkIndependence.boolean
IndTestCramerT.determines
(List<Node> z, Node x) Determines whether the given variables are conditionally independent.boolean
IndTestFisherZRecursive.determines
(Set<Node> _z, Node x) Returns true if y is determined the variable in z.boolean
IndTestMixedMultipleTTest.determines
(List<Node> z, Node y) Determines if a given set of nodes z determines the node y.boolean
IndTestMnlrLr.determines
(List<Node> z, Node y) Determines the independence relation between a list of conditioning nodes and a target node.boolean
IndTestMultinomialLogisticRegression.determines
(List<Node> z, Node y) Determines if Node y is determined by the given list of Nodes z.boolean
IndTestPositiveCorr.determines
(List<Node> z, Node x) Determines if there exists a causal relationship between the nodes in z and node x.boolean
IndTestSepsetDci.determines
(List<Node> z, Node x1) Determines if a given Node is present in a List of Nodes.boolean
ProbabilisticMapIndependence.determines
(Set<Node> z, Node y) Returns true if y is determined the variable in z.boolean
SemBicScoreDeterministic.determines
(List<Node> z, Node y) Returns true iff the score determines the edge between x and y.static void
SampleVcpc.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) futureNodeVisit.static void
SampleVcpc.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) futureNodeVisit.static void
SampleVcpcFast.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) futureNodeVisit.static void
SampleVcpcFast.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) futureNodeVisit.static void
VcPc.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) futureNodeVisit.static void
VcPc.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) futureNodeVisit.static void
VcPcAlt.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) futureNodeVisit.static void
VcPcAlt.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) futureNodeVisit.static void
VcPcFast.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) futureNodeVisit.static void
VcPcFast.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) futureNodeVisit.IndTestCramerT.indTestSubset
(List<Node> vars) This method performs an independence test based on a given sublist of variables.IndTestFisherZPercentIndependent.indTestSubset
(List<Node> vars) Performs an independence test on a subset of variables.IndTestFisherZRecursive.indTestSubset
(List<Node> vars) Returns an Independence test for a sublist of the variables.IndTestMixedMultipleTTest.indTestSubset
(List<Node> vars) IndTestMnlrLr.indTestSubset
(List<Node> vars) This method returns an independence test for a sublist of variables.IndTestMultinomialLogisticRegression.indTestSubset
(List<Node> vars) Performs an independence test for a sublist of variables.IndTestPositiveCorr.indTestSubset
(List<Node> vars) Performs an independence test on a subset of variables.IndTestSepsetDci.indTestSubset
(List<Node> vars) Determines independence between a subset of variables.ProbabilisticMapIndependence.indTestSubset
(List<Node> vars) Returns an Independence test for a sublist of the variables.static boolean
ResolveSepsetsDci.isIndependentPooled
(ResolveSepsetsDci.Method method, List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Tests for independence using one of the pooled methodsstatic boolean
ResolveSepsetsDci.isIndependentPooledAverage
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by taking the average p valuestatic boolean
ResolveSepsetsDci.isIndependentPooledAverageTest
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by taking the average test statistic CURRENTLY ONLY WORKS FOR CHISQUARE TESTstatic boolean
ResolveSepsetsDci.isIndependentPooledFisher
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Fisher's method.static boolean
ResolveSepsetsDci.isIndependentPooledFisher2
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Eliminates from considerations independence tests that cannot be evaluated (due to missing variables mainly).static boolean
ResolveSepsetsDci.isIndependentPooledMudholkerGeorge
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Mudholker and George's methodstatic boolean
ResolveSepsetsDci.isIndependentPooledMudholkerGeorge2
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) The same as isIndepenentPooledMudholkerGeoerge, except that only available independence tests are used.static boolean
ResolveSepsetsDci.isIndependentPooledRandom
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by randomly selecting a p valuestatic boolean
ResolveSepsetsDci.isIndependentPooledStouffer
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Stouffer et al.'s methodstatic boolean
ResolveSepsetsDci.isIndependentPooledTippett
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Tippett's methodstatic boolean
ResolveSepsetsDci.isIndependentPooledWilkinson
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet, int r) Checks independence from pooled samples using Wilkinson's methodstatic boolean
ResolveSepsetsDci.isIndependentPooledWorsleyFriston
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Worsley and Friston's methodboolean
Determines whether one trek is a subtrek of another trekRuns PC starting with a commplete graph over the given list of nodes, using the given independence test and knowledge and returns the resultant graph.void
Sets the sepset for {x, y} to be z.void
SepsetMapDci.set
(Node x, LinkedHashSet<Node> z) set.void
Sets the order.void
IndTestFisherZRecursive.setVariables
(List<Node> variables) Setter for the fieldvariables
.void
IndTestPositiveCorr.setVariables
(List<Node> variables) Sets the variables used in the independence test.void
SemBicScoreDeterministic.setVariables
(List<Node> variables) Setter for the fieldvariables
.Constructors in edu.cmu.tetrad.search.work_in_progress with parameters of type NodeModifierConstructorDescriptionConstructor for Sextad.Constructor for Sextad.Constructor parameters in edu.cmu.tetrad.search.work_in_progress with type arguments of type NodeModifierConstructorDescriptionFasDci
(Graph graph, IndependenceTest independenceTest, ResolveSepsets.Method method, List<Set<Node>> marginalVars, List<IndependenceTest> independenceTests, SepsetMapDci knownIndependencies, SepsetMapDci knownAssociations) Constructs a new FastAdjacencySearch for DCI with independence test pooling to resolve inconsistencies.Constructor for GraspTol.IndTestFisherZRecursive
(Matrix data, List<Node> variables, double alpha) Constructs a new Fisher Z independence test with the listed arguments.IndTestSepsetDci
(SepsetMapDci sepset, List<Node> nodes) Constructs a new independence test that returns d-separation facts for the given graph as independence results. -
Uses of Node in edu.cmu.tetrad.sem
Methods in edu.cmu.tetrad.sem that return NodeModifier and TypeMethodDescriptionGeneralizedSemPm.getErrorNode
(Node node) Retrieves the error node associated with the given node.Node[]
ConnectionFunction.getInputNodes()
getInputNodes.Returns the Node with the given name.SemEvidence.getNode
(int nodeIndex) getNode.SemManipulation.getNode
(int nodeIndex) getNode.Parameter.getNodeA()
Getter for the fieldnodeA
.Parameter.getNodeB()
Getter for the fieldnodeB
.SemIm.getVariableNode
(String name) getVariableNode.Methods in edu.cmu.tetrad.sem that return types with arguments of type NodeModifier and TypeMethodDescriptioncliques.GeneralizedSemPm.getErrorNodes()
Returns the list of exogenous variableNodes.StandardizedSemIm.getErrorNodes()
getErrorNodes.SemPm.getLatentNodes()
getLatentNodes.ReidentifyVariables.getLatents
(Graph graph) getLatents.DagScorer.getMeasuredNodes()
getMeasuredNodes.GeneralizedSemPm.getMeasuredNodes()
Returns a list of measured nodes.ISemIm.getMeasuredNodes()
getMeasuredNodes.Scorer.getMeasuredNodes()
getMeasuredNodes.SemIm.getMeasuredNodes()
The list of measured nodes for the semPm.SemPm.getMeasuredNodes()
getMeasuredNodes.StandardizedSemIm.getMeasuredNodes()
The list of measured nodes for the semPm.GeneralizedSemPm.getNodes()
Retrieves a list of nodes.SemEvidence.getNodesInEvidence()
getNodesInEvidence.GeneralizedSemPm.getParents
(Node node) Retrieves the list of parent nodes for the given node.GeneralizedSemPm.getReferencedNodes
(Node node) Retrieves a set of referenced nodes for the given node.GeneralizedSemPm.getReferencingNodes
(Node node) Retrieves the set of referencing nodes for a given node.GeneralizedSemPm.getReferencingNodes
(String parameter) Returns a set of nodes that reference the given parameter.GeneralizedSemPm.getVariableNodes()
Returns the list of variable nodes--that is, node that is not error nodes.ISemIm.getVariableNodes()
getVariableNodes.LargeScaleSimulation.getVariableNodes()
Getter for the fieldvariableNodes
.SemIm.getVariableNodes()
The list of measured and latent nodes for the semPm.SemPm.getVariableNodes()
Getter for the fieldvariableNodes
.StandardizedSemIm.getVariableNodes()
getVariableNodes.DagScorer.getVariables()
Getter for the fieldvariables
.Scorer.getVariables()
getVariables.ISemIm.listUnmeasuredLatents()
listUnmeasuredLatents.SemIm.listUnmeasuredLatents()
listUnmeasuredLatents.Methods in edu.cmu.tetrad.sem with parameters of type NodeModifier and TypeMethodDescriptionboolean
SemIm.existsEdgeCoef
(Node x, Node y) existsEdgeCoef.TemplateExpander.expandTemplate
(String template, GeneralizedSemPm semPm, Node node) Returns the expanded template, which needs to be checked to make sure it can be used.SemPm.getCoefficientParameter
(Node nodeA, Node nodeB) getCoefficientParameter.StandardizedSemIm.getCoefficientRange
(Node a, Node b) getCoefficientRange.SemPm.getCovarianceParameter
(Node nodeA, Node nodeB) getCovarianceParameter.StandardizedSemIm.getCovarianceRange
(Node a, Node b) getCovarianceRange.double
SemIm.getEdgeCoef
(Node x, Node y) Getter for the fieldedgeCoef
.double
StandardizedSemIm.getEdgeCoef
(Node a, Node b) Getter for the fieldedgeCoef
.double
SemIm.getErrCovar
(Node x, Node y) Getter for the fielderrCovar
.double
StandardizedSemIm.getErrorCovariance
(Node a, Node b) getErrorCovariance.GeneralizedSemPm.getErrorNode
(Node node) Retrieves the error node associated with the given node.double
StandardizedSemIm.getErrorVariance
(Node error) getErrorVariance.double
getErrVar.double
ISemIm.getIntercept
(Node node) getIntercept.double
SemIm.getIntercept
(Node node) Calculates the intercept for a given node.double
getMean.double
Calculates the mean value associated with a givenNode
.SemPm.getMeanParameter
(Node node) getMeanParameter.double
ISemIm.getMeanStdDev
(Node node) getMeanStdDev.double
SemIm.getMeanStdDev
(Node node) Calculates the mean standard deviation for the given node.GeneralizedSemPm.getNodeExpression
(Node node) getNodeExpression.GeneralizedSemPm.getNodeExpressionString
(Node node) getNodeExpressionString.int
SemEvidence.getNodeIndex
(Node node) getNodeIndex.GeneralizedSemIm.getNodeSubstitutedString
(Node node) Retrieves the substituted string representation of a given Node.GeneralizedSemIm.getNodeSubstitutedString
(Node node, Map<String, Double> substitutedValues) Retrieves the substituted string representation of a given Node.SemPm.getParameter
(Node nodeA, Node nodeB) getParameter.double
ISemIm.getParamValue
(Node nodeA, Node nodeB) getParamValue.double
SemIm.getParamValue
(Node nodeA, Node nodeB) getParamValue.GeneralizedSemPm.getParents
(Node node) Retrieves the list of parent nodes for the given node.GeneralizedSemPm.getReferencedNodes
(Node node) Retrieves a set of referenced nodes for the given node.GeneralizedSemPm.getReferencedParameters
(Node node) Retrieves the set of referenced parameters from a given node.GeneralizedSemPm.getReferencingNodes
(Node node) Retrieves the set of referencing nodes for a given node.double
getStdDev.double
getStdDev.double
SemIm.getTotalEffect
(Node x, Node y) Calculates the total effect between two nodes.double
Retrieves the value associated with the given node.double
ISemIm.getVariance
(Node nodeA, Matrix implCovar) getVariance.double
SemIm.getVariance
(Node node, Matrix implCovar) Returns the variance for a given node.SemPm.getVarianceParameter
(Node node) Return the parameter for the variance of the error term for the given node, which is the variance of the node if the node is an error term, and the variance of the node's error term if not.void
ISemIm.setEdgeCoef
(Node x, Node y, double value) setEdgeCoef.void
SemIm.setEdgeCoef
(Node x, Node y, double value) Sets the coefficient value for the edge between two nodes in the graph.boolean
StandardizedSemIm.setEdgeCoefficient
(Node a, Node b, double coef) Sets the coefficient for the a->b edge to the given coefficient, if within range.void
SemIm.setErrCovar
(Node x, double value) Setter for the fielderrCovar
.void
SemIm.setErrCovar
(Node x, Node y, double value) Setter for the fielderrCovar
.boolean
StandardizedSemIm.setErrorCovariance
(Node a, Node b, double covar) Sets the covariance for the a<->b edge to the given covariance, if within range.void
setErrVar.void
Sets the error variance value for a specific node in the model's structural equation.void
ISemIm.setIntercept
(Node y, double intercept) setIntercept.void
SemIm.setIntercept
(Node node, double intercept) Sets the intercept for a specified node in the SEM model.void
setMean.void
Sets the mean value for a given node in the variableNodes list.void
SemIm.setMeanStandardDeviation
(Node node, double mean) Sets the mean associated with the given node.void
GeneralizedSemPm.setNodeExpression
(Node node, String expressionString) Sets the expression for a given node.void
ISemIm.setParamValue
(Node nodeA, Node nodeB, double value) setParamValue.void
SemIm.setParamValue
(Node nodeA, Node nodeB, double value) setParamValue.void
Sets the value for a given node in the SemProposition object.Method parameters in edu.cmu.tetrad.sem with type arguments of type NodeModifier and TypeMethodDescriptionSemIm.getImplCovar
(List<Node> nodes) Getter for the fieldimplCovar
.ReidentifyVariables.reidentifyVariables1
(List<List<Node>> partition, Graph trueGraph) reidentifyVariables1.reidentifyVariables2.Constructors in edu.cmu.tetrad.sem with parameters of type NodeModifierConstructorDescriptionEmpiricalDistributionForExpression
(GeneralizedSemPm semPm, Node error, Context context) Constructor for EmpiricalDistributionForExpression.Constructor for Parameter.Constructor parameters in edu.cmu.tetrad.sem with type arguments of type Node -
Uses of Node in edu.cmu.tetrad.simulation
Methods in edu.cmu.tetrad.simulation that return types with arguments of type NodeModifier and TypeMethodDescriptionHsimUtils.getAllParents
(Graph inputgraph, Set<Node> inputnodes) getAllParents.Method parameters in edu.cmu.tetrad.simulation with type arguments of type NodeModifier and TypeMethodDescriptionstatic Graph
evalEdges.HsimUtils.getAllParents
(Graph inputgraph, Set<Node> inputnodes) getAllParents.Constructor parameters in edu.cmu.tetrad.simulation with type arguments of type Node -
Uses of Node in edu.cmu.tetrad.study.performance
Method parameters in edu.cmu.tetrad.study.performance with type arguments of type Node -
Uses of Node in edu.cmu.tetrad.util
Methods in edu.cmu.tetrad.util that return NodeModifier and TypeMethodDescriptionstatic Node
JsonUtils.parseJSONObjectToTetradNode
(org.json.JSONObject jObj) parseJSONObjectToTetradNode.Methods in edu.cmu.tetrad.util that return types with arguments of type NodeModifier and TypeMethodDescriptionJsonUtils.parseJSONArrayToTetradNodes
(org.json.JSONArray jArray) parseJSONArrayToTetradNodes.DataConvertUtils.toNodes
(DataColumn[] columns) toNodes.DataConvertUtils.toNodes
(DiscreteDataColumn[] columns) toNodes.toNodes. -
Uses of Node in edu.pitt.csb.mgm
Methods in edu.pitt.csb.mgm that return types with arguments of type NodeModifier and TypeMethodDescriptionIndTestMultinomialLogisticRegressionWald.getVariables()
getVariables.Methods in edu.pitt.csb.mgm with parameters of type NodeModifier and TypeMethodDescriptionIndTestMultinomialLogisticRegressionWald.checkIndependence
(Node x, Node y, Set<Node> z) Determines the independence between two variables given a set of conditioning variables.boolean
IndTestMultinomialLogisticRegressionWald.determines
(List<Node> z, Node y) Determines the independence between a set of variables and a target variable.MixedUtils.getEdgeParams
(Node n1, Node n2, GeneralizedSemPm pm) getEdgeParams.Method parameters in edu.pitt.csb.mgm with type arguments of type NodeModifier and TypeMethodDescriptionIndTestMultinomialLogisticRegressionWald.checkIndependence
(Node x, Node y, Set<Node> z) Determines the independence between two variables given a set of conditioning variables.boolean
IndTestMultinomialLogisticRegressionWald.determines
(List<Node> z, Node y) Determines the independence between a set of variables and a target variable.static int[]
MixedUtils.getContinuousInds
(List<Node> nodes) getContinuousInds.static int[]
MixedUtils.getDiscreteInds
(List<Node> nodes) getDiscreteInds.IndTestMultinomialLogisticRegressionWald.indTestSubset
(List<Node> vars) Tests the conditional independence between two variables given a sublist of variables.Constructor parameters in edu.pitt.csb.mgm with type arguments of type Node -
Uses of Node in edu.pitt.csb.stability
Method parameters in edu.pitt.csb.stability with type arguments of type NodeModifier and TypeMethodDescriptionstatic double[]
StabilityUtils.totalInstabilityDir
(cern.colt.matrix.DoubleMatrix2D xi, List<Node> vars) totalInstabilityDir.static double[]
StabilityUtils.totalInstabilityUndir
(cern.colt.matrix.DoubleMatrix2D xi, List<Node> vars) totalInstabilityUndir.