SlideShare a Scribd company logo
1 of 14
Download to read offline
Causal
  Bayesian
  Networks

Fl´vio Code¸o
  a        c
    Coelho

Basic graph
theory          Causal Bayesian Networks
Bayesian
Networks

Inference
                    Fl´vio Code¸o Coelho
                      a        c

                    Oswaldo Cruz Foundation


                     November 1, 2006
Graphs

   Causal
  Bayesian      Sets of elements called vertices, V , that may or may not be
  Networks
                connected to other vertices in the same set by a set of edges,E
Fl´vio Code¸o
  a        c
    Coelho      A graph may be defined uniquely by its set of edges, wich imply
Basic graph     the set of vertices, e.g.E = {W , X , Y , Z }:
theory

Bayesian
Networks
                            G : E = {(W , Z ), (Z , Y ), (Y , X ), (X , Z )}
Inference




                                                                                  1

                by running the above code, you’ll get the following output:

                  [ Y , X , Z , W ][( Y , X ), ( Y , Z ), ( X , Z ), ( Z , W )]

                  1
                      https://networkx.lanl.gov/
Some properties of graphs

   Causal
  Bayesian
  Networks

Fl´vio Code¸o
  a        c
    Coelho          Graphs can be directed or undirected;
Basic graph         The order of a graph corresponds to its number of vertices;
theory

Bayesian
                    The size of a graph corresponds to its number of edges;
Networks
                    Vertices connected by an edge are neighbors or adjacent;
Inference
                    The order of a vertex corresponds to its number of
                    neighbors;
                    A path is a list of edges connecting two vertices;
                    A cycle is a path starting and ending in the same vertex;
                    A graph with no cycles is termed acyclic.
Visualizing the graph

   Causal
  Bayesian
  Networks

Fl´vio Code¸o
  a        c
    Coelho

Basic graph
theory

Bayesian
Networks
                From the code above we get the following picture:
Inference
Directed Acyclic Graph (DAG)

   Causal
  Bayesian
  Networks
                In directed acyclic graphs we use arrows to represent edges.
Fl´vio Code¸o
  a        c
    Coelho

Basic graph
theory

Bayesian
Networks
                The output:
Inference
DAG properties

   Causal
  Bayesian
  Networks

Fl´vio Code¸o
  a        c
    Coelho

Basic graph
                    Parents,children,descendants,ancestors, etc.
theory
                    Root node
Bayesian
Networks            sink node
Inference
                    Every DAG has at least one root and one sink
                    Tree graph: every node has at most one parent
                    Chain graph: every node has at most on child
                    Complete graph: All possible edges exist.
Bayesian Networks

   Causal
  Bayesian
  Networks

Fl´vio Code¸o
  a
    Coelho
           c    Advantages
                :
Basic graph
theory            1   Convenient means of expressing assumptions
Bayesian
Networks
                  2   economical representation of Joint probabilit functions
Inference         3   Facilitate efficient inferences from observations

                Why Bayesian?
                  1   Subjective nature of input information
                  2   Reliance on Bayes conditioning for updating information
                  3   The distinction between causal and evidential reasoning
Definitions

   Causal
  Bayesian
  Networks

Fl´vio Code¸o
  a        c
    Coelho
                Markovian parents (PAj ) P(xj | paj ) = P(xj | x1 , . . . , xj−1 )
Basic graph
theory
                            such that no subset of PAj satisfies the above
Bayesian                    equation.
Networks

Inference
                Markov compatibility If a probability function admits the
                           factorization P(xi | x1 , . . . , xn ) = P(xi | pai )
                           relative to a DAG G we say that G and P are
                           compatible or that P is Markov relative to G .
                 d-separation Z d-separates X and Y iff Z blocks every path
                              from a node in X to a node in Y .
Theorems

   Causal
  Bayesian
  Networks

Fl´vio Code¸o
  a        c
    Coelho      Probabilistic Implications of d-separation
                If sets X and Y are d-separated by Z in a DAG G , then X is
Basic graph
theory          independent of Y conditional on Z every distribution
Bayesian        compatible with G . Conversely, if X and Y are not d-separated
Networks
                by Z in a DAG G , then X and Y are dependent conditional on
