Graphical Analysis of Structural Causal Models

A port of the web-based software 'DAGitty', available at < http://dagitty.net>, 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.


News

dagitty v0.2-2 (Release date: 2016-08-26)

Changes:

  • Added capability to specify arbitrary path coefficients for simulateSEM
  • Semi-parametric conditional independence testing for additive noise using loess smoothing
  • Plot function now sets margins properly and gives better error messages
  • Bugfix in adjustmentSets with type="all" when exposure was defined in graph
  • Bugfix in dconnected and isAdjustmentSet when graphs contain inducing paths with 3 or more nodes
  • Improved parser for larger graphs

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("dagitty")

0.2-2 by Johannes Textor, 3 years ago


http://www.dagitty.net, https://github.com/jtextor/dagitty


Report a bug at https://github.com/jtextor/dagitty/issues


Browse source code at https://github.com/cran/dagitty


Authors: Johannes Textor , Benito van der Zander


Documentation:   PDF Manual  


GPL-2 license


Imports V8, jsonlite, boot, MASS, methods, grDevices, stats, utils, graphics

Suggests knitr, base64enc, lavaan, testthat


Imported by ggdag, pcalg.


See at CRAN