Learn R Programming

⚠️There's a newer version (0.3-4) of this package.Take me there.

dagitty (version 0.2-2)

Graphical Analysis of Structural Causal Models

Description

A port of the web-based software 'DAGitty', available at , for analyzing structural causal models (also known as directed acyclic graphs or DAGs). This package computes covariate adjustment sets for estimating causal effects, enumerates instrumental variables, derives testable implications (d-separation and vanishing tetrads), generates equivalent models, and includes a simple facility for data simulation.

Copy Link

Version

Install

install.packages('dagitty')

Monthly Downloads

5,615

Version

0.2-2

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Johannes Textor

Last Published

August 26th, 2016

Functions in dagitty (0.2-2)

downloadGraph

Load Graph from dagitty.net
AncestralRelations

Ancestral Relations
ancestorGraph

Ancestor Graph
backDoorGraph

Back-Door Graph
as.dagitty

Convert to DAGitty object
dconnected

d-Separation
adjustmentSets

Covariate Adjustment Sets
coordinates

Plot Coordinates of Variables in Graph
canonicalize

Canonicalize an Ancestral Graph
dagitty

Parse DAGitty Graph
EquivalentModels

Generating Equivalent Models
graphType

Get Graph Type
graphLayout

Generate Graph Layout
exogenousVariables

Retrieve Exogenous Variables
instrumentalVariables

Find Instrumental Variables
impliedConditionalIndependencies

List Implied Conditional Independencies
isAdjustmentSet

Adjustment Criterion
edges

Graph Edges
getExample

Get Bundled Examples
simulateSEM

Simulate Data from Structural Equation Model
paths

Show Paths
plotLocalTestResults

Plot Results of Local Tests
localTests

Test Graph against Data
lavaanToGraph

Convert Lavaan Model to DAGitty Graph
plot.dagitty

Plot Graph
orientPDAG

Orient Edges in PDAG.
randomDAG

Generate DAG at Random
moralize

Moral Graph
is.dagitty

Test for Graph Class
VariableStatus

Variable Statuses
vanishingTetrads

List Implied Vanishing Tetrads
names.dagitty

Names of Variables in Graph