Inference
                Z in at least one dist. compatible with G .

                Ordered Markov Condition
                A necessary and sufficient condition for a probability
                distribution P to be markovian relative a DAG G is that every
                variable be independent of all its predecessors in some
                oredering of the variables that agrees with the arrows of G .
Theorems, cont.

   Causal
  Bayesian
  Networks

Fl´vio Code¸o
  a        c
    Coelho
                Parental Markov Condition
Basic graph     A necessary and sufficient condition for a probability
theory
                distribution P to be markovian relative a DAG G is that every
Bayesian
Networks        variable be independent of all its nondescendants (in G ),
Inference       conditional on its parents.

                Observational Equivalence
                Two DAGs are observationally equivalent if and only if they
                have the same skeletons and the same sets of v-structures, that
                is, two converging arrows whose tails are not connected by an
                arrow.
Inference with Bayesian Networks

   Causal
  Bayesian
  Networks

Fl´vio Code¸o
  a        c
    Coelho

Basic graph
theory          In the presence of a set of observations X the posterior
Bayesian        probability:
                                                  s P(y , x, s)
Networks

Inference                          P(y | x) =
                                                 y ,s P(y , x, s)

                can be calculated from a DAG G and the conditional
                probabilities P(xi | pai ) defined on the families of G
Causal Bayesian Networks

   Causal
  Bayesian
  Networks
                    DAGs constructed around Causal, instead of associational
Fl´vio Code¸o
  a        c
    Coelho          information is mor intuitive and more reliable.
Basic graph         Causal relationships are a direct representations of our
theory
                    beliefs
Bayesian
Networks
                    Direct representation of mechanisms
Inference
                    Simple to represent interventions thanks to modularity in
                    the network

                Definition: Causal bayesian network
                Let P(v ) be a probability distribution on a set of V variables,
                and let Px (v ) denote the distributionresulting from the
                intervention do(X = x) that sets a subset X of variables to
                constants x.
Causal Bayesian Networks

   Causal
  Bayesian
  Networks

Fl´vio Code¸o
  a        c    Definition (cont.): Causal bayesian network
    Coelho
                Denote by P∗ the set of all interventional distributions
Basic graph
theory
                Px (v ), X ⊆ V , including P(v ), which represents no
Bayesian
                intervention (i.e., X = ∅). A DAG G is said to be a causal
Networks
                bayesian network compatible with P∗ if and only if the
Inference
                following three conditions hold for every Px ∈ P∗ :

                  1   Px (v ) is Markov relative to G;
                  2   Px (vi ) = 1 for all Vi ∈ X whenever vi is consistent with
                      X = x;
                  3   Px (vi | pai ) = P(vi | pai ) for all Vi ∈ X whenever pai is
                      consistent with X = x.
Causal
  Bayesian
  Networks

Fl´vio Code¸o
  a        c
    Coelho

Basic graph
theory

Bayesian
Networks
                Thank you!
Inference

More Related Content

What's hot

lecture07.ppt
lecture07.pptlecture07.ppt
lecture07.pptbutest
 
07 regularization
07 regularization07 regularization
07 regularizationRonald Teo
 
How good is your prediction a gentle introduction to conformal prediction.
How good is your prediction  a gentle introduction to conformal prediction.How good is your prediction  a gentle introduction to conformal prediction.
How good is your prediction a gentle introduction to conformal prediction.Deep Learning Italia
 
Visualizing Data Using t-SNE
Visualizing Data Using t-SNEVisualizing Data Using t-SNE
Visualizing Data Using t-SNEDavid Khosid
 
Nonlinear dimension reduction
Nonlinear dimension reductionNonlinear dimension reduction
Nonlinear dimension reductionYan Xu
 
Intro to Vectorization Concepts - GaTech cse6242
Intro to Vectorization Concepts - GaTech cse6242Intro to Vectorization Concepts - GaTech cse6242
Intro to Vectorization Concepts - GaTech cse6242Josh Patterson
 
Problems in parallel computations of tree functions
Problems in parallel computations of tree functionsProblems in parallel computations of tree functions
Problems in parallel computations of tree functionsDr Sandeep Kumar Poonia
 
