SlideShare a Scribd company logo
Construction of
Causal Diagrams
using DAGitty
Kim Carmela D. Co
Department of Epidemiology and Biostatistics
College of Public Health
University of the Philippines - Manila
Introduction
• http://www.dagitty.net/
• Web-based software for drawing and analyzing causal
diagrams, also known as directed acyclic graphs (DAGs)
• Developed by Johannes Textor
• Also available as an R package
Utility
• Identification of suitable, small sufficient adjustment sets in
complex causal diagrams
• Identification of causal and biasing paths
• Identification of testable implications in a given diagram
• Identification of potential instrumental variables
• Exposure variable is green with a right pointing arrow
• Outcome variable is blue with a bar
• Main association indicated by a green arrow
• Can drag any variable anywhere in the screen
Creating the DAG
• To add more variables:
• Double click anywhere in the area or press N (“new”)
• Default color is dark grey
• To place arrows in the causal DAG:
• Double click the variable (or hover cursor on variable and press C
“connect”) where the arrow will come from (“parent variable”)
• Hover cursor on variable where arrow will point to and press C
(“daughter variable”)
• Press C again (while cursor is hovering over the daughter variable)
to remove the arrow
• Ancestors of exposure are green, ancestors of outcome are blue
• Ancestors of both exposure and outcome are red
• Red arrows indicate biasing pathways
• Arrows can be left-clicked and dragged to change its shape
Changing Variable Status
E •Change variable to an “exposure” of interest
O •Change variable to an “outcome” of interest
R •“Rename” the variable
U •To toggle whether the variable is observed or “unobserved”
A •To toggle whether the variable is “adjusted” or not
D •“Delete” the variable
Indicates minimum set of variables that
have to be adjusted for in order to
estimate the causal effect of the
exposure on the outcome
“smallest number of variables”
Minimum set of variables to estimate
the direct effect of the exposure on the
outcome
Removing pathways with intermediate
variables
Identification of potential instrumental
variables, if the model is correctly specified
• Independencies implied by the
model
• Can be checked to determine if the
model is correctly specified
• Maternal age and socio-economic
status are independent?
Saving the DAG
• Copy model code to notepad
to “save”
• Code can be pasted to
“load” the DAG
Open paths = Statistical association
Blocked paths = Statistical independence
Exercise
• Open Shrier & Platt, 2008
• Which variables are “confounders” using the traditional
meaning?
• Label team motivation, pregame proprioception,
neuromuscular fatigue, and tissue weakness as unmeasured
variables.
• Adjust for the necessary variables to be able to estimate the
causal effect of interest.
• Adjust for the variable previous injury.
Reference
• Textor, Johannes (2015) Drawing and Analyzing Causal
DAGs with DAGitty. Accessed from:
http://www.dagitty.net/manual-2.x.pdf

More Related Content

What's hot

Data Analysis, Presentation and Interpretation of Data
Data Analysis, Presentation and Interpretation of DataData Analysis, Presentation and Interpretation of Data
Data Analysis, Presentation and Interpretation of DataRoqui Malijan
 
09 selection bias
09 selection bias09 selection bias
09 selection bias
Abdiwali Abdullahi Abdiwali
 
Bias and error.final(1).ppt
Bias and error.final(1).pptBias and error.final(1).ppt
Bias and error.final(1).ppt
laxmibhattalamichhan
 
Epidemiolgy and biostatistics notes
Epidemiolgy and biostatistics notesEpidemiolgy and biostatistics notes
Epidemiolgy and biostatistics notes
Charles Ntwale
 
Logistic regression with low event rate (rare events)
Logistic regression with low event rate (rare events)Logistic regression with low event rate (rare events)
Logistic regression with low event rate (rare events)Tejamoy Ghosh
 
Structural Equation Modelling (SEM) Part 3
Structural Equation Modelling (SEM) Part 3Structural Equation Modelling (SEM) Part 3
Structural Equation Modelling (SEM) Part 3
COSTARCH Analytical Consulting (P) Ltd.
 
Quantitative data analysis
Quantitative data analysisQuantitative data analysis
Quantitative data analysis
atrantham
 
