docs.javahelp.manual.boxes.graph.graph_box.html Maven / Gradle / Ivy
Graph
Inside the Graph Box
A Graph box in the main workspace looks like this:
When you double left click on the graph box a dialog box opens:
If you choose "Directed Acyclic Graph," you will only be able to construct directed acyclic graphs. That
is, you will only be allowed to constructed directed (-->) edges, and you will not be permitted to construct
cycles in your graph (X-->...-->X for some variable X in your graph). See Directed
Acyclic Graphs.
If you choose "(General) Graph," you will be permitted to construct edges between variables with endpoints
of the following three types: segment (-), arrow (->), and circle (-o). See General
Graphs.
If you choose "Time Series Graph," you will be permitted to construct directed graphs over time-lagged
variables for a give set of variables X1,..., Xn. See Time Series Graphs.
Choosing a graph type
Here is some general advise for picking graph types.
- If you are consructing a Bayes model, choose "Directed Acyclic Graph." This will ensure that you use
only directed edges and don't create cycles.
- If you are constructing a SEM model, choose "SEM Graph." This will ensure that you construct a graph
with only directed edges (-->, showing causal relationships) and bidirected edges (<->, showing
correlated twoCycleErrors) and that cycles in the graph will be permitted.
- If you want to construct or edit other types of graphs used in Tetrad, choose "General Graph." This
will allow you to construct directed graphs, CPDAGs, PAGs, POIPGs, MAGs, and so on. See Tetrad Graph Types for more details. In most cases, you do not
need to construct these types of graphs yourself, but they are output by Tetrad search algorithms, and you may
need to edit them to turn them into DAGs. In that case, a "General Graph" editor will be displayed to
help you edit these graphs.
See also SEM Graph.