Quantum Technology Overview
Quantum Technology Overview Quantum Technology Overview
Quantum Technology Overview Ketan Talele
 
Back propagation
Back propagationBack propagation
Back propagationNagarajan
 
Bayes Classification
Bayes ClassificationBayes Classification
Bayes Classificationsathish sak
 
Random graph models
Random graph modelsRandom graph models
Random graph modelsnetworksuw
 
Runge–Kutta methods for ordinary differential equations
Runge–Kutta methods for ordinary differential equationsRunge–Kutta methods for ordinary differential equations
Runge–Kutta methods for ordinary differential equationsYuri Vyatkin
 

What's hot (20)

lecture07.ppt
lecture07.pptlecture07.ppt
lecture07.ppt
 
07 regularization
07 regularization07 regularization
07 regularization
 
Lecture3 - Machine Learning
Lecture3 - Machine LearningLecture3 - Machine Learning
Lecture3 - Machine Learning
 
AI: Logic in AI
AI: Logic in AIAI: Logic in AI
AI: Logic in AI
 
How good is your prediction a gentle introduction to conformal prediction.
How good is your prediction  a gentle introduction to conformal prediction.How good is your prediction  a gentle introduction to conformal prediction.
How good is your prediction a gentle introduction to conformal prediction.
 
Visualizing Data Using t-SNE
Visualizing Data Using t-SNEVisualizing Data Using t-SNE
Visualizing Data Using t-SNE
 
Nonlinear dimension reduction
Nonlinear dimension reductionNonlinear dimension reduction
Nonlinear dimension reduction
 
Answer quiz minimax
Answer quiz minimaxAnswer quiz minimax
Answer quiz minimax
 
Intro to Vectorization Concepts - GaTech cse6242
Intro to Vectorization Concepts - GaTech cse6242Intro to Vectorization Concepts - GaTech cse6242
Intro to Vectorization Concepts - GaTech cse6242
 
Problems in parallel computations of tree functions
Problems in parallel computations of tree functionsProblems in parallel computations of tree functions
Problems in parallel computations of tree functions
 
Minimum spanning tree
Minimum spanning treeMinimum spanning tree
Minimum spanning tree
 
Perceptron & Neural Networks
Perceptron & Neural NetworksPerceptron & Neural Networks
Perceptron & Neural Networks
 
Quantum Technology Overview
Quantum Technology Overview Quantum Technology Overview
Quantum Technology Overview
 
Back propagation
Back propagationBack propagation
Back propagation
 
Bayes Classification
Bayes ClassificationBayes Classification
Bayes Classification
 
Random graph models
Random graph modelsRandom graph models
Random graph models
 
Runge–Kutta methods for ordinary differential equations
Runge–Kutta methods for ordinary differential equationsRunge–Kutta methods for ordinary differential equations
Runge–Kutta methods for ordinary differential equations
 
Intelligent web applications
Intelligent web applicationsIntelligent web applications
Intelligent web applications
 
Lecture10 - Naïve Bayes
Lecture10 - Naïve BayesLecture10 - Naïve Bayes
Lecture10 - Naïve Bayes
 
Daa notes 3
Daa notes 3Daa notes 3
Daa notes 3
 

Similar to Causal Bayesian Networks

Bayes Nets Meetup Sept 29th 2016 - Bayesian Network Modelling by Marco Scutari
Bayes Nets Meetup Sept 29th 2016 - Bayesian Network Modelling by Marco ScutariBayes Nets Meetup Sept 29th 2016 - Bayesian Network Modelling by Marco Scutari
Bayes Nets Meetup Sept 29th 2016 - Bayesian Network Modelling by Marco ScutariBayes Nets meetup London
 
Inference in Bayesian Networks
Inference in Bayesian NetworksInference in Bayesian Networks
Inference in Bayesian Networksguestfee8698
 
Graph Neural Network for Phenotype Prediction
Graph Neural Network for Phenotype PredictionGraph Neural Network for Phenotype Prediction
Graph Neural Network for Phenotype Predictiontuxette
 
A multithreaded method for network alignment
A multithreaded method for network alignmentA multithreaded method for network alignment
A multithreaded method for network alignmentDavid Gleich
 