Descriptive statistics
Descriptive statisticsDescriptive statistics
Descriptive statistics
Abdelrahman Alkilani
 
5.2.1 dags
5.2.1 dags5.2.1 dags
5.2.1 dags
A M
 
Exploratory factor analysis
Exploratory factor analysisExploratory factor analysis
Exploratory factor analysis
James Neill
 
4.5. logistic regression
4.5. logistic regression4.5. logistic regression
4.5. logistic regression
A M
 
Screening lecture by DR TAUSEEF JAVED SIMS
Screening lecture by DR TAUSEEF JAVED SIMSScreening lecture by DR TAUSEEF JAVED SIMS
Screening lecture by DR TAUSEEF JAVED SIMS
Tauseef Jawaid
 
Biostatistics ppt
Biostatistics  pptBiostatistics  ppt
Biostatistics ppt
santhoshikayithi
 
Medical statistics
Medical statisticsMedical statistics
Medical statistics
Amany El-seoud
 
Chapter 6 data analysis iec11
Chapter 6 data analysis iec11Chapter 6 data analysis iec11
Chapter 6 data analysis iec11
Ho Cao Viet
 
1. Introdution to Biostatistics.ppt
1. Introdution to Biostatistics.ppt1. Introdution to Biostatistics.ppt
1. Introdution to Biostatistics.ppt
Fatima117039
 
Regression and Co-Relation
Regression and Co-RelationRegression and Co-Relation
Regression and Co-Relation
nuwan udugampala
 
Descriptive epidemiology
Descriptive epidemiologyDescriptive epidemiology
Descriptive epidemiology
Seema Verma
 
Meta analysis: Made Easy with Example from RevMan
Meta analysis: Made Easy with Example from RevManMeta analysis: Made Easy with Example from RevMan
Meta analysis: Made Easy with Example from RevMan
Gaurav Kamboj
 

What's hot (20)

Data Analysis, Presentation and Interpretation of Data
Data Analysis, Presentation and Interpretation of DataData Analysis, Presentation and Interpretation of Data
Data Analysis, Presentation and Interpretation of Data
 
09 selection bias
09 selection bias09 selection bias
09 selection bias
 
Bias and error.final(1).ppt
Bias and error.final(1).pptBias and error.final(1).ppt
Bias and error.final(1).ppt
 
Epidemiolgy and biostatistics notes
Epidemiolgy and biostatistics notesEpidemiolgy and biostatistics notes
Epidemiolgy and biostatistics notes
 
Logistic regression with low event rate (rare events)
Logistic regression with low event rate (rare events)Logistic regression with low event rate (rare events)
Logistic regression with low event rate (rare events)
 
Structural Equation Modelling (SEM) Part 3
Structural Equation Modelling (SEM) Part 3Structural Equation Modelling (SEM) Part 3
Structural Equation Modelling (SEM) Part 3
 
Quantitative data analysis
Quantitative data analysisQuantitative data analysis
Quantitative data analysis
 
Descriptive statistics
Descriptive statisticsDescriptive statistics
Descriptive statistics
 
Sem+Essentials
Sem+EssentialsSem+Essentials
Sem+Essentials
 
5.2.1 dags
5.2.1 dags5.2.1 dags
5.2.1 dags
 
Exploratory factor analysis
Exploratory factor analysisExploratory factor analysis
Exploratory factor analysis
 
4.5. logistic regression
4.5. logistic regression4.5. logistic regression
4.5. logistic regression
 
Screening lecture by DR TAUSEEF JAVED SIMS
Screening lecture by DR TAUSEEF JAVED SIMSScreening lecture by DR TAUSEEF JAVED SIMS
Screening lecture by DR TAUSEEF JAVED SIMS
 
Biostatistics ppt
Biostatistics  pptBiostatistics  ppt
Biostatistics ppt
 
Medical statistics
Medical statisticsMedical statistics
Medical statistics
 
Chapter 6 data analysis iec11
Chapter 6 data analysis iec11Chapter 6 data analysis iec11
Chapter 6 data analysis iec11
 
