help dag (Directed acyclic graph (DAG) in Epidemiology)

Title

dag -- A package for simulating binary and continous variables for a given DAG (directed acyclic graph)

Description

The dag package consists of three commands: ancestor, child, and childc. Combining the commands can simulate a dataset comprising binary and continous variables for a given DAG.

ancestor is a command creating binary ancestor-variables for a given DAG.

child is a command creating binary child-variable for a given DAG.

childc is a command creating normally distributed continous child-variable for a given DAG.

More information

: click on her

Acknowledgment

Jørn Olsen provided encouragement.

References

Sander Greenland, Judea Pearl, and James M. Robins 1999.

Causal diagrams for epidemiologic research.

Judea Pearl

Causality: Models, Reasoning and Inference. Cambridge University Press, New York, NY, USA, 2nd edition, 2009.

Lash Kenneth J. Rothman, Sander Greenland, and Timothy L. Lash.

The chapter 12: Causal Diagrams in the Epidemiology textbook of Modern Epidemiology. Wolters Kluwer, 2008.

Miguel A. Hernán, James M. Robins

The chapter 6: Graphical representation of causal effects of Causal Inference Book.

Author

Chunsen Wu, the University of Southern Denmark; Odense University Hospital, Denmark

cwu@health.sdu.dk

chunsen.wu@rsyd.dk

../a/ancestor.ado
../a/ancestor.sthlp
../c/child.ado
../c/child.sthlp
../c/childc.ado
../c/childc.sthlp

Also see

Help: ancestor, child, childc