Learn R Programming

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

dagitty (version 0.1-10)

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

469,658

Version

0.1-10

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Johannes Textor

Last Published

March 26th, 2016

Functions in dagitty (0.1-10)

names.dagitty

Names of Variables in Graph
isAdjustmentSet

Adjustment Criterion
backDoorGraph

Back-Door Graph
adjustmentSets

Covariate Adjustment Sets
dconnected

d-Separation
orientPDAG

Orient Edges in PDAG.
is.dagitty

Test for Graph Class
edges

Graph Edges
dagitty

Parse DAGitty Graph
as.dagitty

Convert to DAGitty object
plotLocalTestResults

Plot Results of Local Tests
paths

Show Paths
canonicalize

Canonicalize an Ancestral Graph
graphLayout

Generate Graph Layout
lavaanToGraph

Convert Lavaan Model to DAGitty Graph
EquivalentModels

Generating Equivalent Models
ancestorGraph

Ancestor Graph
simulateSEM

Simulate Data from Structural Equation Model
graphType

Get Graph Type
randomDAG

Generate DAG at Random
localTests

Test Graph against Data
instrumentalVariables

Find Instrumental Variables
plot.dagitty

Plot Graph
coordinates

Plot Coordinates of Variables in Graph
AncestralRelations

Ancestral Relations
impliedConditionalIndependencies

List Implied Conditional Independencies
downloadGraph

Load Graph from dagitty.net
moralize

Moral Graph
getExample

Get Bundled Examples
vanishingTetrads

List Implied Vanishing Tetrads
VariableStatus

Variable Statuses