1. Introdution to Biostatistics.ppt
1. Introdution to Biostatistics.ppt1. Introdution to Biostatistics.ppt
1. Introdution to Biostatistics.ppt
 
Regression and Co-Relation
Regression and Co-RelationRegression and Co-Relation
Regression and Co-Relation
 
Descriptive epidemiology
Descriptive epidemiologyDescriptive epidemiology
Descriptive epidemiology
 
Meta analysis: Made Easy with Example from RevMan
Meta analysis: Made Easy with Example from RevManMeta analysis: Made Easy with Example from RevMan
Meta analysis: Made Easy with Example from RevMan
 

Similar to Using the DAGitty software

Basic Quality Control tools
Basic Quality Control toolsBasic Quality Control tools
Basic Quality Control tools
PrathameshPawale
 
Revealing Personal Effects of Nutrition
Revealing Personal Effects of NutritionRevealing Personal Effects of Nutrition
Revealing Personal Effects of Nutrition
Jari Turkia
 
Quality Control Tools for Problem Solving
Quality Control Tools for Problem SolvingQuality Control Tools for Problem Solving
Quality Control Tools for Problem Solving
D&H Engineers
 
EXPLORATORY DATA ANALYSIS IN STATISTICAL MODeLING.pptx
EXPLORATORY DATA ANALYSIS IN STATISTICAL MODeLING.pptxEXPLORATORY DATA ANALYSIS IN STATISTICAL MODeLING.pptx
EXPLORATORY DATA ANALYSIS IN STATISTICAL MODeLING.pptx
rakeshreghu98
 
Gradient Boosting Regression Analysis Reveals Dependent Variables and Interre...
Gradient Boosting Regression Analysis Reveals Dependent Variables and Interre...Gradient Boosting Regression Analysis Reveals Dependent Variables and Interre...
Gradient Boosting Regression Analysis Reveals Dependent Variables and Interre...
Smarten Augmented Analytics
 
Statistics
StatisticsStatistics
Statistics
Eran Earland
 
Quality_Control_Tools.ppt
Quality_Control_Tools.pptQuality_Control_Tools.ppt
Quality_Control_Tools.ppt
Murali Sama rao
 
Regression analysis made easy
Regression analysis made easyRegression analysis made easy
Regression analysis made easy
Weam Banjar
 
Data Science - Part III - EDA & Model Selection
Data Science - Part III - EDA & Model SelectionData Science - Part III - EDA & Model Selection
Data Science - Part III - EDA & Model Selection
Derek Kane
 
1133629601 400440
1133629601 4004401133629601 400440
1133629601 400440
VishalSarin3
 
OLD SEVEN TOOLS OF QUALTIY MANAGEMENT
OLD SEVEN TOOLS OF QUALTIY MANAGEMENTOLD SEVEN TOOLS OF QUALTIY MANAGEMENT
OLD SEVEN TOOLS OF QUALTIY MANAGEMENT
ANNA UNIVERSITY
 
Tqm old tools
Tqm old toolsTqm old tools
Tqm old tools
ANNA UNIVERSITY
 
Data Science & AI Road Map by Python & Computer science tutor in Malaysia
Data Science  & AI Road Map by Python & Computer science tutor in MalaysiaData Science  & AI Road Map by Python & Computer science tutor in Malaysia
Data Science & AI Road Map by Python & Computer science tutor in Malaysia
Ahmed Elmalla
 
QNT 275 qnt275 QNT275 Qnt 275 qnt275 QNT/275 STATISTICS FOR DECISION MAKING h...
QNT 275 qnt275 QNT275 Qnt 275 qnt275 QNT/275 STATISTICS FOR DECISION MAKING h...QNT 275 qnt275 QNT275 Qnt 275 qnt275 QNT/275 STATISTICS FOR DECISION MAKING h...
QNT 275 qnt275 QNT275 Qnt 275 qnt275 QNT/275 STATISTICS FOR DECISION MAKING h...
UOPCourseHelp
 
Seven statistical tools of quality
Seven statistical tools of qualitySeven statistical tools of quality
Seven statistical tools of quality
Balaji Tamilselvam
 