Paper Summary of Beta-VAE: Learning Basic Visual Concepts with a Constrained ...
Paper Summary of Beta-VAE: Learning Basic Visual Concepts with a Constrained ...Paper Summary of Beta-VAE: Learning Basic Visual Concepts with a Constrained ...
Paper Summary of Beta-VAE: Learning Basic Visual Concepts with a Constrained ...준식 최
 
712201907
712201907712201907
712201907IJRAT
 
Pathway Discovery in Cancer: the Bayesian Approach
Pathway Discovery in Cancer: the Bayesian ApproachPathway Discovery in Cancer: the Bayesian Approach
Pathway Discovery in Cancer: the Bayesian ApproachFrancesco Gadaleta
 
Introduction to bayesian_networks[1]
Introduction to bayesian_networks[1]Introduction to bayesian_networks[1]
Introduction to bayesian_networks[1]JULIO GONZALEZ SANZ
 
A short and naive introduction to using network in prediction models
A short and naive introduction to using network in prediction modelsA short and naive introduction to using network in prediction models
A short and naive introduction to using network in prediction modelstuxette
 
Estimating Functional Connectomes: Sparsity’s Strength and Limitations
Estimating Functional Connectomes: Sparsity’s Strength and LimitationsEstimating Functional Connectomes: Sparsity’s Strength and Limitations
Estimating Functional Connectomes: Sparsity’s Strength and LimitationsGael Varoquaux
 
Ontology-based Data Access with Existential Rules
Ontology-based Data Access with Existential RulesOntology-based Data Access with Existential Rules
Ontology-based Data Access with Existential RulesRuleML
 
Composing graphical models with neural networks for structured representatio...
Composing graphical models with  neural networks for structured representatio...Composing graphical models with  neural networks for structured representatio...
Composing graphical models with neural networks for structured representatio...Jeongmin Cha
 

Similar to Causal Bayesian Networks (20)

Bayes Nets Meetup Sept 29th 2016 - Bayesian Network Modelling by Marco Scutari
Bayes Nets Meetup Sept 29th 2016 - Bayesian Network Modelling by Marco ScutariBayes Nets Meetup Sept 29th 2016 - Bayesian Network Modelling by Marco Scutari
Bayes Nets Meetup Sept 29th 2016 - Bayesian Network Modelling by Marco Scutari
 
Inference in Bayesian Networks
Inference in Bayesian NetworksInference in Bayesian Networks
Inference in Bayesian Networks
 
Lecture10 xing
Lecture10 xingLecture10 xing
Lecture10 xing
 
Graph Neural Network for Phenotype Prediction
Graph Neural Network for Phenotype PredictionGraph Neural Network for Phenotype Prediction
Graph Neural Network for Phenotype Prediction
 
Bayesian network
Bayesian networkBayesian network
Bayesian network
 
A multithreaded method for network alignment
A multithreaded method for network alignmentA multithreaded method for network alignment
A multithreaded method for network alignment
 
Project3.ppt
Project3.pptProject3.ppt
Project3.ppt
 
Paper Summary of Beta-VAE: Learning Basic Visual Concepts with a Constrained ...
Paper Summary of Beta-VAE: Learning Basic Visual Concepts with a Constrained ...Paper Summary of Beta-VAE: Learning Basic Visual Concepts with a Constrained ...
Paper Summary of Beta-VAE: Learning Basic Visual Concepts with a Constrained ...
 
Iclr2016 vaeまとめ
Iclr2016 vaeまとめIclr2016 vaeまとめ
Iclr2016 vaeまとめ
 
712201907
712201907712201907
712201907
 
DarwicheUAI00.ppt
DarwicheUAI00.pptDarwicheUAI00.ppt
DarwicheUAI00.ppt
 
Pathway Discovery in Cancer: the Bayesian Approach
Pathway Discovery in Cancer: the Bayesian ApproachPathway Discovery in Cancer: the Bayesian Approach
Pathway Discovery in Cancer: the Bayesian Approach
 
Introduction to bayesian_networks[1]
Introduction to bayesian_networks[1]Introduction to bayesian_networks[1]
Introduction to bayesian_networks[1]
 
