Uses of Interface
edu.cmu.tetrad.graph.Node
Packages that use Node
Package
Description
-
Uses of Node in edu.cmu.tetrad.algcomparison.score
Methods in edu.cmu.tetrad.algcomparison.score that return NodeModifier and TypeMethodDescriptionBdeuScore.getVariable
(String name) CciScore.getVariable
(String name) ConditionalGaussianBicScore.getVariable
(String name) ConditionalGaussianOtherBicScore.getVariable
(String name) DegenerateGaussianBicScore.getVariable
(String name) DiscreteBicScore.getVariable
(String name) DiscreteMixedBicScore.getVariable
(String name) DSeparationScore.getVariable
(String name) EbicScore.getVariable
(String name) FisherZScore.getVariable
(String name) KimEtAlScores.getVariable
(String name) MagSemBicScore.getVariable
(String name) MNLRBicScore.getVariable
(String name) MVPBicScore.getVariable
(String name) PoissonPriorScore.getVariable
(String name) PositiveCorrScore.getVariable
(String name) ScoreWrapper.getVariable
(String name) Returns the variable with the given name.SemBicScore.getVariable
(String name) SemBicScoreDeterministic.getVariable
(String name) ZhangShenBoundScore.getVariable
(String name) -
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) -
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) BayesPm.getNode
(int index) DirichletBayesIm.getNode
(int nodeIndex) Evidence.getNode
(int nodeIndex) MlBayesIm.getNode
(int nodeIndex) MlBayesImObs.getNode
(int nodeIndex) UpdatedBayesIm.getNode
(int nodeIndex) BayesPm.getVariable
(Node node) BayesProperties.getVariable
(String targetName) 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) GraphTools.getCliqueTree
(Node[] ordering, Map<Node, Set<Node>> cliques, Map<Node, Set<Node>> separators) BayesIm.getMeasuredNodes()
BayesPm.getMeasuredNodes()
DirichletBayesIm.getMeasuredNodes()
MlBayesIm.getMeasuredNodes()
MlBayesImObs.getMeasuredNodes()
UpdatedBayesIm.getMeasuredNodes()
JunctionTreeAlgorithm.getNodes()
Calculate separator sets in clique tree.Calculate separator sets in clique tree.BayesIm.getVariables()
BayesImProbs.getVariables()
BayesPm.getVariables()
CellTableProbs.getVariables()
DataSetProbs.getVariables()
DirichletBayesIm.getVariables()
DirichletDataSetProbs.getVariables()
IntAveDataSetProbs.getVariables()
MlBayesIm.getVariables()
MlBayesImObs.getVariables()
StoredCellProbs.getVariables()
StoredCellProbsObs.getVariables()
UpdatedBayesIm.getVariables()
Evidence.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) Evidence.getCategory
(Node node, int j) int
BayesPm.getCategoryIndex
(Node node, String category) 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) int
BayesIm.getNodeIndex
(Node node) int
DirichletBayesIm.getNodeIndex
(Node node) int
MlBayesIm.getNodeIndex
(Node node) int
MlBayesImObs.getNodeIndex
(Node node) int
UpdatedBayesIm.getNodeIndex
(Node node) int
BayesPm.getNumCategories
(Node 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) 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) 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) GraphTools.getCliqueTree
(Node[] ordering, Map<Node, Set<Node>> cliques, Map<Node, Set<Node>> separators) GraphTools.getCliqueTree
(Node[] ordering, Map<Node, Set<Node>> cliques, Map<Node, Set<Node>> separators) 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 Node -
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()
BoxDataSet.getVariable
(int col) BoxDataSet.getVariable
(String varName) CorrelationMatrixOnTheFly.getVariable
(String name) CovarianceMatrix.getVariable
(String name) CovarianceMatrixOnTheFly.getVariable
(String name) DataModel.getVariable
(String name) DataModelList.getVariable
(String name) DataSet.getVariable
(int column) DataSet.getVariable
(String name) ICovarianceMatrix.getVariable
(String name) IndependenceFacts.getVariable
(String name) NumberObjectDataSet.getVariable
(int col) NumberObjectDataSet.getVariable
(String varName) TimeSeriesData.getVariable
(String name) abstract Node
Methods in edu.cmu.tetrad.data that return types with arguments of type NodeModifier and TypeMethodDescriptionDataUtils.createContinuousVariables
(String[] varNames) NumberObjectDataSet.getSelectedVariables()
BoxDataSet.getVariables()
CorrelationMatrixOnTheFly.getVariables()
CovarianceMatrix.getVariables()
CovarianceMatrixOnTheFly.getVariables()
DataModelList.getVariables()
DataSet.getVariables()
ICovarianceMatrix.getVariables()
IndependenceFacts.getVariables()
NumberObjectDataSet.getVariables()
TimeSeriesData.getVariables()
VariableSource.getVariables()
Methods in edu.cmu.tetrad.data with parameters of type NodeModifier and TypeMethodDescriptionvoid
BoxDataSet.addVariable
(int index, Node variable) Adds the given variable to the dataset, increasing the number of columns by one, moving columns i >=index
to column i + 1, and inserting a column of missing values at column i.void
BoxDataSet.addVariable
(Node variable) Adds the given variable to the data set, increasing the number of columns by one, moving columns i >=index
to column i + 1, and inserting a column of missing values at column i.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) void
NumberObjectDataSet.addVariable
(int index, Node variable) Adds the given variable to the dataset, increasing the number of columns by one, moving columns i >=index
to column i + 1, and inserting a column of missing values at column i.void
NumberObjectDataSet.addVariable
(Node variable) Adds the given variable to the data set, increasing the number of columns by one, moving columns i >=index
to column i + 1, and inserting a column of missing values at column i.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
.int
static void
DataUtils.copyColumn
(Node node, DataSet source, DataSet dest) 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
int
int
boolean
IndependenceFacts.isIndependent
(Node x, Node y, Node... z) boolean
IndependenceFacts.isIndependent
(Node x, Node y, List<Node> z) 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) final boolean
CorrelationMatrixOnTheFly.isSelected
(Node variable) final boolean
CovarianceMatrix.isSelected
(Node variable) final boolean
CovarianceMatrixOnTheFly.isSelected
(Node variable) boolean
DataSet.isSelected
(Node variable) boolean
ICovarianceMatrix.isSelected
(Node variable) boolean
NumberObjectDataSet.isSelected
(Node variable) void
BoxDataSet.removeColumn
(Node variable) Removes the columns for the given variable from the dataset, reducing the number of columns by one.void
DataSet.removeColumn
(Node variable) Removes the given variable, along with all of its data.void
NumberObjectDataSet.removeColumn
(Node variable) Removes the columns for the given variable from the dataset, reducing the number of columns by one.final void
final void
final void
void
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
static Matrix
static Matrix
static Matrix
Method parameters in edu.cmu.tetrad.data with type arguments of type NodeModifier and TypeMethodDescriptionboolean
IndependenceFacts.isIndependent
(Node x, Node y, List<Node> z) void
void
CorrelationMatrixOnTheFly.setVariables
(List<Node> variables) void
CovarianceMatrix.setVariables
(List<Node> variables) void
CovarianceMatrixOnTheFly.setVariables
(List<Node> variables) void
ICovarianceMatrix.setVariables
(List<Node> variables) static Matrix
static Matrix
static Matrix
static Matrix
static Matrix
static Matrix
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) 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) 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) 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) -
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) 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) SemGraph.getExogenous
(Node node) NodePair.getFirst()
final Node
Edge.getNode1()
final Node
Edge.getNode2()
NodePair.getSecond()
SemGraph.getVarNode
(Node node) IndependenceFact.getX()
Triple.getX()
IndependenceFact.getY()
Triple.getY()
Triple.getZ()
Creates a new node of the same type as this one with the given name.static Node
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) Methods in edu.cmu.tetrad.graph that return types with arguments of type NodeModifier and TypeMethodDescriptionPaths.allDirectedPathsFromTo
(Node node1, Node node2, int maxLength) Paths.allPathsFromTo
(Node node1, Node node2, int maxLength) Constructs a list of nodes from the givennodes
list at the given indices in that list.Paths.connectedComponents()
Paths.directedPathsFromTo
(Node node1, Node node2, int maxLength) Dag.getAdjacentNodes
(Node node) EdgeListGraph.getAdjacentNodes
(Node node) Graph.getAdjacentNodes
(Node node) LagGraph.getAdjacentNodes
(Node node) SemGraph.getAdjacentNodes
(Node node) TimeLagGraph.getAdjacentNodes
(Node node) Paths.getAncestors
(List<Node> nodes) Dag.getChildren
(Node node) EdgeListGraph.getChildren
(Node node) Graph.getChildren
(Node node) LagGraph.getChildren
(Node node) SemGraph.getChildren
(Node node) TimeLagGraph.getChildren
(Node node) Paths.getDconnectedVars
(Node y, List<Node> z) Paths.getDescendants
(List<Node> nodes) SemGraph.getFullTierOrdering()
Paths.getInducingPath
(Node x, Node y) TimeLagGraph.getLag0Nodes()
Dag.getNodes()
EdgeListGraph.getNodes()
Graph.getNodes()
LagGraph.getNodes()
SemGraph.getNodes()
TimeLagGraph.getNodes()
Dag.getNodesInTo
(Node node, Endpoint n) 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) SemGraph.getNodesInTo
(Node node, Endpoint endpoint) TimeLagGraph.getNodesInTo
(Node node, Endpoint endpoint) Dag.getNodesOutTo
(Node node, Endpoint n) 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) SemGraph.getNodesOutTo
(Node node, Endpoint n) TimeLagGraph.getNodesOutTo
(Node node, Endpoint endpoint) Dag.getParents
(Node node) EdgeListGraph.getParents
(Node node) Graph.getParents
(Node node) LagGraph.getParents
(Node node) SemGraph.getParents
(Node node) TimeLagGraph.getParents
(Node node) Paths.getValidOrder
(List<Node> initialOrder, boolean forward) Returns a valid causal order for either a DAG or a CPDAG.IndependenceFact.getZ()
GraphUtils.maximalCliques
(Graph graph, List<Node> nodes) Paths.possibleDsep
(Node x, Node y, int maxPathLength) 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.semidirectedPathsFromTo
(Node node1, Node node2, int maxLength) Paths.treksIncludingBidirected
(Node node1, Node node2) Methods in edu.cmu.tetrad.graph with parameters of type NodeModifier and TypeMethodDescriptionvoid
Underlines.addAmbiguousTriple
(Node x, Node y, Node z) boolean
Dag.addBidirectedEdge
(Node node1, Node node2) boolean
EdgeListGraph.addBidirectedEdge
(Node node1, Node node2) Adds a bidirected edge to the graph from node A to node B.boolean
Graph.addBidirectedEdge
(Node node1, Node node2) Adds a bidirected edges <-> to the graph.boolean
LagGraph.addBidirectedEdge
(Node node1, Node node2) boolean
SemGraph.addBidirectedEdge
(Node nodeA, Node nodeB) boolean
TimeLagGraph.addBidirectedEdge
(Node node1, Node node2) boolean
Dag.addDirectedEdge
(Node node1, Node node2) boolean
EdgeListGraph.addDirectedEdge
(Node node1, Node node2) Adds a directed edge to the graph from node A to node B.boolean
Graph.addDirectedEdge
(Node node1, Node node2) Adds a directed edge --> to the graph.boolean
LagGraph.addDirectedEdge
(Node node1, Node node2) boolean
SemGraph.addDirectedEdge
(Node nodeA, Node nodeB) boolean
TimeLagGraph.addDirectedEdge
(Node node1, Node node2) void
Underlines.addDottedUnderlineTriple
(Node x, Node y, Node z) boolean
boolean
Adds a node to the graph.boolean
Adds a node to the graph.boolean
boolean
boolean
Nodes may be added into the getModel time step only.boolean
Dag.addNondirectedEdge
(Node node1, Node node2) boolean
EdgeListGraph.addNondirectedEdge
(Node node1, Node node2) Adds a nondirected edge to the graph from node A to node B.boolean
Graph.addNondirectedEdge
(Node node1, Node node2) Adds a nondirected edges o-o to the graph.boolean
LagGraph.addNondirectedEdge
(Node node1, Node node2) boolean
SemGraph.addNondirectedEdge
(Node nodeA, Node nodeB) boolean
TimeLagGraph.addNondirectedEdge
(Node node1, Node node2) boolean
Dag.addPartiallyOrientedEdge
(Node node1, Node node2) boolean
EdgeListGraph.addPartiallyOrientedEdge
(Node node1, Node node2) Adds a partially oriented edge to the graph from node A to node B.boolean
Graph.addPartiallyOrientedEdge
(Node node1, Node node2) Adds a partially oriented edge o-> to the graph.boolean
LagGraph.addPartiallyOrientedEdge
(Node node1, Node node2) boolean
SemGraph.addPartiallyOrientedEdge
(Node nodeA, Node nodeB) boolean
TimeLagGraph.addPartiallyOrientedEdge
(Node node1, Node node2) void
Underlines.addUnderlineTriple
(Node x, Node y, Node z) boolean
Dag.addUndirectedEdge
(Node node1, Node node2) boolean
EdgeListGraph.addUndirectedEdge
(Node node1, Node node2) Adds an undirected edge to the graph from node A to node B.boolean
Graph.addUndirectedEdge
(Node node1, Node node2) Adds an undirected edge --- to the graph.boolean
LagGraph.addUndirectedEdge
(Node node1, Node node2) boolean
SemGraph.addUndirectedEdge
(Node nodeA, Node nodeB) boolean
TimeLagGraph.addUndirectedEdge
(Node node1, Node node2) static boolean
GraphUtils.allAdjacenciesAreDirected
(Node node, Graph graph) Paths.allDirectedPathsFromTo
(Node node1, Node node2, int maxLength) Paths.allPathsFromTo
(Node node1, Node node2, int maxLength) static Edge
Edges.bidirectedEdge
(Node nodeA, Node nodeB) Constructs a new bidirected edge from nodeA to nodeB (<->).int
int
Alphabetical order.boolean
Dag.containsNode
(Node node) boolean
EdgeListGraph.containsNode
(Node node) Determines whether the graph contains a particular node.boolean
Graph.containsNode
(Node node) Determines whether this graph contains the given node.boolean
LagGraph.containsNode
(Node node) boolean
SemGraph.containsNode
(Node node) boolean
TimeLagGraph.containsNode
(Node node) boolean
Paths.defNonDescendent
(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.directedPathsFromTo
(Node node1, Node node2, int maxLength) boolean
Paths.existsDirectedPathFromTo
(Node node1, Node node2) boolean
Paths.existsDirectedPathFromTo
(Node node1, Node node2, int 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) boolean
Paths.existsSemidirectedPath
(Node from, Node to) boolean
Paths.existsSemiDirectedPath
(Node from, Node to) boolean
Paths.existsSemiDirectedPathFromTo
(Node node1, Node node2) boolean
Paths.existsSemiDirectedPathFromTo
(Node node1, Set<Node> nodes) boolean
Paths.existsTrek
(Node node1, Node node2) Determines whether a trek exists between two nodes in the graph.Dag.getAdjacentNodes
(Node node) EdgeListGraph.getAdjacentNodes
(Node node) Graph.getAdjacentNodes
(Node node) LagGraph.getAdjacentNodes
(Node node) SemGraph.getAdjacentNodes
(Node node) TimeLagGraph.getAdjacentNodes
(Node node) GraphUtils.getAmbiguousTriplesFromGraph
(Node node, Graph graph) static Node
GraphUtils.getAssociatedNode
(Node errorNode, Graph graph) Dag.getChildren
(Node node) EdgeListGraph.getChildren
(Node node) Graph.getChildren
(Node node) LagGraph.getChildren
(Node node) SemGraph.getChildren
(Node node) TimeLagGraph.getChildren
(Node node) GraphPersistence.getCollidersFromGraph
(Node node, Graph graph) Paths.getDconnectedVars
(Node y, List<Node> z) int
int
int
int
int
int
Dag.getDirectedEdge
(Node node1, Node node2) EdgeListGraph.getDirectedEdge
(Node node1, Node node2) Graph.getDirectedEdge
(Node node1, Node node2) LagGraph.getDirectedEdge
(Node node1, Node node2) SemGraph.getDirectedEdge
(Node node1, Node node2) TimeLagGraph.getDirectedEdge
(Node node1, Node node2) final Endpoint
Edge.getDistalEndpoint
(Node node) 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) Dag.getEndpoint
(Node node1, Node node2) EdgeListGraph.getEndpoint
(Node node1, Node node2) Graph.getEndpoint
(Node node1, Node node2) LagGraph.getEndpoint
(Node node1, Node node2) SemGraph.getEndpoint
(Node node1, Node node2) TimeLagGraph.getEndpoint
(Node node1, Node node2) SemGraph.getErrorNode
(Node node) SemGraph.getExogenous
(Node node) int
Dag.getIndegree
(Node node) int
EdgeListGraph.getIndegree
(Node node) int
Graph.getIndegree
(Node node) int
LagGraph.getIndegree
(Node node) int
SemGraph.getIndegree
(Node node) int
TimeLagGraph.getIndegree
(Node node) Paths.getInducingPath
(Node x, Node y) Dag.getNodesInTo
(Node node, Endpoint n) 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) SemGraph.getNodesInTo
(Node node, Endpoint endpoint) TimeLagGraph.getNodesInTo
(Node node, Endpoint endpoint) Dag.getNodesOutTo
(Node node, Endpoint n) 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) SemGraph.getNodesOutTo
(Node node, Endpoint n) TimeLagGraph.getNodesOutTo
(Node node, Endpoint endpoint) GraphUtils.getNoncollidersFromGraph
(Node node, Graph graph) int
Dag.getNumEdges
(Node node) int
EdgeListGraph.getNumEdges
(Node node) int
Graph.getNumEdges
(Node node) int
LagGraph.getNumEdges
(Node node) int
SemGraph.getNumEdges
(Node node) int
TimeLagGraph.getNumEdges
(Node node) int
Dag.getOutdegree
(Node node) int
EdgeListGraph.getOutdegree
(Node node) int
Graph.getOutdegree
(Node node) int
LagGraph.getOutdegree
(Node node) int
SemGraph.getOutdegree
(Node node) int
TimeLagGraph.getOutdegree
(Node node) Dag.getParents
(Node node) EdgeListGraph.getParents
(Node node) Graph.getParents
(Node node) LagGraph.getParents
(Node node) SemGraph.getParents
(Node node) TimeLagGraph.getParents
(Node node) final Endpoint
Edge.getProximalEndpoint
(Node node) TripleClassifier.getTriplesLists
(Node node) Underlines.getTriplesLists
(Node node) GraphUtils.getUnderlinedTriplesFromGraph
(Node node, Graph graph) SemGraph.getVarNode
(Node node) boolean
Dag.isAdjacentTo
(Node node1, Node node2) boolean
EdgeListGraph.isAdjacentTo
(Node node1, Node node2) Determines whether some edge or other exists between two nodes.boolean
Graph.isAdjacentTo
(Node node1, Node node2) boolean
LagGraph.isAdjacentTo
(Node node1, Node node2) boolean
SemGraph.isAdjacentTo
(Node nodeX, Node nodeY) boolean
TimeLagGraph.isAdjacentTo
(Node node1, Node node2) 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) boolean
Paths.isAncestorOf
(Node node1, Node node2) Determines whether one node is an ancestor of another.boolean
boolean
Determines whether one node is a child of another.boolean
boolean
boolean
boolean
boolean
Paths.isDConnectedTo
(Node x, Node y, List<Node> z) boolean
Dag.isDefCollider
(Node node1, Node node2, Node node3) boolean
EdgeListGraph.isDefCollider
(Node node1, Node node2, Node node3) boolean
Graph.isDefCollider
(Node node1, Node node2, Node node3) Added by ekorber, 2004/6/9.boolean
LagGraph.isDefCollider
(Node node1, Node node2, Node node3) boolean
SemGraph.isDefCollider
(Node node1, Node node2, Node node3) boolean
TimeLagGraph.isDefCollider
(Node node1, Node node2, Node node3) boolean
Dag.isDefNoncollider
(Node node1, Node node2, Node node3) boolean
EdgeListGraph.isDefNoncollider
(Node node1, Node node2, Node node3) IllegalArgument exception raised (by isDirectedFromTo(getEndpoint) or by getEdge) if there are multiple edges between any of the node pairs.boolean
Graph.isDefNoncollider
(Node node1, Node node2, Node node3) Added by ekorber, 2004/6/9.boolean
LagGraph.isDefNoncollider
(Node node1, Node node2, Node node3) boolean
SemGraph.isDefNoncollider
(Node node1, Node node2, Node node3) boolean
TimeLagGraph.isDefNoncollider
(Node node1, Node node2, Node node3) boolean
Paths.isDescendentOf
(Node node1, Node node2) Determines whether one node is a descendent of another.boolean
Paths.isDirectedFromTo
(Node node1, Node node2) boolean
EdgeListGraph.isDSeparatedFrom
(Node x, Node y, List<Node> z) boolean
Paths.isDSeparatedFrom
(Node node1, Node node2, List<Node> z) Determines whether one n ode is d-separated from another.boolean
Dag.isExogenous
(Node node) boolean
EdgeListGraph.isExogenous
(Node node) Determines whether a node in a graph is exogenous.boolean
Graph.isExogenous
(Node node) boolean
LagGraph.isExogenous
(Node node) boolean
SemGraph.isExogenous
(Node node) boolean
TimeLagGraph.isExogenous
(Node node) boolean
Dag.isParameterizable
(Node node) boolean
EdgeListGraph.isParameterizable
(Node node) boolean
Graph.isParameterizable
(Node node) boolean
LagGraph.isParameterizable
(Node node) boolean
SemGraph.isParameterizable
(Node node) boolean
TimeLagGraph.isParameterizable
(Node node) boolean
Dag.isParentOf
(Node node1, Node node2) boolean
EdgeListGraph.isParentOf
(Node node1, Node node2) Determines whether one node is a parent of another.boolean
Graph.isParentOf
(Node node1, Node node2) Determines whether node1 is a parent of node2.boolean
LagGraph.isParentOf
(Node node1, Node node2) boolean
SemGraph.isParentOf
(Node node1, Node node2) boolean
TimeLagGraph.isParentOf
(Node node1, Node node2) boolean
Check to see if a set of variables Z satisfies the back-door criterion relative to node x and node y.boolean
Underlines.isUnderlineTriple
(Node x, Node y, Node z) States whether r-s-r is an underline triple or not.boolean
Paths.isUndirectedFromTo
(Node node1, Node node2) static Graph
GraphUtils.markovBlanketDag
(Node target, Graph dag) Calculates the Markov blanket of a target in a DAG.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) static String
Triple.pathString
(Graph graph, Node x, Node y, Node z) boolean
Edge.pointsTowards
(Node node) boolean
Paths.possibleAncestor
(Node node1, Node node2) Paths.possibleDsep
(Node x, Node y, int maxPathLength) void
Underlines.removeAmbiguousTriple
(Node x, Node y, Node z) void
Underlines.removeDottedUnderlineTriple
(Node x, Node y, Node z) boolean
Dag.removeEdge
(Node node1, Node node2) boolean
EdgeListGraph.removeEdge
(Node node1, Node node2) Removes the edge connecting the two given nodes.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) boolean
SemGraph.removeEdge
(Node node1, Node node2) boolean
TimeLagGraph.removeEdge
(Node node1, Node node2) boolean
Dag.removeEdges
(Node node1, Node node2) 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) boolean
SemGraph.removeEdges
(Node node1, Node node2) boolean
TimeLagGraph.removeEdges
(Node node1, Node node2) boolean
Dag.removeNode
(Node node) 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) boolean
SemGraph.removeNode
(Node node) boolean
TimeLagGraph.removeNode
(Node node) void
Underlines.removeUnderlineTriple
(Node x, Node y, Node z) Paths.semidirectedPathsFromTo
(Node node1, Node node2, int maxLength) boolean
Dag.setEndpoint
(Node from, Node to, Endpoint endPoint) boolean
EdgeListGraph.setEndpoint
(Node from, Node to, Endpoint endPoint) If there is currently an edge from node1 to node2, sets the endpoint at node2 to the given endpoint; if there is no such edge, adds an edge --# where # is 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) boolean
SemGraph.setEndpoint
(Node node1, Node node2, Endpoint endpoint) boolean
TimeLagGraph.setEndpoint
(Node from, Node to, Endpoint endPoint) static Node
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) Paths.treksIncludingBidirected
(Node node1, Node node2) static Edge
Edges.undirectedEdge
(Node nodeA, Node nodeB) Constructs a new undirected edge from nodeA to nodeB (--).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.MisclassificationUtils.convertNodes
(Set<Edge> edges, List<Node> newVariables) boolean
Paths.existsInducingPathVisit
(Node a, Node b, Node x, Node y, LinkedList<Node> path) boolean
Paths.existsSemiDirectedPathFromTo
(Node node1, Set<Node> nodes) Paths.getAncestors
(List<Node> nodes) Paths.getDconnectedVars
(Node y, List<Node> z) Paths.getDescendants
(List<Node> nodes) 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) The extra edge removal step for GFCI.GraphPersistence.grabLayout
(List<Node> nodes) static boolean
GraphUtils.isClique
(Collection<Node> set, Graph graph) boolean
Paths.isDConnectedTo
(Node x, Node y, List<Node> z) boolean
boolean
EdgeListGraph.isDSeparatedFrom
(Node x, Node y, List<Node> z) boolean
boolean
Paths.isDSeparatedFrom
(Node node1, Node node2, List<Node> z) Determines whether one n ode is d-separated from another.boolean
Check to see if a set of variables Z satisfies the back-door criterion relative to node x and node y.static Graph
GraphPersistence.loadGraphBNTPcMatrix
(List<Node> vars, DataSet dataSet) void
Paths.makeValidOrder
(List<Node> order) GraphUtils.maximalCliques
(Graph graph, List<Node> nodes) static Graph
GraphPersistence.parseGraphXml
(nu.xom.Element graphElement, Map<String, Node> nodes) static String
GraphUtils.pathString
(Graph graph, List<Node> path) static Dag
RandomGraph.randomDag
(List<Node> nodes, int numLatentConfounders, int maxNumEdges, int maxDegree, int maxIndegree, int maxOutdegree, boolean connected) static Graph
RandomGraph.randomGraph
(List<Node> nodes, int numLatentConfounders, int maxNumEdges, int maxDegree, int maxIndegree, int maxOutdegree, boolean connected) Defaults to random forward graphs.static Graph
RandomGraph.randomGraphRandomForwardEdges
(List<Node> nodes, int numLatentConfounders, int numEdges, int maxDegree, int maxIndegree, int maxOutdegree, boolean connected) static Graph
RandomGraph.randomGraphRandomForwardEdges
(List<Node> nodes, int numLatentConfounders, int numEdges, int maxDegree, int maxIndegree, int maxOutdegree, boolean connected, boolean layoutAsCircle) static Graph
RandomGraph.randomGraphUniform
(List<Node> nodes, int numLatentConfounders, int maxNumEdges, int maxDegree, int maxIndegree, int maxOutdegree, boolean connected, int numIterations) boolean
Dag.removeNodes
(List<Node> nodes) boolean
EdgeListGraph.removeNodes
(List<Node> newNodes) Removes any relevant node objects found in this collection.boolean
Graph.removeNodes
(List<Node> nodes) Iterates through the list and removes any permissible nodes found.boolean
LagGraph.removeNodes
(List<Node> nodes) boolean
SemGraph.removeNodes
(List<Node> nodes) boolean
TimeLagGraph.removeNodes
(List<Node> nodes) 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
void
void
void
void
void
Constructs and returns a subgraph consisting of a given subset of the nodes of this graph together with the edges between them.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) IndependenceFact
(Node x, Node y, List<Node> z) Constructs a triple of nodes.IndependenceFact
(Node x, Node y, Set<Node> z) 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.performance
Method parameters in edu.cmu.tetrad.performance 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.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.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 Node -
Uses of Node in edu.cmu.tetrad.search
Methods in edu.cmu.tetrad.search that return NodeModifier and TypeMethodDescriptionTeyssierScorer.get
(int j) Returns the node at index j in pi.TeyssierScorer2.get
(int j) Returns the node at index j in pi.TeyssierScorerOpt.get
(int j) Returns the node at index j in pi.Cstar.Record.getCauseNode()
Cstar.Record.getEffectNode()
Sextad.getI()
Tetrad.getI()
Sextad.getJ()
Tetrad.getJ()
Sextad.getK()
Tetrad.getK()
Sextad.getL()
Tetrad.getL()
Sextad.getM()
Sextad.getN()
GrowShrinkTree.getNode()
Cefs.getTarget()
default Node
IndependenceTest.getVariable
(String name) IndTestDSep.getVariable
(String name) IndTestFisherZ.getVariable
(String name) IndTestFisherZRecursive.getVariable
(String name) IndTestHsic.getVariable
(String name) IndTestIndependenceFacts.getVariable
(String name) IndTestPositiveCorr.getVariable
(String name) IndTestProbabilistic.getVariable
(String name) IndTestScore.getVariable
(String name) IndTestSepset.getVariable
(Node node) IndTestSepset.getVariable
(String name) IndTestTrekSep.getVariable
(String name) Kci.getVariable
(String name) Returns the variable by the given name.ProbabilisticMAPIndependence.getVariable
(String name) default Node
Score.getVariable
(String targetName) static Node
Methods in edu.cmu.tetrad.search that return types with arguments of type NodeModifier and TypeMethodDescriptionBossMB.besOrder
(TeyssierScorer2 scorer) BossMB2.besOrder
(TeyssierScorer2 scorer) Ida.calculateMinimumEffectsOnY
(Node y) Returns a map from nodes in V \ {Y} to their minimum effects.ClusterUtils.clustersToPartition
(Clusters clusters, List<Node> variables) ClusterUtils.convertIntToList
(List<int[]> partition, List<Node> nodes) MimUtils.convertToClusters2
(Graph clusterGraph) OtherPermAlgs.esp
(@NotNull TeyssierScorer scorer) Finds the Markov blanket of the given target.Given the target this returns all the nodes in the Markov Blanket.OtherPermAlgs.gasp
(@NotNull TeyssierScorer scorer) Retrieves the sepset previously set for {a, b}, or null if no such set was previously set.Retrieves the sepset previously set for {x, y}, or null if no such set was previously set.TeyssierScorer.getAdjacentNodes
(Node v) Returns the nodes adjacent to v.TeyssierScorer2.getAdjacentNodes
(Node v) Returns the nodes adjacent to v.TeyssierScorerOpt.getAdjacentNodes
(Node v) Returns the nodes adjacent to v.TeyssierScorer.getAdjMap()
TeyssierScorer.getAdjMap()
TeyssierScorer.getAncestors
(Node node) TeyssierScorer2.getAncestors
(Node node) TeyssierScorerOpt.getAncestors
(Node node) TeyssierScorer.getAncestralNodes
(Node v) Vcfas.getApparentlyNonadjacencies()
BayesUpdaterClassifier.getBayesImVars()
TeyssierScorer.getChildMap()
TeyssierScorer.getChildMap()
TeyssierScorer.getChildren
(int p) TeyssierScorer.getChildren
(Node v) Mimbuild.getClustering()
MimbuildTrek.getClustering()
FindOneFactorClusters.getClusters()
The clusters output by the algorithm from the last call to search().FindTwoFactorClusters.getClusters()
The clusters output by the algorithm from the last call to search().PossibleDConnectingPath.getConditions()
TeyssierScorer.getDescendants
(Node node) TeyssierScorer.getEdges()
Returns a list of edges for the current graph as a list of ordered pairs.TeyssierScorer2.getEdges()
Returns a list of edges for the current graph as a list of ordered pairs.TeyssierScorerOpt.getEdges()
Returns a list of edges for the current graph as a list of ordered pairs.DMSearch.LatentStructure.getLatentEffects
(Node latent) DMSearch.LatentStructure.getLatents()
Bridges.getNeighbors
(Graph graph, Node node) Fas.getNodes()
FasConcurrent.getNodes()
FasDeterministic.getNodes()
FasFdr.getNodes()
FasStableConcurrentFdr.getNodes()
Fasts.getNodes()
Ida.NodeEffects.getNodes()
IFas.getNodes()
MeekRulesRestricted.getNodes()
Pc.getNodes()
Pcd.getNodes()
PcMax.getNodes()
PcStable.getNodes()
PcStableMax.getNodes()
Sextad.getNodes()
Tetrad.getNodes()
Vcfas.getNodes()
MagSemBicScore.getOrder()
TeyssierScorer.getOrderShallow()
Returns the current permutation without making a copy.DMSearch.LatentStructure.getOutputs
(Node latent) Boss.getParents()
Boss.getParents()
Sp.getParents()
Sp.getParents()
SuborderSearch.getParents()
SuborderSearch.getParents()
TeyssierScorer.getParents
(int p) Returns the parents of the node at index p.TeyssierScorer.getParents
(Node v) Returns the parents of a node v.TeyssierScorer2.getParents
(int p) Returns the parents of the node at index p.TeyssierScorer2.getParents
(Node v) Returns the parents of a node v.TeyssierScorer2.Pair.getParents()
TeyssierScorerOpt.getParents
(int p) Returns the parents of the node at index p.TeyssierScorerOpt.getParents
(Node v) Returns the parents of a node v.PossibleDConnectingPath.getPath()
TeyssierScorer.getPi()
TeyssierScorer2.getPi()
TeyssierScorerOpt.getPi()
TeyssierScorer.getPrefix
(int i) TeyssierScorer2.getPrefix
(int i) SearchGraphUtils.getReachableNodes
(List<Node> initialNodes, LegalPairs legalPairs, List<Node> c, List<Node> d, Graph graph, int maxPathLength) SepsetMapDci.getSeparatedPairs()
PossibleDsepFci.getSepset
(IndependenceTest test, Node node1, Node node2) Pick out the sepset from among adj(i) or adj(k) with the highest p value.Pick out the sepset from among adj(i) or adj(k) with the highest score value.Pick out the sepset from among adj(i) or adj(k) with the highest score value.Pick out the sepset from among adj(i) or adj(k) with the highest p value.SepsetsConservative.getSepsetsLists
(Node x, Node y, Node z, IndependenceTest test, int depth, boolean verbose) Retrieves the set of all condioning sets for {x, y} or null if no such set was ever setTeyssierScorer.getShuffledVariables()
TeyssierScorer.getSkeleton()
TeyssierScorer2.getSkeleton()
PcMb.getTargets()
Bdce.getVariables()
BDeScore.getVariables()
BDeuScore.getVariables()
BdeuScoreImages.getVariables()
Bes.getVariables()
Boss.getVariables()
BossMB.getVariables()
BossMB2.getVariables()
BossOrig.getVariables()
BridgesOld.getVariables()
ConditionalGaussianOtherScore.getVariables()
ConditionalGaussianScore.getVariables()
ContinuousTetradTest.getVariables()
DagSepsets.getVariables()
DegenerateGaussianScore.getVariables()
DegenerateGaussianScoreOld.getVariables()
Deprecated.DeltaSextadTest.getVariables()
DirichletScore.getVariables()
DiscreteBicScore.getVariables()
DiscreteMixedScore.getVariables()
DiscreteTetradTest.getVariables()
EbicScore.getVariables()
GraphScore.getVariables()
Grasp.getVariables()
GraspTol.getVariables()
GrowShrinkTree.getVariables()
ImagesScore.getVariables()
IndependenceTest.getVariables()
IndTestChiSquare.getVariables()
IndTestCodec.getVariables()
IndTestConditionalCorrelation.getVariables()
IndTestConditionalCorrelationLingam.getVariables()
IndTestConditionalGaussianLRT.getVariables()
IndTestCramerT.getVariables()
IndTestDegenerateGaussianLRT.getVariables()
IndTestDSep.getVariables()
IndTestFisherZ.getVariables()
IndTestFisherZConcatenateResiduals.getVariables()
IndTestFisherZFisherPValue.getVariables()
IndTestFisherZGeneralizedInverse.getVariables()
IndTestFisherZPercentIndependent.getVariables()
IndTestFisherZRecursive.getVariables()
IndTestGSquare.getVariables()
IndTestHsic.getVariables()
IndTestIndependenceFacts.getVariables()
IndTestMixedMultipleTTest.getVariables()
IndTestMNLRLRT.getVariables()
IndTestMulti.getVariables()
IndTestMultinomialLogisticRegression.getVariables()
IndTestMVPLRT.getVariables()
IndTestPositiveCorr.getVariables()
IndTestProbabilistic.getVariables()
IndTestRegression.getVariables()
IndTestScore.getVariables()
IndTestSepset.getVariables()
IndTestTrekSep.getVariables()
Kci.getVariables()
Returns the list of variables over which this independence checker is capable of determinining independence relations.KimEtAlScores.getVariables()
LvBesJoe.getVariables()
MagSemBicScore.getVariables()
MNLRScore.getVariables()
MVPScore.getVariables()
OtherPermAlgs.getVariables()
PermutationSearch.getVariables()
PoissonPriorScore.getVariables()
PopulationTetradTest.getVariables()
ProbabilisticMAPIndependence.getVariables()
Score.getVariables()
ScoredIndTest.getVariables()
SemBicScore.getVariables()
SemBicScoreDeterministic.getVariables()
SemBicScoreImages.getVariables()
SemBicScoreMultiFas.getVariables()
SepsetProducer.getVariables()
SepsetsConservative.getVariables()
SepsetsGreedy.getVariables()
SepsetsGreedy2.getVariables()
SepsetsPossibleDsep.getVariables()
SepsetsSet.getVariables()
Sp.getVariables()
SuborderSearch.getVariables()
TetradTest.getVariables()
ZhangShenBoundScore.getVariables()
ZhangShenBoundTest.getVariables()
MeekRulesRestricted.getVisitedNodes()
GraphoidAxioms.GraphoidIndFact.getX()
GraphoidAxioms.GraphoidIndFact.getY()
GraphoidAxioms.GraphoidIndFact.getZ()
Grasp.grasp
(@NotNull TeyssierScorer scorer) GraspTol.grasp
(@NotNull TeyssierScorer scorer) ImpliedOrientation.orientImplied
(Graph graph) Adds implied orientations.MeekRules.orientImplied
(Graph graph) MeekRulesCpdag.orientImplied
(Graph graph) MeekRulesRestricted.orientImplied
(Graph graph) OtherPermAlgs.rcg
(@NotNull TeyssierScorer scorer) Greedy equivalence search: Start from the empty graph, add edges till model is significant.Fasts.searchMapOnly()
Fasts.searchMapOnly()
OtherPermAlgs.sp
(@NotNull TeyssierScorer scorer) ClusterSignificance.variablesForIndices
(List<Integer> cluster, List<Node> variables) Methods in edu.cmu.tetrad.search with parameters of type NodeModifier and TypeMethodDescriptionvoid
void
Add another orient operation to the GraphChange.void
DMSearch.LatentStructure.addRecord
(Node latent, SortedSet<Node> inputs, SortedSet<Node> outputs, SortedSet<Node> latentEffects) void
TsFges2.addSimilarEdges
(Node x, Node y) boolean
Returns True iff a is adjacent to b in the current graph.boolean
Returns True iff a is adjacent to b in the current graph.boolean
Returns True iff a is adjacent to b in the current graph.boolean
TeyssierScorer.ancestorAdjacent
(Node a, Node b) boolean
TeyssierScorer.ancestralCollider
(Node a, Node b, Node c) static void
SearchGraphUtils.basicCpdagRestricted2
(Graph graph, Node node) Ida.calculateMinimumEffectsOnY
(Node y) Returns a map from nodes in V \ {Y} to their minimum effects.default IndependenceResult
IndependenceTest.checkIndependence
(Node x, Node y, Node... z) IndependenceTest.checkIndependence
(Node x, Node y, List<Node> z) IndTestChiSquare.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning varNames z.IndTestCodec.checkIndependence
(Node y, Node z, List<Node> x) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestConditionalCorrelation.checkIndependence
(Node x, Node y, List<Node> z) IndTestConditionalCorrelationLingam.checkIndependence
(Node x, Node y, List<Node> z) IndTestConditionalGaussianLRT.checkIndependence
(Node x, Node y, List<Node> z) IndTestCramerT.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestDegenerateGaussianLRT.checkIndependence
(Node x, Node y, List<Node> z) IndTestDSep.checkIndependence
(Node x, Node y, List<Node> z) Checks the indicated d-separation fact.IndTestFisherZ.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestFisherZConcatenateResiduals.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestFisherZFisherPValue.checkIndependence
(Node x, Node y, List<Node> z) IndTestFisherZGeneralizedInverse.checkIndependence
(Node xVar, Node yVar, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestFisherZPercentIndependent.checkIndependence
(Node x, Node y, List<Node> z) IndTestFisherZRecursive.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestGSquare.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning varNames z.IndTestHsic.checkIndependence
(Node y, Node x, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestIndependenceFacts.checkIndependence
(Node x, Node y, List<Node> z) IndTestMixedMultipleTTest.checkIndependence
(Node x, Node y, List<Node> z) IndTestMNLRLRT.checkIndependence
(Node x, Node y, List<Node> z) IndTestMulti.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestMultinomialLogisticRegression.checkIndependence
(Node x, Node y, List<Node> z) IndTestMVPLRT.checkIndependence
(Node x, Node y, List<Node> z) IndTestPositiveCorr.checkIndependence
(Node x0, Node y0, List<Node> z0) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestProbabilistic.checkIndependence
(Node x, Node y, Node... z) IndTestProbabilistic.checkIndependence
(Node x, Node y, List<Node> z) IndTestRegression.checkIndependence
(Node xVar, Node yVar, List<Node> zList) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestScore.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestSepset.checkIndependence
(Node x, Node y, List<Node> z) Checks the indicated independence fact.IndTestTrekSep.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.Kci.checkIndependence
(Node x, Node y, List<Node> z) Returns true if the given independence question is judged true, false if not.ProbabilisticMAPIndependence.checkIndependence
(Node x, Node y, Node... z) ProbabilisticMAPIndependence.checkIndependence
(Node x, Node y, List<Node> z) boolean
Returns true iff [a, b, c] is a collider.boolean
Returns true iff [a, b, c] is a collider.boolean
Returns true iff [a, b, c] is a collider.static String
SearchLogUtils.colliderOrientedMsg
(Node x, Node y, Node z) static String
static String
SearchLogUtils.colliderOrientedMsg
(String note, Node x, Node y, Node z) boolean
DMSearch.LatentStructure.containsLatent
(Node latent) double
boolean
TeyssierScorer.coveredEdge
(Node x, Node y) Returns true iff x->y or y->x is a covered edge.boolean
TeyssierScorer2.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.void
a method to search "back from a" to find a DDP.void
static String
SearchLogUtils.dependenceFactMsg
(Node x, Node y, List<Node> condSet, double pValue) boolean
BDeScore.determines
(List<Node> z, Node y) boolean
BDeuScore.determines
(List<Node> z, Node y) boolean
BdeuScoreImages.determines
(List<Node> z, Node y) boolean
ConditionalGaussianOtherScore.determines
(List<Node> z, Node y) boolean
ConditionalGaussianScore.determines
(List<Node> z, Node y) boolean
DegenerateGaussianScore.determines
(List<Node> z, Node y) boolean
DegenerateGaussianScoreOld.determines
(List<Node> z, Node y) Deprecated.boolean
DirichletScore.determines
(List<Node> z, Node y) boolean
DiscreteBicScore.determines
(List<Node> z, Node y) boolean
DiscreteMixedScore.determines
(List<Node> z, Node y) boolean
EbicScore.determines
(List<Node> z, Node y) boolean
GraphScore.determines
(List<Node> z, Node y) boolean
ImagesScore.determines
(List<Node> z, Node y) default boolean
IndependenceTest.determines
(List<Node> z, Node y) boolean
IndTestChiSquare.determines
(List<Node> z, Node x1) boolean
IndTestCodec.determines
(List<Node> z, Node y) boolean
IndTestConditionalCorrelation.determines
(List<Node> z, Node x) IfisDeterminismAllowed()
, deters to IndTestFisherZD; otherwise throws UnsupportedOperationException.boolean
IndTestConditionalCorrelationLingam.determines
(List<Node> z, Node x) IfisDeterminismAllowed()
, deters to IndTestFisherZD; otherwise throws UnsupportedOperationException.boolean
IndTestConditionalGaussianLRT.determines
(List<Node> z, Node y) boolean
IndTestCramerT.determines
(List<Node> z, Node x) boolean
IndTestDegenerateGaussianLRT.determines
(List<Node> z, Node y) boolean
IndTestDSep.determines
(List<Node> z, Node x1) boolean
IndTestFisherZ.determines
(List<Node> z, Node x) IfisDeterminismAllowed()
, deters to IndTestFisherZD; otherwise throws UnsupportedOperationException.boolean
IndTestFisherZConcatenateResiduals.determines
(List z, Node x) boolean
IndTestFisherZFisherPValue.determines
(List<Node> z, Node x) boolean
IndTestFisherZGeneralizedInverse.determines
(List<Node> zList, Node xVar) boolean
IndTestFisherZPercentIndependent.determines
(List z, Node x) boolean
IndTestFisherZRecursive.determines
(List<Node> z, Node x) IfisDeterminismAllowed()
, deters to IndTestFisherZD; otherwise throws UnsupportedOperationException.boolean
IndTestGSquare.determines
(List<Node> z, Node x1) boolean
IndTestHsic.determines
(List<Node> z, Node x) boolean
IndTestIndependenceFacts.determines
(List<Node> z, Node y) boolean
IndTestMixedMultipleTTest.determines
(List<Node> z, Node y) boolean
IndTestMNLRLRT.determines
(List<Node> z, Node y) boolean
IndTestMulti.determines
(List<Node> z, Node x) boolean
IndTestMultinomialLogisticRegression.determines
(List<Node> z, Node y) boolean
IndTestMVPLRT.determines
(List<Node> z, Node y) boolean
IndTestPositiveCorr.determines
(List<Node> z, Node x) IfisDeterminismAllowed()
, deters to IndTestFisherZD; otherwise throws UnsupportedOperationException.boolean
IndTestProbabilistic.determines
(List<Node> z, Node y) boolean
IndTestRegression.determines
(List<Node> zList, Node xVar) boolean
IndTestScore.determines
(List<Node> z, Node y) boolean
IndTestSepset.determines
(List<Node> z, Node x1) boolean
IndTestTrekSep.determines
(List<Node> z, Node x) IfisDeterminismAllowed()
, deters to IndTestFisherZD; otherwise throws UnsupportedOperationException.boolean
Kci.determines
(List<Node> z, Node y) Returns true if y is determined the variable in z.boolean
KimEtAlScores.determines
(List<Node> z, Node y) boolean
MagSemBicScore.determines
(List<Node> z, Node y) boolean
MNLRScore.determines
(List<Node> z, Node y) boolean
MVPScore.determines
(List<Node> z, Node y) boolean
PoissonPriorScore.determines
(List<Node> z, Node y) boolean
ProbabilisticMAPIndependence.determines
(List<Node> z, Node y) default boolean
Score.determines
(List<Node> z, Node y) boolean
ScoredIndTest.determines
(List<Node> z, Node y) boolean
SemBicScore.determines
(List<Node> z, Node y) boolean
SemBicScoreDeterministic.determines
(List<Node> z, Node y) boolean
SemBicScoreImages.determines
(List<Node> z, Node y) boolean
SemBicScoreMultiFas.determines
(List<Node> z, Node y) boolean
ZhangShenBoundScore.determines
(List<Node> z, Node y) boolean
ZhangShenBoundTest.determines
(List<Node> z, Node y) static String
SearchLogUtils.determinismDetected
(List<Node> sepset, Node x) static boolean
DagToPag.existsInducingPathInto
(Node x, Node y, Graph graph) static boolean
TsDagToPag.existsInducingPathInto
(Node x, Node y, Graph graph, Knowledge knowledge) static boolean
TsDagToPag.existsInducingPathVisitts
(Graph graph, Node a, Node b, Node x, Node y, LinkedList<Node> path, Knowledge knowledge) static boolean
SearchGraphUtils.existsLocalSepsetWithout
(Node x, Node y, Node z, IndependenceTest test, Graph graph, int depth) static List<PossibleDConnectingPath>
PossibleDConnectingPath.findDConnectingPaths
(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<PossibleDConnectingPath>
PossibleDConnectingPath.findDConnectingPathsOfLength
(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.Finds the Markov blanket of the given target.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) static void
SampleVcpcFast.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) static void
Vcpc.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) static void
VcpcAlt.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) static void
VcpcFast.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) 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.Retrieves the sepset previously set for {a, b}, or null if no such set was previously set.Retrieves the sepset previously set for {x, y}, or null if no such set was previously set.TeyssierScorer.getAdjacentNodes
(Node v) Returns the nodes adjacent to v.TeyssierScorer2.getAdjacentNodes
(Node v) Returns the nodes adjacent to v.TeyssierScorerOpt.getAdjacentNodes
(Node v) Returns the nodes adjacent to v.Fas.getAmbiguousTriples
(Node node) FasConcurrent.getAmbiguousTriples
(Node node) FasDeterministic.getAmbiguousTriples
(Node node) FasFdr.getAmbiguousTriples
(Node node) FasStableConcurrentFdr.getAmbiguousTriples
(Node node) Fasts.getAmbiguousTriples
(Node node) IFas.getAmbiguousTriples
(Node node) TeyssierScorer.getAncestors
(Node node) TeyssierScorer2.getAncestors
(Node node) TeyssierScorerOpt.getAncestors
(Node node) TeyssierScorer.getAncestralNodes
(Node v) TeyssierScorer.getChildren
(Node v) SearchGraphUtils.getCpcTripleType
(Node x, Node y, Node z, IndependenceTest test, int depth, Graph graph) TeyssierScorer.getDescendants
(Node node) DMSearch.LatentStructure.getLatentEffects
(Node latent) Bridges.getNeighbors
(Graph graph, Node node) DMSearch.LatentStructure.getOutputs
(Node latent) TeyssierScorer.getParents
(Node v) Returns the parents of a node v.TeyssierScorer2.getParents
(Node v) Returns the parents of a node v.TeyssierScorerOpt.getParents
(Node v) Returns the parents of a node v.Vcpc.getPopulationTripleType
(Node x, Node y, Node z, IndependenceTest test, int depth, Graph graph, boolean verbose) VcpcFast.getPopulationTripleType
(Node x, Node y, Node z, IndependenceTest test, int depth, Graph graph, boolean verbose) double
double
PossibleDsepFci.getSepset
(IndependenceTest test, Node node1, Node node2) Pick out the sepset from among adj(i) or adj(k) with the highest p value.Pick out the sepset from among adj(i) or adj(k) with the highest score value.Pick out the sepset from among adj(i) or adj(k) with the highest score value.Pick out the sepset from among adj(i) or adj(k) with the highest p value.SepsetsConservative.getSepsetsLists
(Node x, Node y, Node z, IndependenceTest test, int depth, boolean verbose) Retrieves the set of all condioning sets for {x, y} or null if no such set was ever setIda.getSortedMinEffects
(Node y) Returns the minimum effects of X on Y for X in V \ {Y}, sorted downward by minimum effectIndTestSepset.getVariable
(Node node) static String
SearchLogUtils.independenceFact
(Node x, Node y, List<Node> condSet) static String
SearchLogUtils.independenceFactMsg
(Node x, Node y, List<Node> condSet, double pValue) int
Return the index of v in the current permutation.int
Return the index of v in the current permutation.int
Return the index of v in the current permutation.static boolean
FciOrient.isArrowpointAllowed
(Node x, Node y, Graph graph, Knowledge knowledge) static boolean
Cpc.isArrowpointAllowed1
(Node from, Node to, Knowledge knowledge) static boolean
CpcStable.isArrowpointAllowed1
(Node from, Node to, Knowledge knowledge) static boolean
PcAll.isArrowpointAllowed1
(Node from, Node to, Knowledge knowledge) static boolean
SampleVcpc.isArrowpointAllowed1
(Node from, Node to, Knowledge knowledge) static boolean
SampleVcpcFast.isArrowpointAllowed1
(Node from, Node to, Knowledge knowledge) static boolean
SearchGraphUtils.isArrowpointAllowed1
(Node from, Node to, Knowledge knowledge) Checks if an arrowpoint is allowed by background knowledge.static boolean
Vcpc.isArrowpointAllowed1
(Node from, Node to, Knowledge knowledge) static boolean
VcpcAlt.isArrowpointAllowed1
(Node from, Node to, Knowledge knowledge) static boolean
VcpcFast.isArrowpointAllowed1
(Node from, Node to, Knowledge knowledge) boolean
GraphScore.isDConnectedTo
(Node x, Node y, List<Node> z) boolean
IndTestDSep.isDSeparated
(Node x, Node y, List<Node> z) Auxiliary method to calculate dseparation facts directly from nodes instead of from variables.boolean
GraphScore.isDSeparatedFrom
(Node x, Node y, List<Node> z) boolean
GrowShrinkTree.isForbidden
(Node node) double
ConditionalCorrelationIndependence.isIndependent
(Node x, Node y, List<Node> z) double
ConditionalCorrelationIndependenceLingam.isIndependent
(Node x, Node y, List<Node> z) boolean
DagSepsets.isIndependent
(Node a, Node b, List<Node> c) boolean
SepsetProducer.isIndependent
(Node d, Node c, List<Node> path) boolean
SepsetsConservative.isIndependent
(Node a, Node b, List<Node> c) boolean
SepsetsGreedy.isIndependent
(Node a, Node b, List<Node> c) boolean
SepsetsGreedy2.isIndependent
(Node a, Node b, List<Node> c) boolean
SepsetsPossibleDsep.isIndependent
(Node d, Node c, List<Node> path) boolean
SepsetsSet.isIndependent
(Node a, Node b, List<Node> c) static boolean
ResolveSepsets.isIndependentPooled
(ResolveSepsets.Method method, List<IndependenceTest> independenceTests, Node x, Node y, List<Node> condSet) Tests for independence using one of the pooled methodsstatic boolean
ResolveSepsets.isIndependentPooledAverage
(List<IndependenceTest> independenceTests, Node x, Node y, List<Node> condSet) Checks independence from pooled samples by taking the average p valuestatic boolean
ResolveSepsets.isIndependentPooledAverageTest
(List<IndependenceTest> independenceTests, Node x, Node y, List<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, List<Node> condSet) Checks independence from pooled samples using Fisher's method.static boolean
ResolveSepsets.isIndependentPooledFisher2
(List<IndependenceTest> independenceTests, Node x, Node y, List<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, List<Node> condSet) Checks independence from pooled samples using Mudholker and George's methodstatic boolean
ResolveSepsets.isIndependentPooledMudholkerGeorge2
(List<IndependenceTest> independenceTests, Node x, Node y, List<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, List<Node> condSet) Checks independence from pooled samples by randomly selecting a p valuestatic boolean
ResolveSepsets.isIndependentPooledStouffer
(List<IndependenceTest> independenceTests, Node x, Node y, List<Node> condSet) Checks independence from pooled samples using Stouffer et al.'s methodstatic boolean
ResolveSepsets.isIndependentPooledTippett
(List<IndependenceTest> independenceTests, Node x, Node y, List<Node> condSet) Checks independence from pooled samples using Tippett's methodstatic boolean
ResolveSepsets.isIndependentPooledWilkinson
(List<IndependenceTest> independenceTests, Node x, Node y, List<Node> condSet, int r) Checks independence from pooled samples using Wilkinson's methodstatic boolean
ResolveSepsets.isIndependentPooledWorsleyFriston
(List<IndependenceTest> independenceTests, Node x, Node y, List<Node> condSet) Checks independence from pooled samples using Worsley and Friston's methodboolean
LegalPairs.isLegalFirstEdge
(Node x, Node y) boolean
boolean
GrowShrinkTree.isRequired
(Node node) boolean
DagSepsets.isUnshieldedCollider
(Node i, Node j, Node k) boolean
SepsetProducer.isUnshieldedCollider
(Node i, Node j, Node k) boolean
SepsetsConservative.isUnshieldedCollider
(Node i, Node j, Node k) boolean
SepsetsGreedy.isUnshieldedCollider
(Node i, Node j, Node k) boolean
SepsetsGreedy2.isUnshieldedCollider
(Node i, Node j, Node k) boolean
SepsetsPossibleDsep.isUnshieldedCollider
(Node i, Node j, Node k) boolean
SepsetsSet.isUnshieldedCollider
(Node i, Node j, Node k) boolean
DagSepsets.isUnshieldedNoncollider
(Node i, Node j, Node k) boolean
SepsetProducer.isUnshieldedNoncollider
(Node a, Node b, Node c) boolean
SepsetsConservative.isUnshieldedNoncollider
(Node i, Node j, Node k) boolean
SepsetsGreedy.isUnshieldedNoncollider
(Node i, Node j, Node k) boolean
SepsetsGreedy2.isUnshieldedNoncollider
(Node i, Node j, Node k) boolean
SepsetsPossibleDsep.isUnshieldedNoncollider
(Node i, Node j, Node k) boolean
SepsetsSet.isUnshieldedNoncollider
(Node i, Node j, Node k) double
void
Moves v to a new index.void
Moves v to a new index.void
Moves v to a new index.void
void
TeyssierScorer2.moveToNoUpdate
(Node v, int toIndex) static void
OrientCollidersMaxP.orientCollider
(Node x, Node y, Node z, PcAll.ConflictRule conflictRule, Graph graph) boolean
boolean
double
IndTestProbabilistic.probConstraint
(BCInference bci, BCInference.OP op, Node x, Node y, Node[] z, Map<Node, Integer> indices) double
ProbabilisticMAPIndependence.probConstraint
(BCInference.OP op, Node x, Node y, Node[] z) double
void
DMSearch.LatentStructure.removeLatent
(Node latent) void
SvarGFci.removeSimilarEdges
(Node x, Node y) void
TsFges2.removeSimilarEdges
(Node x, Node y) double[]
Calculates the residuals of x regressed nonparametrically onto z.double[]
Calculates the residuals of x regressed nonparametrically onto z.Greedy equivalence search: Start from the empty graph, add edges till model is significant.void
Sets the sepset for {x, y} to be z.void
SepsetMap.set
(Node x, LinkedHashSet<Node> z) void
Sets the sepset for {x, y} to be z.void
SepsetMapDci.set
(Node x, LinkedHashSet<Node> z) void
boolean
Swaps m and n in the permutation.boolean
Swaps m and n in the permutation.boolean
Swaps m and n in the permutation.boolean
boolean
Performs a tuck operation.boolean
Returns true iff [a, b, c] is a triangle.boolean
Returns true iff [a, b, c] is a triangle.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) 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.double
Ida.trueEffect
(Node x, Node y, Graph trueDag) boolean
boolean
boolean
void
TeyssierScorer.tuckWithoutMovingAncestors
(Node x, Node y) Method parameters in edu.cmu.tetrad.search with type arguments of type NodeModifier and TypeMethodDescriptionvoid
DMSearch.LatentStructure.addRecord
(Node latent, SortedSet<Node> inputs, SortedSet<Node> outputs, SortedSet<Node> latentEffects) ResolveSepsets.allNodePairs
(List<Node> nodes) Generates NodePairs of all possible pairs of nodes from given list of nodes.void
void
void
BossMB.betterMutationBoss
(@NotNull TeyssierScorer2 scorer, List<Node> targets) void
BossMB2.betterMutationBossTuck
(@NotNull TeyssierScorer2 scorer, List<Node> targets) IndependenceTest.checkIndependence
(Node x, Node y, List<Node> z) IndTestChiSquare.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning varNames z.IndTestCodec.checkIndependence
(Node y, Node z, List<Node> x) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestConditionalCorrelation.checkIndependence
(Node x, Node y, List<Node> z) IndTestConditionalCorrelationLingam.checkIndependence
(Node x, Node y, List<Node> z) IndTestConditionalGaussianLRT.checkIndependence
(Node x, Node y, List<Node> z) IndTestCramerT.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestDegenerateGaussianLRT.checkIndependence
(Node x, Node y, List<Node> z) IndTestDSep.checkIndependence
(Node x, Node y, List<Node> z) Checks the indicated d-separation fact.IndTestFisherZ.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestFisherZConcatenateResiduals.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestFisherZFisherPValue.checkIndependence
(Node x, Node y, List<Node> z) IndTestFisherZGeneralizedInverse.checkIndependence
(Node xVar, Node yVar, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestFisherZPercentIndependent.checkIndependence
(Node x, Node y, List<Node> z) IndTestFisherZRecursive.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestGSquare.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning varNames z.IndTestHsic.checkIndependence
(Node y, Node x, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestIndependenceFacts.checkIndependence
(Node x, Node y, List<Node> z) IndTestMixedMultipleTTest.checkIndependence
(Node x, Node y, List<Node> z) IndTestMNLRLRT.checkIndependence
(Node x, Node y, List<Node> z) IndTestMulti.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestMultinomialLogisticRegression.checkIndependence
(Node x, Node y, List<Node> z) IndTestMVPLRT.checkIndependence
(Node x, Node y, List<Node> z) IndTestPositiveCorr.checkIndependence
(Node x0, Node y0, List<Node> z0) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestProbabilistic.checkIndependence
(Node x, Node y, List<Node> z) IndTestRegression.checkIndependence
(Node xVar, Node yVar, List<Node> zList) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestScore.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.IndTestSepset.checkIndependence
(Node x, Node y, List<Node> z) Checks the indicated independence fact.IndTestTrekSep.checkIndependence
(Node x, Node y, List<Node> z) Determines whether variable x is independent of variable y given a list of conditioning variables z.Kci.checkIndependence
(Node x, Node y, List<Node> z) Returns true if the given independence question is judged true, false if not.ProbabilisticMAPIndependence.checkIndependence
(Node x, Node y, List<Node> z) boolean
True iff the nodes in W form a clique in the current DAG.boolean
True iff the nodes in W form a clique in the current DAG.boolean
True iff the nodes in W form a clique in the current DAG.ClusterUtils.clustersToPartition
(Clusters clusters, List<Node> variables) static String
static List<int[]>
static Clusters
MimUtils.convertToClusters
(Graph clusterGraph, List<Node> measuredVariables) Converts a disconnected multiple indicator model into a set of clusters.double
static String
SearchLogUtils.dependenceFactMsg
(Node x, Node y, List<Node> condSet, double pValue) boolean
BDeScore.determines
(List<Node> z, Node y) boolean
BDeuScore.determines
(List<Node> z, Node y) boolean
BdeuScoreImages.determines
(List<Node> z, Node y) boolean
ConditionalGaussianOtherScore.determines
(List<Node> z, Node y) boolean
ConditionalGaussianScore.determines
(List<Node> z, Node y) boolean
DegenerateGaussianScore.determines
(List<Node> z, Node y) boolean
DegenerateGaussianScoreOld.determines
(List<Node> z, Node y) Deprecated.boolean
DirichletScore.determines
(List<Node> z, Node y) boolean
DiscreteBicScore.determines
(List<Node> z, Node y) boolean
DiscreteMixedScore.determines
(List<Node> z, Node y) boolean
EbicScore.determines
(List<Node> z, Node y) boolean
GraphScore.determines
(List<Node> z, Node y) boolean
ImagesScore.determines
(List<Node> z, Node y) default boolean
IndependenceTest.determines
(List<Node> z, Node y) boolean
IndTestChiSquare.determines
(List<Node> z, Node x1) boolean
IndTestCodec.determines
(List<Node> z, Node y) boolean
IndTestConditionalCorrelation.determines
(List<Node> z, Node x) IfisDeterminismAllowed()
, deters to IndTestFisherZD; otherwise throws UnsupportedOperationException.boolean
IndTestConditionalCorrelationLingam.determines
(List<Node> z, Node x) IfisDeterminismAllowed()
, deters to IndTestFisherZD; otherwise throws UnsupportedOperationException.boolean
IndTestConditionalGaussianLRT.determines
(List<Node> z, Node y) boolean
IndTestCramerT.determines
(List<Node> z, Node x) boolean
IndTestDegenerateGaussianLRT.determines
(List<Node> z, Node y) boolean
IndTestDSep.determines
(List<Node> z, Node x1) boolean
IndTestFisherZ.determines
(List<Node> z, Node x) IfisDeterminismAllowed()
, deters to IndTestFisherZD; otherwise throws UnsupportedOperationException.boolean
IndTestFisherZFisherPValue.determines
(List<Node> z, Node x) boolean
IndTestFisherZGeneralizedInverse.determines
(List<Node> zList, Node xVar) boolean
IndTestFisherZRecursive.determines
(List<Node> z, Node x) IfisDeterminismAllowed()
, deters to IndTestFisherZD; otherwise throws UnsupportedOperationException.boolean
IndTestGSquare.determines
(List<Node> z, Node x1) boolean
IndTestHsic.determines
(List<Node> z, Node x) boolean
IndTestIndependenceFacts.determines
(List<Node> z, Node y) boolean
IndTestMixedMultipleTTest.determines
(List<Node> z, Node y) boolean
IndTestMNLRLRT.determines
(List<Node> z, Node y) boolean
IndTestMulti.determines
(List<Node> z, Node x) boolean
IndTestMultinomialLogisticRegression.determines
(List<Node> z, Node y) boolean
IndTestMVPLRT.determines
(List<Node> z, Node y) boolean
IndTestPositiveCorr.determines
(List<Node> z, Node x) IfisDeterminismAllowed()
, deters to IndTestFisherZD; otherwise throws UnsupportedOperationException.boolean
IndTestProbabilistic.determines
(List<Node> z, Node y) boolean
IndTestRegression.determines
(List<Node> zList, Node xVar) boolean
IndTestScore.determines
(List<Node> z, Node y) boolean
IndTestSepset.determines
(List<Node> z, Node x1) boolean
IndTestTrekSep.determines
(List<Node> z, Node x) IfisDeterminismAllowed()
, deters to IndTestFisherZD; otherwise throws UnsupportedOperationException.boolean
Kci.determines
(List<Node> z, Node y) Returns true if y is determined the variable in z.boolean
KimEtAlScores.determines
(List<Node> z, Node y) boolean
MagSemBicScore.determines
(List<Node> z, Node y) boolean
MNLRScore.determines
(List<Node> z, Node y) boolean
MVPScore.determines
(List<Node> z, Node y) boolean
PoissonPriorScore.determines
(List<Node> z, Node y) boolean
ProbabilisticMAPIndependence.determines
(List<Node> z, Node y) default boolean
Score.determines
(List<Node> z, Node y) boolean
ScoredIndTest.determines
(List<Node> z, Node y) boolean
SemBicScore.determines
(List<Node> z, Node y) boolean
SemBicScoreDeterministic.determines
(List<Node> z, Node y) boolean
SemBicScoreImages.determines
(List<Node> z, Node y) boolean
SemBicScoreMultiFas.determines
(List<Node> z, Node y) boolean
ZhangShenBoundScore.determines
(List<Node> z, Node y) boolean
ZhangShenBoundTest.determines
(List<Node> z, Node y) static String
SearchLogUtils.determinismDetected
(List<Node> sepset, Node x) static boolean
TsDagToPag.existsInducingPathVisitts
(Graph graph, Node a, Node b, Node x, Node y, LinkedList<Node> path, Knowledge knowledge) void
FciOrient.fciOrientbk
(Knowledge bk, Graph graph, List<Node> variables) Orients according to background knowledgestatic List<PossibleDConnectingPath>
PossibleDConnectingPath.findDConnectingPaths
(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<PossibleDConnectingPath>
PossibleDConnectingPath.findDConnectingPathsOfLength
(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.static void
SampleVcpc.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) static void
SampleVcpc.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) static void
SampleVcpcFast.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) static void
SampleVcpcFast.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) static void
Vcpc.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) static void
Vcpc.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) static void
VcpcAlt.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) static void
VcpcAlt.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) static void
VcpcFast.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) static void
VcpcFast.futureNodeVisit
(Graph graph, Node b, LinkedList<Node> path, Set<Node> futureNodes) static Graph
static Graph
static Graph
static Graph
PermutationSearch.getGraph
(List<Node> nodes, Map<Node, Set<Node>> parents, Knowledge knowledge, boolean cpDag) static Graph
PermutationSearch.getGraph
(List<Node> nodes, Map<Node, Set<Node>> parents, Knowledge knowledge, boolean cpDag) static Graph
PermutationSearch.getGraph
(List<Node> nodes, Map<Node, Set<Node>> parents, Knowledge knowledge, boolean cpDag) Mimbuild.getLatentNames
(List<Node> latents) MimbuildTrek.getLatentNames
(List<Node> latents) double
SearchGraphUtils.getReachableNodes
(List<Node> initialNodes, LegalPairs legalPairs, List<Node> c, List<Node> d, Graph graph, int maxPathLength) Cstar.getRecords
(DataSet dataSet, List<Node> possibleCauses, List<Node> possibleEffects, IndependenceTest test) Returns records for a set of variables with expected number of false positives bounded by q.Cstar.getRecords
(DataSet dataSet, List<Node> possibleCauses, List<Node> possibleEffects, IndependenceTest test, String path) Returns records for a set of variables with expected number of false positives bounded by q.static String
SearchLogUtils.independenceFact
(Node x, Node y, List<Node> condSet) static String
SearchLogUtils.independenceFactMsg
(Node x, Node y, List<Node> condSet, double pValue) default IndependenceTest
IndependenceTest.indTestSubset
(List<Node> vars) IndTestChiSquare.indTestSubset
(List<Node> nodes) Creates a new IndTestChiSquare for a subset of the nodes.IndTestCodec.indTestSubset
(List<Node> vars) Creates a new independence test instance for a subset of the variables.IndTestConditionalCorrelation.indTestSubset
(List<Node> vars) Creates a new IndTestCramerT instance for a subset of the variables.IndTestConditionalCorrelationLingam.indTestSubset
(List<Node> vars) Creates a new IndTestCramerT instance for a subset of the variables.IndTestConditionalGaussianLRT.indTestSubset
(List<Node> vars) IndTestCramerT.indTestSubset
(List<Node> vars) Creates a new IndTestCramerT instance for a subset of the variables.IndTestDegenerateGaussianLRT.indTestSubset
(List<Node> vars) IndTestDSep.indTestSubset
(List<Node> vars) Required by IndependenceTest.IndTestFisherZ.indTestSubset
(List<Node> vars) Creates a new independence test instance for a subset of the variables.IndTestFisherZConcatenateResiduals.indTestSubset
(List<Node> vars) IndTestFisherZFisherPValue.indTestSubset
(List<Node> vars) IndTestFisherZGeneralizedInverse.indTestSubset
(List<Node> vars) Creates a new IndTestCramerT instance for a subset of the variables.IndTestFisherZPercentIndependent.indTestSubset
(List<Node> vars) IndTestFisherZRecursive.indTestSubset
(List<Node> vars) Creates a new independence test instance for a subset of the variables.IndTestGSquare.indTestSubset
(List<Node> vars) Creates a new IndTestGSquare for a subset of the variables.IndTestHsic.indTestSubset
(List<Node> vars) Creates a new IndTestHsic instance for a subset of the variables.IndTestIndependenceFacts.indTestSubset
(List<Node> vars) IndTestMixedMultipleTTest.indTestSubset
(List<Node> vars) IndTestMNLRLRT.indTestSubset
(List<Node> vars) IndTestMulti.indTestSubset
(List<Node> vars) IndTestMultinomialLogisticRegression.indTestSubset
(List<Node> vars) IndTestMVPLRT.indTestSubset
(List<Node> vars) IndTestPositiveCorr.indTestSubset
(List<Node> vars) Creates a new independence test instance for a subset of the variables.IndTestProbabilistic.indTestSubset
(List<Node> vars) IndTestRegression.indTestSubset
(List<Node> vars) Creates a new IndTestCramerT instance for a subset of the variables.IndTestScore.indTestSubset
(List<Node> vars) IndTestSepset.indTestSubset
(List<Node> vars) Required by IndependenceTest.IndTestTrekSep.indTestSubset
(List<Node> vars) Creates a new independence test instance for a subset of the variables.Kci.indTestSubset
(List<Node> vars) Returns an Independence test for a subset of the variables.ProbabilisticMAPIndependence.indTestSubset
(List<Node> vars) boolean
GraphScore.isDConnectedTo
(Node x, Node y, List<Node> z) boolean
IndTestDSep.isDSeparated
(Node x, Node y, List<Node> z) Auxiliary method to calculate dseparation facts directly from nodes instead of from variables.boolean
GraphScore.isDSeparatedFrom
(Node x, Node y, List<Node> z) double
ConditionalCorrelationIndependence.isIndependent
(Node x, Node y, List<Node> z) double
ConditionalCorrelationIndependenceLingam.isIndependent
(Node x, Node y, List<Node> z) boolean
DagSepsets.isIndependent
(Node a, Node b, List<Node> c) boolean
SepsetProducer.isIndependent
(Node d, Node c, List<Node> path) boolean
SepsetsConservative.isIndependent
(Node a, Node b, List<Node> c) boolean
SepsetsGreedy.isIndependent
(Node a, Node b, List<Node> c) boolean
SepsetsGreedy2.isIndependent
(Node a, Node b, List<Node> c) boolean
SepsetsPossibleDsep.isIndependent
(Node d, Node c, List<Node> path) boolean
SepsetsSet.isIndependent
(Node a, Node b, List<Node> c) boolean
boolean
Determines whether one trek is a subtrek of another trekstatic void
void
void
void
void
MeekRulesRestricted.orientImplied
(Graph graph, Set<Node> nodes) static Clusters
ClusterUtils.partitionToClusters
(List<List<Node>> partition) static void
SearchGraphUtils.pcOrientbk
(Knowledge bk, Graph graph, List<Node> nodes) Orients according to background knowledge.double
IndTestProbabilistic.probConstraint
(BCInference bci, BCInference.OP op, Node x, Node y, Node[] z, Map<Node, Integer> indices) double[]
Calculates the residuals of x regressed nonparametrically onto z.double[]
Calculates the residuals of x regressed nonparametrically onto z.void
void
double
Scores the given permutation.double
float
Scores the given permutation.float
Scores the given permutation.Prints local graphs for all variables and returns the one of them.Discovers all adjacencies in data.Runs PC starting with a commplete graph over the given list of nodes, using the given independence test and knowledge and returns the resultant graph.Mimbuild.search
(List<List<Node>> clustering, List<String> latentNames, ICovarianceMatrix measuresCov) MimbuildTrek.search
(List<List<Node>> clustering, List<String> latentNames, ICovarianceMatrix measuresCov) Runs PC starting with a commplete graph over the given list of nodes, using the given independence test and knowledge and returns the resultant graph.Runs PC starting with a commplete graph over the given list of nodes, using the given independence test and knowledge and returns the resultant graph.Runs PC starting with a commplete 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 PC starting with a commplete graph over the given list of nodes, using the given independence test and knowledge and returns the resultant graph.Runs PC search, returning the output CPDAG, over the given nodes.Runs PC on just the given variable, all of which must be in the domain of the independence test.Greedy equivalence search: Start from the empty graph, add edges till model is significant.void
Boss.searchSuborder
(List<Node> prefix, List<Node> suborder, Map<Node, GrowShrinkTree> gsts) void
Boss.searchSuborder
(List<Node> prefix, List<Node> suborder, Map<Node, GrowShrinkTree> gsts) void
Sp.searchSuborder
(List<Node> prefix, List<Node> suborder, Map<Node, GrowShrinkTree> gsts) This is the method called by PermutationSearch per tier.void
Sp.searchSuborder
(List<Node> prefix, List<Node> suborder, Map<Node, GrowShrinkTree> gsts) This is the method called by PermutationSearch per tier.void
SuborderSearch.searchSuborder
(List<Node> prefix, List<Node> suborder, Map<Node, GrowShrinkTree> gsts) void
SuborderSearch.searchSuborder
(List<Node> prefix, List<Node> suborder, Map<Node, GrowShrinkTree> gsts) void
Sets the sepset for {x, y} to be z.void
SepsetMap.set
(Node x, LinkedHashSet<Node> z) void
Sets the sepset for {x, y} to be z.void
SepsetMapDci.set
(Node x, LinkedHashSet<Node> z) void
void
void
void
BDeuScore.setVariables
(List<Node> variables) void
DiscreteBicScore.setVariables
(List<Node> variables) void
GrowShrink.setVariables
(List<Node> variables) void
IndTestFisherZ.setVariables
(List<Node> variables) void
IndTestFisherZRecursive.setVariables
(List<Node> variables) void
IndTestPositiveCorr.setVariables
(List<Node> variables) void
IndTestTrekSep.setVariables
(List<Node> variables) void
KimEtAlScores.setVariables
(List<Node> variables) void
PcMb.setVariables
(List<Node> variables) void
SemBicScore.setVariables
(List<Node> variables) void
SemBicScoreDeterministic.setVariables
(List<Node> variables) double
static Node
Constructors in edu.cmu.tetrad.search with parameters of type NodeModifierConstructorDescriptionGrowShrinkTree
(Score score, Map<Node, Integer> index, Node node, List<Node> required, List<Node> forbidden) Constructor parameters in edu.cmu.tetrad.search with type arguments of type NodeModifierConstructorDescriptionClusterSignificance
(List<Node> variables, DataModel dataModel) FasDci
(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.Fci
(IndependenceTest independenceTest, List<Node> searchVars) Constructs a new FCI search for the given independence test and background knowledge and a list of variables to search over.FciMax
(IndependenceTest independenceTest, List<Node> searchVars) Constructs a new FCI search for the given independence test and background knowledge and a list of variables to search over.GraphoidAxioms
(Set<GraphoidAxioms.GraphoidIndFact> facts, List<Node> nodes) Constructor.GraphoidAxioms
(Set<GraphoidAxioms.GraphoidIndFact> facts, List<Node> nodes, Map<GraphoidAxioms.GraphoidIndFact, String> textSpecs) GrowShrinkTree
(Score score, Map<Node, Integer> index, Node node, List<Node> required, List<Node> forbidden) GrowShrinkTree
(Score score, Map<Node, Integer> index, Node node, List<Node> required, List<Node> forbidden) IndTestDSep
(IndependenceFacts facts, List<Node> variables) IndTestFisherZ
(Matrix data, List<Node> variables, double alpha) Constructs a new Fisher Z independence test with the listed arguments.IndTestFisherZRecursive
(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) IndTestSepset
(SepsetMapDci sepset, List<Node> nodes) Constructs a new independence test that returns d-separation facts for the given graph as independence results.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.RecursivePartialCorrelation
(List<Node> nodes, Matrix cov, int sampleSize) Rfci
(IndependenceTest independenceTest, List<Node> searchVars) Constructs a new FCI search for the given independence test and background knowledge and a list of variables to search over.SvarFci
(IndependenceTest independenceTest, List<Node> searchVars) Constructs a new FCI 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.kernel
Methods in edu.cmu.tetrad.search.kernel with parameters of type NodeModifier and TypeMethodDescriptionvoid
Kernel.setDefaultBw
(DataSet dataset, Node node) Sets bandwidth from data using default methodvoid
KernelGaussian.setDefaultBw
(DataSet dataset, Node node) Default setting of bandwidth based on median distance heuristicvoid
KernelGaussian.setMedianBandwidth
(DataSet dataset, Node node) Sets the bandwidth of the kernel to median distance between two points in the given vectorConstructors in edu.cmu.tetrad.search.kernel with parameters of type NodeModifierConstructorDescriptionKernelGaussian
(DataSet dataset, Node node) Creates a new Gaussian kernel using the median distance between points to set the bandwidth -
Uses of Node in edu.cmu.tetrad.search.mb
Methods in edu.cmu.tetrad.search.mb that return types with arguments of type NodeModifier and TypeMethodDescriptionSearches for the Markov blanket of the node by the given name.Methods in edu.cmu.tetrad.search.mb with parameters of type Node -
Uses of Node in edu.cmu.tetrad.sem
Methods in edu.cmu.tetrad.sem that return NodeModifier and TypeMethodDescriptionGeneralizedSemPm.getErrorNode
(Node node) Node[]
ConnectionFunction.getInputNodes()
SemEvidence.getNode
(int nodeIndex) SemManipulation.getNode
(int nodeIndex) Parameter.getNodeA()
Parameter.getNodeB()
SemIm.getVariableNode
(String name) Methods in edu.cmu.tetrad.sem that return types with arguments of type NodeModifier and TypeMethodDescriptionGeneralizedSemPm.getErrorNodes()
Returns the list of exogenous variableNodes.StandardizedSemIm.getErrorNodes()
SemPm.getLatentNodes()
ReidentifyVariables.getLatents
(Graph graph) DagScorer.getMeasuredNodes()
GeneralizedSemPm.getMeasuredNodes()
ISemIm.getMeasuredNodes()
Scorer.getMeasuredNodes()
SemIm.getMeasuredNodes()
The list of measured nodes for the semPm.SemPm.getMeasuredNodes()
StandardizedSemIm.getMeasuredNodes()
The list of measured nodes for the semPm.GeneralizedSemPm.getNodes()
SemEvidence.getNodesInEvidence()
GeneralizedSemPm.getParents
(Node node) GeneralizedSemPm.getReferencedNodes
(Node node) GeneralizedSemPm.getReferencingNodes
(Node node) GeneralizedSemPm.getReferencingNodes
(String parameter) GeneralizedSemPm.getVariableNodes()
Returns the list of variable nodes--that is, node that are not error nodes.ISemIm.getVariableNodes()
LargeScaleSimulation.getVariableNodes()
SemIm.getVariableNodes()
The list of measured and latent nodes for the semPm.SemPm.getVariableNodes()
StandardizedSemIm.getVariableNodes()
DagScorer.getVariables()
Scorer.getVariables()
ISemIm.listUnmeasuredLatents()
SemIm.listUnmeasuredLatents()
Methods in edu.cmu.tetrad.sem with parameters of type NodeModifier and TypeMethodDescriptionboolean
SemIm.existsEdgeCoef
(Node x, Node y) 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) StandardizedSemIm.getCoefficientRange
(Node a, Node b) SemPm.getCovarianceParameter
(Node nodeA, Node nodeB) StandardizedSemIm.getCovarianceRange
(Node a, Node b) double
SemIm.getEdgeCoef
(Node x, Node y) double
StandardizedSemIm.getEdgeCoef
(Node a, Node b) double
SemIm.getErrCovar
(Node x, Node y) double
StandardizedSemIm.getErrorCovariance
(Node a, Node b) GeneralizedSemPm.getErrorNode
(Node node) double
StandardizedSemIm.getErrorVariance
(Node error) double
double
ISemIm.getIntercept
(Node node) double
SemIm.getIntercept
(Node node) double
double
SemPm.getMeanParameter
(Node node) double
ISemIm.getMeanStdDev
(Node node) double
SemIm.getMeanStdDev
(Node node) GeneralizedSemPm.getNodeExpression
(Node node) GeneralizedSemPm.getNodeExpressionString
(Node node) int
SemEvidence.getNodeIndex
(Node node) GeneralizedSemIm.getNodeSubstitutedString
(Node node) GeneralizedSemIm.getNodeSubstitutedString
(Node node, Map<String, Double> substitutedValues) SemPm.getParameter
(Node nodeA, Node nodeB) double
ISemIm.getParamValue
(Node nodeA, Node nodeB) double
SemIm.getParamValue
(Node nodeA, Node nodeB) Gets the value of a single free parameter to the given value, where the free parameter is specified by the endpoint nodes of its edge in the w graph.GeneralizedSemPm.getParents
(Node node) GeneralizedSemPm.getReferencedNodes
(Node node) GeneralizedSemPm.getReferencedParameters
(Node node) GeneralizedSemPm.getReferencingNodes
(Node node) double
double
double
double
ISemIm.getVariance
(Node nodeA, Matrix implCovar) double
SemIm.getVariance
(Node node, Matrix implCovar) 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) void
SemIm.setEdgeCoef
(Node x, Node y, double value) 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) void
SemIm.setErrCovar
(Node x, Node y, double value) 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
void
void
ISemIm.setIntercept
(Node y, double intercept) void
SemIm.setIntercept
(Node node, double intercept) Sets the intercept.void
void
Sets the mean associated with the given node.void
SemIm.setMeanStandardDeviation
(Node node, double mean) Sets the mean associated with the given node.void
GeneralizedSemPm.setNodeExpression
(Node node, String expressionString) void
ISemIm.setParamValue
(Node nodeA, Node nodeB, double value) void
SemIm.setParamValue
(Node nodeA, Node nodeB, double value) Sets the value of a single free parameter to the given value, where the free parameter is specified by the endpoint nodes of its edge in the graph.void
Method parameters in edu.cmu.tetrad.sem with type arguments of type NodeModifier and TypeMethodDescriptionSemIm.getImplCovar
(List<Node> nodes) ReidentifyVariables.reidentifyVariables1
(List<List<Node>> partition, Graph trueGraph) Constructors in edu.cmu.tetrad.sem with parameters of type NodeModifierConstructorDescriptionEmpiricalDistributionForExpression
(GeneralizedSemPm semPm, Node error, Context context) Constructor parameters in edu.cmu.tetrad.sem with type arguments of type Node -
Uses of Node in edu.cmu.tetrad.session
Classes in edu.cmu.tetrad.session that implement NodeModifier and TypeClassDescriptionclass
Represents a node in a session for a model in a particular class.Methods in edu.cmu.tetrad.session that return NodeMethods in edu.cmu.tetrad.session with parameters 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) Method parameters in edu.cmu.tetrad.simulation with type arguments of type NodeModifier and TypeMethodDescriptionstatic Graph
HsimUtils.getAllParents
(Graph inputgraph, Set<Node> inputnodes) Constructor parameters in edu.cmu.tetrad.simulation 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) Methods in edu.cmu.tetrad.util that return types with arguments of type NodeModifier and TypeMethodDescriptionJsonUtils.parseJSONArrayToTetradNodes
(org.json.JSONArray jArray) DataConvertUtils.toNodes
(edu.pitt.dbmi.data.reader.DataColumn[] columns) DataConvertUtils.toNodes
(edu.pitt.dbmi.data.reader.DiscreteDataColumn[] columns) -
Uses of Node in edu.pitt.csb.mgm
Methods in edu.pitt.csb.mgm that return types with arguments of type NodeMethods in edu.pitt.csb.mgm with parameters of type NodeModifier and TypeMethodDescriptionIndTestMultinomialLogisticRegressionWald.checkIndependence
(Node x, Node y, List<Node> z) boolean
IndTestMultinomialLogisticRegressionWald.determines
(List<Node> z, Node y) MixedUtils.getEdgeParams
(Node n1, Node n2, GeneralizedSemPm pm) Method parameters in edu.pitt.csb.mgm with type arguments of type NodeModifier and TypeMethodDescriptionIndTestMultinomialLogisticRegressionWald.checkIndependence
(Node x, Node y, List<Node> z) boolean
IndTestMultinomialLogisticRegressionWald.determines
(List<Node> z, Node y) static int[]
MixedUtils.getContinuousInds
(List<Node> nodes) static int[]
MixedUtils.getDiscreteInds
(List<Node> nodes) IndTestMultinomialLogisticRegressionWald.indTestSubset
(List<Node> vars) 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) static double[]
StabilityUtils.totalInstabilityUndir
(cern.colt.matrix.DoubleMatrix2D xi, List<Node> vars)