EXPLORATORY DATA ANALYSIS
EXPLORATORY DATA ANALYSISEXPLORATORY DATA ANALYSIS
EXPLORATORY DATA ANALYSIS
BabasID2
 
7 quality control tools
7 quality  control tools7 quality  control tools
7 quality control tools
Vima Mali
 
PG STAT 531 Lecture 4 Exploratory Data Analysis
PG STAT 531 Lecture 4 Exploratory Data AnalysisPG STAT 531 Lecture 4 Exploratory Data Analysis
PG STAT 531 Lecture 4 Exploratory Data Analysis
Aashish Patel
 
Qa improvement
Qa improvementQa improvement
Qa improvement
Jitesh Gaurav
 

Similar to Using the DAGitty software (20)

Basic Quality Control tools
Basic Quality Control toolsBasic Quality Control tools
Basic Quality Control tools
 
Revealing Personal Effects of Nutrition
Revealing Personal Effects of NutritionRevealing Personal Effects of Nutrition
Revealing Personal Effects of Nutrition
 
Quality Control Tools for Problem Solving
Quality Control Tools for Problem SolvingQuality Control Tools for Problem Solving
Quality Control Tools for Problem Solving
 
EXPLORATORY DATA ANALYSIS IN STATISTICAL MODeLING.pptx
EXPLORATORY DATA ANALYSIS IN STATISTICAL MODeLING.pptxEXPLORATORY DATA ANALYSIS IN STATISTICAL MODeLING.pptx
EXPLORATORY DATA ANALYSIS IN STATISTICAL MODeLING.pptx
 
Gradient Boosting Regression Analysis Reveals Dependent Variables and Interre...
Gradient Boosting Regression Analysis Reveals Dependent Variables and Interre...Gradient Boosting Regression Analysis Reveals Dependent Variables and Interre...
Gradient Boosting Regression Analysis Reveals Dependent Variables and Interre...
 
Statistics
StatisticsStatistics
Statistics
 
Quality_Control_Tools.ppt
Quality_Control_Tools.pptQuality_Control_Tools.ppt
Quality_Control_Tools.ppt
 
Regression analysis made easy
Regression analysis made easyRegression analysis made easy
Regression analysis made easy
 
Data Science - Part III - EDA & Model Selection
Data Science - Part III - EDA & Model SelectionData Science - Part III - EDA & Model Selection
Data Science - Part III - EDA & Model Selection
 
1133629601 400440
1133629601 4004401133629601 400440
1133629601 400440
 
OLD SEVEN TOOLS OF QUALTIY MANAGEMENT
OLD SEVEN TOOLS OF QUALTIY MANAGEMENTOLD SEVEN TOOLS OF QUALTIY MANAGEMENT
OLD SEVEN TOOLS OF QUALTIY MANAGEMENT
 
Tqm old tools
Tqm old toolsTqm old tools
Tqm old tools
 
Tqm old tools
Tqm old toolsTqm old tools
Tqm old tools
 
Data Science & AI Road Map by Python & Computer science tutor in Malaysia
Data Science  & AI Road Map by Python & Computer science tutor in MalaysiaData Science  & AI Road Map by Python & Computer science tutor in Malaysia
Data Science & AI Road Map by Python & Computer science tutor in Malaysia
 
QNT 275 qnt275 QNT275 Qnt 275 qnt275 QNT/275 STATISTICS FOR DECISION MAKING h...
QNT 275 qnt275 QNT275 Qnt 275 qnt275 QNT/275 STATISTICS FOR DECISION MAKING h...QNT 275 qnt275 QNT275 Qnt 275 qnt275 QNT/275 STATISTICS FOR DECISION MAKING h...
QNT 275 qnt275 QNT275 Qnt 275 qnt275 QNT/275 STATISTICS FOR DECISION MAKING h...
 
Seven statistical tools of quality
Seven statistical tools of qualitySeven statistical tools of quality
Seven statistical tools of quality
 
EXPLORATORY DATA ANALYSIS
EXPLORATORY DATA ANALYSISEXPLORATORY DATA ANALYSIS
EXPLORATORY DATA ANALYSIS
 