Bayes network
Bayes networkBayes network
Bayes network
 
A short and naive introduction to using network in prediction models
A short and naive introduction to using network in prediction modelsA short and naive introduction to using network in prediction models
A short and naive introduction to using network in prediction models
 
Estimating Functional Connectomes: Sparsity’s Strength and Limitations
Estimating Functional Connectomes: Sparsity’s Strength and LimitationsEstimating Functional Connectomes: Sparsity’s Strength and Limitations
Estimating Functional Connectomes: Sparsity’s Strength and Limitations
 
Ontology-based Data Access with Existential Rules
Ontology-based Data Access with Existential RulesOntology-based Data Access with Existential Rules
Ontology-based Data Access with Existential Rules
 
Composing graphical models with neural networks for structured representatio...
Composing graphical models with  neural networks for structured representatio...Composing graphical models with  neural networks for structured representatio...
Composing graphical models with neural networks for structured representatio...
 
AI Lesson 29
AI Lesson 29AI Lesson 29
AI Lesson 29
 
Lesson 29
Lesson 29Lesson 29
Lesson 29
 

More from Flávio Codeço Coelho

Sistema de Alerta de Dengue Utilizando Dados Hbridos de Redes Sociais, Moni...
Sistema de Alerta de Dengue Utilizando Dados Hbridos de Redes Sociais, Moni...Sistema de Alerta de Dengue Utilizando Dados Hbridos de Redes Sociais, Moni...
Sistema de Alerta de Dengue Utilizando Dados Hbridos de Redes Sociais, Moni...Flávio Codeço Coelho
 
Alerta dengue: Sistema de alertas de surtos usando dados híbridos
Alerta dengue: Sistema de alertas de surtos usando dados híbridosAlerta dengue: Sistema de alertas de surtos usando dados híbridos
Alerta dengue: Sistema de alertas de surtos usando dados híbridosFlávio Codeço Coelho
 
Mauricio barreto:Big data: how can it help to expand epidemiological investig...
Mauricio barreto:Big data: how can it help to expand epidemiological investig...Mauricio barreto:Big data: how can it help to expand epidemiological investig...
Mauricio barreto:Big data: how can it help to expand epidemiological investig...Flávio Codeço Coelho
 
Fabricio Silva: Cloud Computing Technologies for Genomic Big Data Analysis
Fabricio  Silva: Cloud Computing Technologies for Genomic Big Data AnalysisFabricio  Silva: Cloud Computing Technologies for Genomic Big Data Analysis
Fabricio Silva: Cloud Computing Technologies for Genomic Big Data AnalysisFlávio Codeço Coelho
 
Gabriela gomes: Mathematical Modeling and Data Needs
Gabriela gomes: Mathematical Modeling and Data NeedsGabriela gomes: Mathematical Modeling and Data Needs
Gabriela gomes: Mathematical Modeling and Data NeedsFlávio Codeço Coelho
 
Carl koppeschaar: Disease Radar: Measuring and Forecasting the Spread of Infe...
Carl koppeschaar: Disease Radar: Measuring and Forecasting the Spread of Infe...Carl koppeschaar: Disease Radar: Measuring and Forecasting the Spread of Infe...
Carl koppeschaar: Disease Radar: Measuring and Forecasting the Spread of Infe...Flávio Codeço Coelho
 
Gabriel laporta: Biodiversity can help prevent malaria outbreaks in tropical ...
Gabriel laporta: Biodiversity can help prevent malaria outbreaks in tropical ...Gabriel laporta: Biodiversity can help prevent malaria outbreaks in tropical ...
Gabriel laporta: Biodiversity can help prevent malaria outbreaks in tropical ...Flávio Codeço Coelho
 
Sander van noort: Influenzanet: self-reporting of influenza-like illness in c...
Sander van noort: Influenzanet: self-reporting of influenza-like illness in c...Sander van noort: Influenzanet: self-reporting of influenza-like illness in c...
Sander van noort: Influenzanet: self-reporting of influenza-like illness in c...Flávio Codeço Coelho
 
