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

Training Neural Networks
Training Neural NetworksTraining Neural Networks
Training Neural NetworksDatabricks
 
Naive Bayes Classifier
Naive Bayes ClassifierNaive Bayes Classifier
Naive Bayes ClassifierArunabha Saha
 
Principal component analysis and lda
Principal component analysis and ldaPrincipal component analysis and lda
Principal component analysis and ldaSuresh Pokharel
 
activelearning.ppt
activelearning.pptactivelearning.ppt
activelearning.pptbutest
 
Knowledge, Graphs & 3D CAD Systems - David Bigelow @ GraphConnect Chicago 2013
Knowledge, Graphs & 3D CAD Systems - David Bigelow @ GraphConnect Chicago 2013Knowledge, Graphs & 3D CAD Systems - David Bigelow @ GraphConnect Chicago 2013
Knowledge, Graphs & 3D CAD Systems - David Bigelow @ GraphConnect Chicago 2013Neo4j
 
Ensemble learning
Ensemble learningEnsemble learning
Ensemble learningHaris Jamil
 
AI/ML as an empirical science
AI/ML as an empirical scienceAI/ML as an empirical science
AI/ML as an empirical scienceDeakin University
 
Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...
Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...
Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...Edureka!
 
Machine learning ppt.
Machine learning ppt.Machine learning ppt.
Machine learning ppt.ASHOK KUMAR
 
Naive Bayes Classifier Tutorial | Naive Bayes Classifier Example | Naive Baye...
Naive Bayes Classifier Tutorial | Naive Bayes Classifier Example | Naive Baye...Naive Bayes Classifier Tutorial | Naive Bayes Classifier Example | Naive Baye...
Naive Bayes Classifier Tutorial | Naive Bayes Classifier Example | Naive Baye...Edureka!
 
Inductive analytical approaches to learning
Inductive analytical approaches to learningInductive analytical approaches to learning
Inductive analytical approaches to learningswapnac12
 
Introduction to Generative Adversarial Networks (GANs)
Introduction to Generative Adversarial Networks (GANs)Introduction to Generative Adversarial Networks (GANs)
Introduction to Generative Adversarial Networks (GANs)Appsilon Data Science
 
Machine Learning Chapter 11 2
Machine Learning Chapter 11 2Machine Learning Chapter 11 2
Machine Learning Chapter 11 2butest
 
Machine Learning Deep Learning AI and Data Science
Machine Learning Deep Learning AI and Data Science Machine Learning Deep Learning AI and Data Science
Machine Learning Deep Learning AI and Data Science Venkata Reddy Konasani
 
Random Forest Algorithm - Random Forest Explained | Random Forest In Machine ...
Random Forest Algorithm - Random Forest Explained | Random Forest In Machine ...Random Forest Algorithm - Random Forest Explained | Random Forest In Machine ...
Random Forest Algorithm - Random Forest Explained | Random Forest In Machine ...Simplilearn
 

What's hot (20)

Bayesian networks
Bayesian networksBayesian networks
Bayesian networks
 
Training Neural Networks
Training Neural NetworksTraining Neural Networks
Training Neural Networks
 
Bayes network
Bayes networkBayes network
Bayes network
 
Naive Bayes Classifier
Naive Bayes ClassifierNaive Bayes Classifier
Naive Bayes Classifier
 
Uncertainty in Deep Learning
Uncertainty in Deep LearningUncertainty in Deep Learning
Uncertainty in Deep Learning
 
Principal component analysis and lda
Principal component analysis and ldaPrincipal component analysis and lda
Principal component analysis and lda
 
activelearning.ppt
activelearning.pptactivelearning.ppt
activelearning.ppt
 
Knowledge, Graphs & 3D CAD Systems - David Bigelow @ GraphConnect Chicago 2013
Knowledge, Graphs & 3D CAD Systems - David Bigelow @ GraphConnect Chicago 2013Knowledge, Graphs & 3D CAD Systems - David Bigelow @ GraphConnect Chicago 2013
Knowledge, Graphs & 3D CAD Systems - David Bigelow @ GraphConnect Chicago 2013
 
Ensemble learning
Ensemble learningEnsemble learning
Ensemble learning
 
AI/ML as an empirical science
AI/ML as an empirical scienceAI/ML as an empirical science
AI/ML as an empirical science
 
Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...
Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...
Naive Bayes Classifier in Python | Naive Bayes Algorithm | Machine Learning A...
 
Machine learning ppt.
Machine learning ppt.Machine learning ppt.
Machine learning ppt.
 
Naive Bayes Classifier Tutorial | Naive Bayes Classifier Example | Naive Baye...
Naive Bayes Classifier Tutorial | Naive Bayes Classifier Example | Naive Baye...Naive Bayes Classifier Tutorial | Naive Bayes Classifier Example | Naive Baye...
Naive Bayes Classifier Tutorial | Naive Bayes Classifier Example | Naive Baye...
 
Deep learning
Deep learningDeep learning
Deep learning
 
Inductive analytical approaches to learning
Inductive analytical approaches to learningInductive analytical approaches to learning
Inductive analytical approaches to learning
 
Introduction to Generative Adversarial Networks (GANs)
Introduction to Generative Adversarial Networks (GANs)Introduction to Generative Adversarial Networks (GANs)
Introduction to Generative Adversarial Networks (GANs)
 
Machine Learning Chapter 11 2
Machine Learning Chapter 11 2Machine Learning Chapter 11 2
Machine Learning Chapter 11 2
 
Machine Learning Deep Learning AI and Data Science
Machine Learning Deep Learning AI and Data Science Machine Learning Deep Learning AI and Data Science
Machine Learning Deep Learning AI and Data Science
 
Bayesian network
Bayesian networkBayesian network
Bayesian network
 
Random Forest Algorithm - Random Forest Explained | Random Forest In Machine ...
Random Forest Algorithm - Random Forest Explained | Random Forest In Machine ...Random Forest Algorithm - Random Forest Explained | Random Forest In Machine ...
Random Forest Algorithm - Random Forest Explained | Random Forest In Machine ...
 

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
 
Probabilistic Reasoning
Probabilistic ReasoningProbabilistic Reasoning
Probabilistic ReasoningJunya Tanaka
 
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
 
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
 
Probabilistic Reasoning
Probabilistic ReasoningProbabilistic Reasoning
Probabilistic Reasoning
 
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]
 
Lecture10 - Naïve Bayes
Lecture10 - Naïve BayesLecture10 - Naïve Bayes
Lecture10 - Naïve Bayes
 
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

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 

Recently uploaded (20)

Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 

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