7 quality control tools
7 quality  control tools7 quality  control tools
7 quality control tools
 
PG STAT 531 Lecture 4 Exploratory Data Analysis
PG STAT 531 Lecture 4 Exploratory Data AnalysisPG STAT 531 Lecture 4 Exploratory Data Analysis
PG STAT 531 Lecture 4 Exploratory Data Analysis
 
Qa improvement
Qa improvementQa improvement
Qa improvement
 

Recently uploaded

ARTHROLOGY PPT NCISM SYLLABUS AYURVEDA STUDENTS
ARTHROLOGY PPT NCISM SYLLABUS AYURVEDA STUDENTSARTHROLOGY PPT NCISM SYLLABUS AYURVEDA STUDENTS
ARTHROLOGY PPT NCISM SYLLABUS AYURVEDA STUDENTS
Dr. Vinay Pareek
 
Maxilla, Mandible & Hyoid Bone & Clinical Correlations by Dr. RIG.pptx
Maxilla, Mandible & Hyoid Bone & Clinical Correlations by Dr. RIG.pptxMaxilla, Mandible & Hyoid Bone & Clinical Correlations by Dr. RIG.pptx
Maxilla, Mandible & Hyoid Bone & Clinical Correlations by Dr. RIG.pptx
Dr. Rabia Inam Gandapore
 
Superficial & Deep Fascia of the NECK.pptx
Superficial & Deep Fascia of the NECK.pptxSuperficial & Deep Fascia of the NECK.pptx
Superficial & Deep Fascia of the NECK.pptx
Dr. Rabia Inam Gandapore
 
Novas diretrizes da OMS para os cuidados perinatais de mais qualidade
Novas diretrizes da OMS para os cuidados perinatais de mais qualidadeNovas diretrizes da OMS para os cuidados perinatais de mais qualidade
Novas diretrizes da OMS para os cuidados perinatais de mais qualidade
Prof. Marcus Renato de Carvalho
 
Are There Any Natural Remedies To Treat Syphilis.pdf
Are There Any Natural Remedies To Treat Syphilis.pdfAre There Any Natural Remedies To Treat Syphilis.pdf
Are There Any Natural Remedies To Treat Syphilis.pdf
Little Cross Family Clinic
 
ARTIFICIAL INTELLIGENCE IN HEALTHCARE.pdf
ARTIFICIAL INTELLIGENCE IN  HEALTHCARE.pdfARTIFICIAL INTELLIGENCE IN  HEALTHCARE.pdf
ARTIFICIAL INTELLIGENCE IN HEALTHCARE.pdf
Anujkumaranit
 
Flu Vaccine Alert in Bangalore Karnataka
Flu Vaccine Alert in Bangalore KarnatakaFlu Vaccine Alert in Bangalore Karnataka
Flu Vaccine Alert in Bangalore Karnataka
addon Scans
 
Surat @ℂall @Girls ꧁❤8527049040❤꧂@ℂall @Girls Service Vip Top Model Safe
Surat @ℂall @Girls ꧁❤8527049040❤꧂@ℂall @Girls Service Vip Top Model SafeSurat @ℂall @Girls ꧁❤8527049040❤꧂@ℂall @Girls Service Vip Top Model Safe
Surat @ℂall @Girls ꧁❤8527049040❤꧂@ℂall @Girls Service Vip Top Model Safe
Savita Shen $i11
 
Hemodialysis: Chapter 3, Dialysis Water Unit - Dr.Gawad
Hemodialysis: Chapter 3, Dialysis Water Unit - Dr.GawadHemodialysis: Chapter 3, Dialysis Water Unit - Dr.Gawad
Hemodialysis: Chapter 3, Dialysis Water Unit - Dr.Gawad
NephroTube - Dr.Gawad
 
KDIGO 2024 guidelines for diabetologists
KDIGO 2024 guidelines for diabetologistsKDIGO 2024 guidelines for diabetologists
KDIGO 2024 guidelines for diabetologists
د.محمود نجيب
 