Claudia medina: Linking Health Records for Population Health Research in Brazil.
Claudia medina: Linking Health Records for Population Health Research in Brazil.Claudia medina: Linking Health Records for Population Health Research in Brazil.
Claudia medina: Linking Health Records for Population Health Research in Brazil.Flávio Codeço Coelho
 
Mark smolinski big data and public health
Mark smolinski   big data and public healthMark smolinski   big data and public health
Mark smolinski big data and public healthFlávio Codeço Coelho
 
Haroldo lopes datasus - Informações em Saúde: história, uso e desafios
Haroldo lopes   datasus - Informações em Saúde: história, uso e desafiosHaroldo lopes   datasus - Informações em Saúde: história, uso e desafios
Haroldo lopes datasus - Informações em Saúde: história, uso e desafiosFlávio Codeço Coelho
 
Wim de Grave: Big Data in life sciences
Wim de Grave:  Big Data in life sciencesWim de Grave:  Big Data in life sciences
Wim de Grave: Big Data in life sciencesFlávio Codeço Coelho
 
Marco Andreazzi: IBGE research and data collection on health related issues.
Marco Andreazzi: IBGE research and data collection on health related issues.Marco Andreazzi: IBGE research and data collection on health related issues.
Marco Andreazzi: IBGE research and data collection on health related issues.Flávio Codeço Coelho
 
Access to Information, privacy, and health research in Brazil
Access to Information, privacy, and health research in BrazilAccess to Information, privacy, and health research in Brazil
Access to Information, privacy, and health research in BrazilFlávio Codeço Coelho
 

More from Flávio Codeço Coelho (20)

Big dengue
Big dengueBig dengue
Big dengue
 
Alerta_Dengue simplified english
Alerta_Dengue simplified englishAlerta_Dengue simplified english
Alerta_Dengue simplified english
 
dengueARS0
dengueARS0dengueARS0
dengueARS0
 
Alerta dengue expo epi out2014
Alerta dengue expo epi out2014Alerta dengue expo epi out2014
Alerta dengue expo epi out2014
 
Alerta dengue abrasco 2014
Alerta dengue   abrasco 2014Alerta dengue   abrasco 2014
Alerta dengue abrasco 2014
 
Sistema de Alerta de Dengue Utilizando Dados Hbridos de Redes Sociais, Moni...
Sistema de Alerta de Dengue Utilizando Dados Hbridos de Redes Sociais, Moni...Sistema de Alerta de Dengue Utilizando Dados Hbridos de Redes Sociais, Moni...
Sistema de Alerta de Dengue Utilizando Dados Hbridos de Redes Sociais, Moni...
 
Alerta dengue: Sistema de alertas de surtos usando dados híbridos
Alerta dengue: Sistema de alertas de surtos usando dados híbridosAlerta dengue: Sistema de alertas de surtos usando dados híbridos
Alerta dengue: Sistema de alertas de surtos usando dados híbridos
 
Mauricio barreto:Big data: how can it help to expand epidemiological investig...
Mauricio barreto:Big data: how can it help to expand epidemiological investig...Mauricio barreto:Big data: how can it help to expand epidemiological investig...
Mauricio barreto:Big data: how can it help to expand epidemiological investig...
 
Fabricio Silva: Cloud Computing Technologies for Genomic Big Data Analysis
Fabricio  Silva: Cloud Computing Technologies for Genomic Big Data AnalysisFabricio  Silva: Cloud Computing Technologies for Genomic Big Data Analysis
Fabricio Silva: Cloud Computing Technologies for Genomic Big Data Analysis
 
Gabriela gomes: Mathematical Modeling and Data Needs
Gabriela gomes: Mathematical Modeling and Data NeedsGabriela gomes: Mathematical Modeling and Data Needs
Gabriela gomes: Mathematical Modeling and Data Needs
 
Carl koppeschaar: Disease Radar: Measuring and Forecasting the Spread of Infe...
Carl koppeschaar: Disease Radar: Measuring and Forecasting the Spread of Infe...Carl koppeschaar: Disease Radar: Measuring and Forecasting the Spread of Infe...
Carl koppeschaar: Disease Radar: Measuring and Forecasting the Spread of Infe...
 
