SlideShare une entreprise Scribd logo
1  sur  14
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

Logistic regression
Logistic regressionLogistic regression
Logistic regressionMartinHogg9
 
NAIVE BAYES CLASSIFIER
NAIVE BAYES CLASSIFIERNAIVE BAYES CLASSIFIER
NAIVE BAYES CLASSIFIERKnoldus Inc.
 
Bayesian Networks - A Brief Introduction
Bayesian Networks - A Brief IntroductionBayesian Networks - A Brief Introduction
Bayesian Networks - A Brief IntroductionAdnan Masood
 
Chap8 basic cluster_analysis
Chap8 basic cluster_analysisChap8 basic cluster_analysis
Chap8 basic cluster_analysisguru_prasadg
 
Lecture 6: Ensemble Methods
Lecture 6: Ensemble Methods Lecture 6: Ensemble Methods
Lecture 6: Ensemble Methods Marina Santini
 
Regression (Linear Regression and Logistic Regression) by Akanksha Bali
Regression (Linear Regression and Logistic Regression) by Akanksha BaliRegression (Linear Regression and Logistic Regression) by Akanksha Bali
Regression (Linear Regression and Logistic Regression) by Akanksha BaliAkanksha Bali
 
Unsupervised learning clustering
Unsupervised learning clusteringUnsupervised learning clustering
Unsupervised learning clusteringArshad Farhad
 
Ensemble learning
Ensemble learningEnsemble learning
Ensemble learningHaris Jamil
 
Naive Bayes Classifier
Naive Bayes ClassifierNaive Bayes Classifier
Naive Bayes ClassifierArunabha Saha
 
Activation function
Activation functionActivation function
Activation functionAstha Jain
 
Neural network
Neural networkNeural network
Neural networkSilicon
 
Deep Learning - CNN and RNN
Deep Learning - CNN and RNNDeep Learning - CNN and RNN
Deep Learning - CNN and RNNAshray Bhandare
 
ensemble learning
ensemble learningensemble learning
ensemble learningbutest
 
Bayseian decision theory
Bayseian decision theoryBayseian decision theory
Bayseian decision theorysia16
 
DBSCAN : A Clustering Algorithm
DBSCAN : A Clustering AlgorithmDBSCAN : A Clustering Algorithm
DBSCAN : A Clustering AlgorithmPınar Yahşi
 

Tendances (20)

Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
NAIVE BAYES CLASSIFIER
NAIVE BAYES CLASSIFIERNAIVE BAYES CLASSIFIER
NAIVE BAYES CLASSIFIER
 
Naive Bayes
Naive BayesNaive Bayes
Naive Bayes
 
Random walk on Graphs
Random walk on GraphsRandom walk on Graphs
Random walk on Graphs
 
Support vector machine
Support vector machineSupport vector machine
Support vector machine
 
Bayesian Networks - A Brief Introduction
Bayesian Networks - A Brief IntroductionBayesian Networks - A Brief Introduction
Bayesian Networks - A Brief Introduction
 
Chap8 basic cluster_analysis
Chap8 basic cluster_analysisChap8 basic cluster_analysis
Chap8 basic cluster_analysis
 
Lecture 6: Ensemble Methods
Lecture 6: Ensemble Methods Lecture 6: Ensemble Methods
Lecture 6: Ensemble Methods
 
Regression (Linear Regression and Logistic Regression) by Akanksha Bali
Regression (Linear Regression and Logistic Regression) by Akanksha BaliRegression (Linear Regression and Logistic Regression) by Akanksha Bali
Regression (Linear Regression and Logistic Regression) by Akanksha Bali
 
Unsupervised learning clustering
Unsupervised learning clusteringUnsupervised learning clustering
Unsupervised learning clustering
 
Ensemble learning
Ensemble learningEnsemble learning
Ensemble learning
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Support Vector Machines ( SVM )
Support Vector Machines ( SVM ) Support Vector Machines ( SVM )
Support Vector Machines ( SVM )
 
Naive Bayes Classifier
Naive Bayes ClassifierNaive Bayes Classifier
Naive Bayes Classifier
 
Activation function
Activation functionActivation function
Activation function
 
Neural network
Neural networkNeural network
Neural network
 
Deep Learning - CNN and RNN
Deep Learning - CNN and RNNDeep Learning - CNN and RNN
Deep Learning - CNN and RNN
 
ensemble learning
ensemble learningensemble learning
ensemble learning
 
Bayseian decision theory
Bayseian decision theoryBayseian decision theory
Bayseian decision theory
 
DBSCAN : A Clustering Algorithm
DBSCAN : A Clustering AlgorithmDBSCAN : A Clustering Algorithm
DBSCAN : A Clustering Algorithm
 

Similaire à 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
 

Similaire à 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
 
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]
 
Bayes network
Bayes networkBayes network
Bayes network
 
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...
 

Plus de 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
 

Plus de 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
 

Dernier

Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
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
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
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
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
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
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
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
 
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
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
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
 

Dernier (20)

Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
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
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
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
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
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
 
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
 
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
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.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
 

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