Ocular injury ppt Upendra pal optometrist upums saifai etawah
Ocular injury  ppt  Upendra pal  optometrist upums saifai etawahOcular injury  ppt  Upendra pal  optometrist upums saifai etawah
Ocular injury ppt Upendra pal optometrist upums saifai etawah
pal078100
 
Prix Galien International 2024 Forum Program
Prix Galien International 2024 Forum ProgramPrix Galien International 2024 Forum Program
Prix Galien International 2024 Forum Program
Levi Shapiro
 
Triangles of Neck and Clinical Correlation by Dr. RIG.pptx
Triangles of Neck and Clinical Correlation by Dr. RIG.pptxTriangles of Neck and Clinical Correlation by Dr. RIG.pptx
Triangles of Neck and Clinical Correlation by Dr. RIG.pptx
Dr. Rabia Inam Gandapore
 
Tom Selleck Health: A Comprehensive Look at the Iconic Actor’s Wellness Journey
Tom Selleck Health: A Comprehensive Look at the Iconic Actor’s Wellness JourneyTom Selleck Health: A Comprehensive Look at the Iconic Actor’s Wellness Journey
Tom Selleck Health: A Comprehensive Look at the Iconic Actor’s Wellness Journey
greendigital
 
Pharynx and Clinical Correlations BY Dr.Rabia Inam Gandapore.pptx
Pharynx and Clinical Correlations BY Dr.Rabia Inam Gandapore.pptxPharynx and Clinical Correlations BY Dr.Rabia Inam Gandapore.pptx
Pharynx and Clinical Correlations BY Dr.Rabia Inam Gandapore.pptx
Dr. Rabia Inam Gandapore
 
Knee anatomy and clinical tests 2024.pdf
Knee anatomy and clinical tests 2024.pdfKnee anatomy and clinical tests 2024.pdf
Knee anatomy and clinical tests 2024.pdf
vimalpl1234
 
BRACHYTHERAPY OVERVIEW AND APPLICATORS
BRACHYTHERAPY OVERVIEW  AND  APPLICATORSBRACHYTHERAPY OVERVIEW  AND  APPLICATORS
BRACHYTHERAPY OVERVIEW AND APPLICATORS
Krishan Murari
 
Non-respiratory Functions of the Lungs.pdf
Non-respiratory Functions of the Lungs.pdfNon-respiratory Functions of the Lungs.pdf
Non-respiratory Functions of the Lungs.pdf
MedicoseAcademics
 
Pulmonary Thromboembolism - etilogy, types, medical- Surgical and nursing man...
Pulmonary Thromboembolism - etilogy, types, medical- Surgical and nursing man...Pulmonary Thromboembolism - etilogy, types, medical- Surgical and nursing man...
Pulmonary Thromboembolism - etilogy, types, medical- Surgical and nursing man...
VarunMahajani
 
Ozempic: Preoperative Management of Patients on GLP-1 Receptor Agonists
Ozempic: Preoperative Management of Patients on GLP-1 Receptor Agonists  Ozempic: Preoperative Management of Patients on GLP-1 Receptor Agonists
Ozempic: Preoperative Management of Patients on GLP-1 Receptor Agonists
Saeid Safari
 

Recently uploaded (20)

ARTHROLOGY PPT NCISM SYLLABUS AYURVEDA STUDENTS
ARTHROLOGY PPT NCISM SYLLABUS AYURVEDA STUDENTSARTHROLOGY PPT NCISM SYLLABUS AYURVEDA STUDENTS
ARTHROLOGY PPT NCISM SYLLABUS AYURVEDA STUDENTS
 
Maxilla, Mandible & Hyoid Bone & Clinical Correlations by Dr. RIG.pptx
Maxilla, Mandible & Hyoid Bone & Clinical Correlations by Dr. RIG.pptxMaxilla, Mandible & Hyoid Bone & Clinical Correlations by Dr. RIG.pptx
Maxilla, Mandible & Hyoid Bone & Clinical Correlations by Dr. RIG.pptx
 