Gabriel laporta: Biodiversity can help prevent malaria outbreaks in tropical ...
Gabriel laporta: Biodiversity can help prevent malaria outbreaks in tropical ...Gabriel laporta: Biodiversity can help prevent malaria outbreaks in tropical ...
Gabriel laporta: Biodiversity can help prevent malaria outbreaks in tropical ...
 
Sander van noort: Influenzanet: self-reporting of influenza-like illness in c...
Sander van noort: Influenzanet: self-reporting of influenza-like illness in c...Sander van noort: Influenzanet: self-reporting of influenza-like illness in c...
Sander van noort: Influenzanet: self-reporting of influenza-like illness in c...
 
Claudia medina: Linking Health Records for Population Health Research in Brazil.
Claudia medina: Linking Health Records for Population Health Research in Brazil.Claudia medina: Linking Health Records for Population Health Research in Brazil.
Claudia medina: Linking Health Records for Population Health Research in Brazil.
 
Mark smolinski big data and public health
Mark smolinski   big data and public healthMark smolinski   big data and public health
Mark smolinski big data and public health
 
Haroldo lopes datasus - Informações em Saúde: história, uso e desafios
Haroldo lopes   datasus - Informações em Saúde: história, uso e desafiosHaroldo lopes   datasus - Informações em Saúde: história, uso e desafios
Haroldo lopes datasus - Informações em Saúde: história, uso e desafios
 
Wim de Grave: Big Data in life sciences
Wim de Grave:  Big Data in life sciencesWim de Grave:  Big Data in life sciences
Wim de Grave: Big Data in life sciences
 
Marco Andreazzi: IBGE research and data collection on health related issues.
Marco Andreazzi: IBGE research and data collection on health related issues.Marco Andreazzi: IBGE research and data collection on health related issues.
Marco Andreazzi: IBGE research and data collection on health related issues.
 
Access to Information, privacy, and health research in Brazil
Access to Information, privacy, and health research in BrazilAccess to Information, privacy, and health research in Brazil
Access to Information, privacy, and health research in Brazil
 
Mining legal texts with Python
Mining legal texts with PythonMining legal texts with Python
Mining legal texts with Python
 

Recently uploaded

Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsManeerUddin
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 

Recently uploaded (20)

Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture hons
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 