Superficial & Deep Fascia of the NECK.pptx
Superficial & Deep Fascia of the NECK.pptxSuperficial & Deep Fascia of the NECK.pptx
Superficial & Deep Fascia of the NECK.pptx
 
Novas diretrizes da OMS para os cuidados perinatais de mais qualidade
Novas diretrizes da OMS para os cuidados perinatais de mais qualidadeNovas diretrizes da OMS para os cuidados perinatais de mais qualidade
Novas diretrizes da OMS para os cuidados perinatais de mais qualidade
 
Are There Any Natural Remedies To Treat Syphilis.pdf
Are There Any Natural Remedies To Treat Syphilis.pdfAre There Any Natural Remedies To Treat Syphilis.pdf
Are There Any Natural Remedies To Treat Syphilis.pdf
 
ARTIFICIAL INTELLIGENCE IN HEALTHCARE.pdf
ARTIFICIAL INTELLIGENCE IN  HEALTHCARE.pdfARTIFICIAL INTELLIGENCE IN  HEALTHCARE.pdf
ARTIFICIAL INTELLIGENCE IN HEALTHCARE.pdf
 
Flu Vaccine Alert in Bangalore Karnataka
Flu Vaccine Alert in Bangalore KarnatakaFlu Vaccine Alert in Bangalore Karnataka
Flu Vaccine Alert in Bangalore Karnataka
 
Surat @ℂall @Girls ꧁❤8527049040❤꧂@ℂall @Girls Service Vip Top Model Safe
Surat @ℂall @Girls ꧁❤8527049040❤꧂@ℂall @Girls Service Vip Top Model SafeSurat @ℂall @Girls ꧁❤8527049040❤꧂@ℂall @Girls Service Vip Top Model Safe
Surat @ℂall @Girls ꧁❤8527049040❤꧂@ℂall @Girls Service Vip Top Model Safe
 
Hemodialysis: Chapter 3, Dialysis Water Unit - Dr.Gawad
Hemodialysis: Chapter 3, Dialysis Water Unit - Dr.GawadHemodialysis: Chapter 3, Dialysis Water Unit - Dr.Gawad
Hemodialysis: Chapter 3, Dialysis Water Unit - Dr.Gawad
 
KDIGO 2024 guidelines for diabetologists
KDIGO 2024 guidelines for diabetologistsKDIGO 2024 guidelines for diabetologists
KDIGO 2024 guidelines for diabetologists
 
Ocular injury ppt Upendra pal optometrist upums saifai etawah
Ocular injury  ppt  Upendra pal  optometrist upums saifai etawahOcular injury  ppt  Upendra pal  optometrist upums saifai etawah
Ocular injury ppt Upendra pal optometrist upums saifai etawah
 
Prix Galien International 2024 Forum Program
Prix Galien International 2024 Forum ProgramPrix Galien International 2024 Forum Program
Prix Galien International 2024 Forum Program
 
Triangles of Neck and Clinical Correlation by Dr. RIG.pptx
Triangles of Neck and Clinical Correlation by Dr. RIG.pptxTriangles of Neck and Clinical Correlation by Dr. RIG.pptx
Triangles of Neck and Clinical Correlation by Dr. RIG.pptx
 
Tom Selleck Health: A Comprehensive Look at the Iconic Actor’s Wellness Journey
Tom Selleck Health: A Comprehensive Look at the Iconic Actor’s Wellness JourneyTom Selleck Health: A Comprehensive Look at the Iconic Actor’s Wellness Journey
Tom Selleck Health: A Comprehensive Look at the Iconic Actor’s Wellness Journey
 
Pharynx and Clinical Correlations BY Dr.Rabia Inam Gandapore.pptx
Pharynx and Clinical Correlations BY Dr.Rabia Inam Gandapore.pptxPharynx and Clinical Correlations BY Dr.Rabia Inam Gandapore.pptx
Pharynx and Clinical Correlations BY Dr.Rabia Inam Gandapore.pptx
 
Knee anatomy and clinical tests 2024.pdf
Knee anatomy and clinical tests 2024.pdfKnee anatomy and clinical tests 2024.pdf
Knee anatomy and clinical tests 2024.pdf
 