Causal Bayesian Networks

  • 1. Causal Bayesian Networks Fl´vio Code¸o a c Coelho Basic graph theory Causal Bayesian Networks Bayesian Networks Inference Fl´vio Code¸o Coelho a c Oswaldo Cruz Foundation November 1, 2006
  • 2. Graphs Causal Bayesian Sets of elements called vertices, V , that may or may not be Networks connected to other vertices in the same set by a set of edges,E Fl´vio Code¸o a c Coelho A graph may be defined uniquely by its set of edges, wich imply Basic graph the set of vertices, e.g.E = {W , X , Y , Z }: theory Bayesian Networks G : E = {(W , Z ), (Z , Y ), (Y , X ), (X , Z )} Inference 1 by running the above code, you’ll get the following output: [ Y , X , Z , W ][( Y , X ), ( Y , Z ), ( X , Z ), ( Z , W )] 1 https://networkx.lanl.gov/
  • 3. Some properties of graphs Causal Bayesian Networks Fl´vio Code¸o a c Coelho Graphs can be directed or undirected; Basic graph The order of a graph corresponds to its number of vertices; theory Bayesian The size of a graph corresponds to its number of edges; Networks Vertices connected by an edge are neighbors or adjacent; Inference The order of a vertex corresponds to its number of neighbors; A path is a list of edges connecting two vertices; A cycle is a path starting and ending in the same vertex; A graph with no cycles is termed acyclic.
  • 4. Visualizing the graph Causal Bayesian Networks Fl´vio Code¸o a c Coelho Basic graph theory Bayesian Networks From the code above we get the following picture: Inference
  • 5. Directed Acyclic Graph (DAG) Causal Bayesian Networks In directed acyclic graphs we use arrows to represent edges. Fl´vio Code¸o a c Coelho Basic graph theory Bayesian Networks The output: Inference
  • 6. DAG properties Causal Bayesian Networks Fl´vio Code¸o a c Coelho Basic graph Parents,children,descendants,ancestors, etc. theory Root node Bayesian Networks sink node Inference Every DAG has at least one root and one sink Tree graph: every node has at most one parent Chain graph: every node has at most on child Complete graph: All possible edges exist.
  • 7. Bayesian Networks Causal Bayesian Networks Fl´vio Code¸o a Coelho c Advantages : Basic graph theory 1 Convenient means of expressing assumptions Bayesian Networks 2 economical representation of Joint probabilit functions Inference 3 Facilitate efficient inferences from observations Why Bayesian? 1 Subjective nature of input information 2 Reliance on Bayes conditioning for updating information 3 The distinction between causal and evidential reasoning
  • 8. Definitions Causal Bayesian Networks Fl´vio Code¸o a c Coelho Markovian parents (PAj ) P(xj | paj ) = P(xj | x1 , . . . , xj−1 ) Basic graph theory such that no subset of PAj satisfies the above Bayesian equation. Networks Inference Markov compatibility If a probability function admits the factorization P(xi | x1 , . . . , xn ) = P(xi | pai ) relative to a DAG G we say that G and P are compatible or that P is Markov relative to G . d-separation Z d-separates X and Y iff Z blocks every path from a node in X to a node in Y .
  • 9. Theorems Causal Bayesian Networks Fl´vio Code¸o a c Coelho Probabilistic Implications of d-separation If sets X and Y are d-separated by Z in a DAG G , then X is Basic graph theory independent of Y conditional on Z every distribution Bayesian compatible with G . Conversely, if X and Y are not d-separated Networks by Z in a DAG G , then X and Y are dependent conditional on Inference Z in at least one dist. compatible with G . Ordered Markov Condition A necessary and sufficient condition for a probability distribution P to be markovian relative a DAG G is that every variable be independent of all its predecessors in some oredering of the variables that agrees with the arrows of G .
  • 10. Theorems, cont. Causal Bayesian Networks Fl´vio Code¸o a c Coelho Parental Markov Condition Basic graph A necessary and sufficient condition for a probability theory distribution P to be markovian relative a DAG G is that every Bayesian Networks variable be independent of all its nondescendants (in G ), Inference conditional on its parents. Observational Equivalence Two DAGs are observationally equivalent if and only if they have the same skeletons and the same sets of v-structures, that is, two converging arrows whose tails are not connected by an arrow.
  • 11. Inference with Bayesian Networks Causal Bayesian Networks Fl´vio Code¸o a c Coelho Basic graph theory In the presence of a set of observations X the posterior Bayesian probability: s P(y , x, s) Networks Inference P(y | x) = y ,s P(y , x, s) can be calculated from a DAG G and the conditional probabilities P(xi | pai ) defined on the families of G
  • 12. Causal Bayesian Networks Causal Bayesian Networks DAGs constructed around Causal, instead of associational Fl´vio Code¸o a c Coelho information is mor intuitive and more reliable. Basic graph Causal relationships are a direct representations of our theory beliefs Bayesian Networks Direct representation of mechanisms Inference Simple to represent interventions thanks to modularity in the network Definition: Causal bayesian network Let P(v ) be a probability distribution on a set of V variables, and let Px (v ) denote the distributionresulting from the intervention do(X = x) that sets a subset X of variables to constants x.
  • 13. Causal Bayesian Networks Causal Bayesian Networks Fl´vio Code¸o a c Definition (cont.): Causal bayesian network Coelho Denote by P∗ the set of all interventional distributions Basic graph theory Px (v ), X ⊆ V , including P(v ), which represents no Bayesian intervention (i.e., X = ∅). A DAG G is said to be a causal Networks bayesian network compatible with P∗ if and only if the Inference following three conditions hold for every Px ∈ P∗ : 1 Px (v ) is Markov relative to G; 2 Px (vi ) = 1 for all Vi ∈ X whenever vi is consistent with X = x; 3 Px (vi | pai ) = P(vi | pai ) for all Vi ∈ X whenever pai is consistent with X = x.
  • 14. Causal Bayesian Networks Fl´vio Code¸o a c Coelho Basic graph theory Bayesian Networks Thank you! Inference