BRACHYTHERAPY OVERVIEW AND APPLICATORS
BRACHYTHERAPY OVERVIEW  AND  APPLICATORSBRACHYTHERAPY OVERVIEW  AND  APPLICATORS
BRACHYTHERAPY OVERVIEW AND APPLICATORS
 
Non-respiratory Functions of the Lungs.pdf
Non-respiratory Functions of the Lungs.pdfNon-respiratory Functions of the Lungs.pdf
Non-respiratory Functions of the Lungs.pdf
 
Pulmonary Thromboembolism - etilogy, types, medical- Surgical and nursing man...
Pulmonary Thromboembolism - etilogy, types, medical- Surgical and nursing man...Pulmonary Thromboembolism - etilogy, types, medical- Surgical and nursing man...
Pulmonary Thromboembolism - etilogy, types, medical- Surgical and nursing man...
 
Ozempic: Preoperative Management of Patients on GLP-1 Receptor Agonists
Ozempic: Preoperative Management of Patients on GLP-1 Receptor Agonists  Ozempic: Preoperative Management of Patients on GLP-1 Receptor Agonists
Ozempic: Preoperative Management of Patients on GLP-1 Receptor Agonists
 

Using the DAGitty software

  • 1. Construction of Causal Diagrams using DAGitty Kim Carmela D. Co Department of Epidemiology and Biostatistics College of Public Health University of the Philippines - Manila
  • 2. Introduction • http://www.dagitty.net/ • Web-based software for drawing and analyzing causal diagrams, also known as directed acyclic graphs (DAGs) • Developed by Johannes Textor • Also available as an R package
  • 3. Utility • Identification of suitable, small sufficient adjustment sets in complex causal diagrams • Identification of causal and biasing paths • Identification of testable implications in a given diagram • Identification of potential instrumental variables
  • 4.
  • 5.
  • 6. • Exposure variable is green with a right pointing arrow • Outcome variable is blue with a bar • Main association indicated by a green arrow • Can drag any variable anywhere in the screen
  • 7.
  • 8. Creating the DAG • To add more variables: • Double click anywhere in the area or press N (“new”) • Default color is dark grey • To place arrows in the causal DAG: • Double click the variable (or hover cursor on variable and press C “connect”) where the arrow will come from (“parent variable”) • Hover cursor on variable where arrow will point to and press C (“daughter variable”) • Press C again (while cursor is hovering over the daughter variable) to remove the arrow
  • 9. • Ancestors of exposure are green, ancestors of outcome are blue • Ancestors of both exposure and outcome are red • Red arrows indicate biasing pathways • Arrows can be left-clicked and dragged to change its shape
  • 10. Changing Variable Status E •Change variable to an “exposure” of interest O •Change variable to an “outcome” of interest R •“Rename” the variable U •To toggle whether the variable is observed or “unobserved” A •To toggle whether the variable is “adjusted” or not D •“Delete” the variable
  • 11. Indicates minimum set of variables that have to be adjusted for in order to estimate the causal effect of the exposure on the outcome “smallest number of variables” Minimum set of variables to estimate the direct effect of the exposure on the outcome Removing pathways with intermediate variables Identification of potential instrumental variables, if the model is correctly specified
  • 12. • Independencies implied by the model • Can be checked to determine if the model is correctly specified • Maternal age and socio-economic status are independent?
  • 13. Saving the DAG • Copy model code to notepad to “save” • Code can be pasted to “load” the DAG
  • 14. Open paths = Statistical association Blocked paths = Statistical independence
  • 15.
  • 16. Exercise • Open Shrier & Platt, 2008 • Which variables are “confounders” using the traditional meaning? • Label team motivation, pregame proprioception, neuromuscular fatigue, and tissue weakness as unmeasured variables. • Adjust for the necessary variables to be able to estimate the causal effect of interest. • Adjust for the variable previous injury.
  • 17.
  • 18. Reference • Textor, Johannes (2015) Drawing and Analyzing Causal DAGs with DAGitty. Accessed from: http://www.dagitty.net/manual-2.x.pdf