CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Bayesian Inference Anders Gorm Pedersen Molecular Evolution Group Center for Biological Sequence Analysis Technical.

Slides:



Advertisements
Similar presentations
Motivating Markov Chain Monte Carlo for Multiple Target Tracking
Advertisements

Probabilistic models Jouni Tuomisto THL. Outline Deterministic models with probabilistic parameters Hierarchical Bayesian models Bayesian belief nets.
Probabilistic models Haixu Tang School of Informatics.
Estimation, Variation and Uncertainty Simon French
Psychology 290 Special Topics Study Course: Advanced Meta-analysis April 7, 2014.
Bayesian Estimation in MARK
Bayesian calibration and comparison of process-based forest models Marcel van Oijen & Ron Smith (CEH-Edinburgh) Jonathan Rougier (Durham Univ.)
Practical Session: Bayesian evolutionary analysis by sampling trees (BEAST) Rebecca R. Gray, Ph.D. Department of Pathology University of Florida.
Intro to Bayesian Learning Exercise Solutions Ata Kaban The University of Birmingham 2005.
Bayesian statistics – MCMC techniques
Symposium CoRoT 2009 – Cité Universitaire – 2 February 2009 Analysis of power spectra of Sun-like stars using a Bayesian Approach Thierry Appourchaux Symposium.
Maximum Likelihood. Likelihood The likelihood is the probability of the data given the model.
CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Model Selection Anders Gorm Pedersen Molecular Evolution Group Center for Biological Sequence Analysis Technical.
1 Chapter 12 Probabilistic Reasoning and Bayesian Belief Networks.
Bayesian inference calculate the model parameters that produce a distribution that gives the observed data the greatest probability.
Course overview Tuesday lecture –Those not presenting turn in short review of a paper using the method being discussed Thursday computer lab –Turn in short.
CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Probabilistic modeling and molecular phylogeny Anders Gorm Pedersen Molecular Evolution Group Center for Biological.
CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Probabilistic modeling and molecular phylogeny Anders Gorm Pedersen Molecular Evolution Group Center for Biological.
CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Bayesian Inference Anders Gorm Pedersen Molecular Evolution Group Center for Biological Sequence Analysis Technical.
Bayesian Learning Rong Jin.
Using ranking and DCE data to value health states on the QALY scale using conventional and Bayesian methods Theresa Cain.
Bayesian Analysis for Extreme Events Pao-Shin Chu and Xin Zhao Department of Meteorology School of Ocean & Earth Science & Technology University of Hawaii-
CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Model Selection Anders Gorm Pedersen Molecular Evolution Group Center for Biological Sequence Analysis Technical.
Statistical Analysis of Systematic Errors and Small Signals Reinhard Schwienhorst University of Minnesota 10/26/99.
7. Bayesian phylogenetic analysis using MrBAYES UST Jeong Dageum Thomas Bayes( ) The Phylogenetic Handbook – Section III, Phylogenetic.
Bayes Factor Based on Han and Carlin (2001, JASA).
Phylogeny Estimation: Traditional and Bayesian Approaches Molecular Evolution, 2003
A quick intro to Bayesian thinking 104 Frequentist Approach 10/14 Probability of 1 head next: = X Probability of 2 heads next: = 0.51.
BINF6201/8201 Molecular phylogenetic methods
Statistical Decision Theory
Dr. Gary Blau, Sean HanMonday, Aug 13, 2007 Statistical Design of Experiments SECTION I Probability Theory Review.
Estimating parameters in a statistical model Likelihood and Maximum likelihood estimation Bayesian point estimates Maximum a posteriori point.
CSC321: 2011 Introduction to Neural Networks and Machine Learning Lecture 11: Bayesian learning continued Geoffrey Hinton.
Lab3: Bayesian phylogenetic Inference and MCMC Department of Bioinformatics & Biostatistics, SJTU.
G. Cowan Lectures on Statistical Data Analysis Lecture 1 page 1 Lectures on Statistical Data Analysis London Postgraduate Lectures on Particle Physics;
Maximum Likelihood - "Frequentist" inference x 1,x 2,....,x n ~ iid N( ,  2 ) Joint pdf for the whole random sample Maximum likelihood estimates.
Bayes estimators for phylogenetic reconstruction Ruriko Yoshida.
Molecular Systematics
Probability Course web page: vision.cis.udel.edu/cv March 19, 2003  Lecture 15.
1 Chapter 12 Probabilistic Reasoning and Bayesian Belief Networks.
Statistical Decision Theory Bayes’ theorem: For discrete events For probability density functions.
Bayesian Phylogenetics. Bayes Theorem Pr(Tree|Data) = Pr(Data|Tree) x Pr(Tree) Pr(Data)
Mathematical Foundations Elementary Probability Theory Essential Information Theory Updated 11/11/2005.
The famous “sprinkler” example (J. Pearl, Probabilistic Reasoning in Intelligent Systems, 1988)
Probabilistic models Jouni Tuomisto THL. Outline Deterministic models with probabilistic parameters Hierarchical Bayesian models Bayesian belief nets.
Markov Chain Monte Carlo for LDA C. Andrieu, N. D. Freitas, and A. Doucet, An Introduction to MCMC for Machine Learning, R. M. Neal, Probabilistic.
Reducing MCMC Computational Cost With a Two Layered Bayesian Approach
Bootstrap ? See herehere. Maximum Likelihood and Model Choice The maximum Likelihood Ratio Test (LRT) allows to compare two nested models given a dataset.Likelihood.
1 Chapter 8: Model Inference and Averaging Presented by Hui Fang.
Bayesian statistics named after the Reverend Mr Bayes based on the concept that you can estimate the statistical properties of a system after measuting.
- 1 - Outline Introduction to the Bayesian theory –Bayesian Probability –Bayes’ Rule –Bayesian Inference –Historical Note Coin trials example Bayes rule.
Statistical Methods. 2 Concepts and Notations Sample unit – the basic landscape unit at which we wish to establish the presence/absence of the species.
Statistical NLP: Lecture 4 Mathematical Foundations I: Probability Theory (Ch2)
Bayesian II Spring Major Issues in Phylogenetic BI Have we reached convergence? If so, do we have a large enough sample of the posterior?
HW7: Evolutionarily conserved segments ENCODE region 009 (beta-globin locus) Multiple alignment of human, dog, and mouse 2 states: neutral (fast-evolving),
SIR method continued. SIR: sample-importance resampling Find maximum likelihood (best likelihood × prior), Y Randomly sample pairs of r and N 1973 For.
CSC321: Lecture 8: The Bayesian way to fit models Geoffrey Hinton.
Canadian Bioinformatics Workshops
Generalization Performance of Exchange Monte Carlo Method for Normal Mixture Models Kenji Nagata, Sumio Watanabe Tokyo Institute of Technology.
Markov Chain Monte Carlo in R
Lecture 14 – Consensus Trees & Nodal Support
Bayesian inference Presented by Amir Hadadi
Markov Networks.
Multidimensional Integration Part I
Statistical NLP: Lecture 4
BNFO 602 Phylogenetics – maximum likelihood
BNFO 602 Phylogenetics Usman Roshan.
Reverend Thomas Bayes ( )
Lecture 14 – Consensus Trees & Nodal Support
CS639: Data Management for Data Science
Presentation transcript:

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Bayesian Inference Anders Gorm Pedersen Molecular Evolution Group Center for Biological Sequence Analysis Technical University of Denmark (DTU)

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Bayes Theorem Reverend Thomas Bayes ( ) P(D|M K ): Probability of data given model k = likelihood P(M K ): Prior probability of model P(D): Essentially a normalizing constant so posterior will sum to one P(M K |D): Posterior probability of model k

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Bayesians vs. Frequentists Meaning of probability:Meaning of probability: –Frequentist: long-run frequency of event in repeatable experiment –Bayesian: degree of belief, way of quantifying uncertainty Finding probabilistic models from empirical data:Finding probabilistic models from empirical data: –Frequentist: parameters are fixed constants whose true values we are trying to find good (point) estimates for. trying to find good (point) estimates for. –Bayesian: uncertainty concerning parameter values expressed by means of probability distribution over possible parameter values of probability distribution over possible parameter values

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Bayes theorem: example We have three cookie jars: #1 P(chocolate) = 0.25 #2 P(chocolate) = 0.50 #3 P(chocolate) = 0.75 Bill (blindfolded) picks random bowl and random cookie. He gets a plain (non-chocolate) cookie. What is the probability that he picked bowl #1

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Bayes theorem: example II Investigated hypotheses (models): M 1 : Bowl #1 was chosen M 2 : Bowl #2 was chosen M 3 : Bowl #3 was chosen Prior probabilities: P(M 1 ) = 0.33 P(M 2 ) = 0.33 P(M 3 ) = 0.33 Likelihoods: P(plain|M 1 ) = 0.75 P(chocolate|M 1 ) = 0.25 P(plain|M 2 ) = 0.50 P(chocolate|M 2 ) = 0.50 P(plain|M 3 ) = 0.25 P(chocolate|M 3 ) = 0.75

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Bayes theorem: example III P(M 1 | plain) = 0.5 P(M 2 | plain) = 0.33 P(M 3 | plain) = 0.17 Likelihoods: P(plain|M 1 ) = 0.75 P(chocolate|M 1 ) = 0.25 P(plain|M 2 ) = 0.50 P(chocolate|M 2 ) = 0.50 P(plain|M 3 ) = 0.25 P(chocolate|M 3 ) = 0.75 Prior probabilities: P(M 1 ) = 0.33 P(M 2 ) = 0.33 P(M 3 ) = 0.33

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS MCMC: Markov chain Monte Carlo Problem: for complicated models parameter space is enormous.  Not easy/possible to find posterior distribution analytically Solution: MCMC = Markov chain Monte Carlo Start in random position on probability landscape. Attempt step of random length in random direction. (a) If move ends higher up: accept move (b) If move ends below: accept move with probability P (accept) = P LOW /P HIGH Note parameter values for accepted moves in file. After many, many repetitions points will be sampled in proportion to the height of the probability landscape

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS MCMCMC: Metropolis-coupled Markov Chain Monte Carlo Problem: If there are multiple peaks in the probability landscape, then MCMC may get stuck on one of them Solution: Metropolis-coupled Markov Chain Monte Carlo = MCMCMC = MC 3 MC 3 essential features: Run several Markov chains simultaneouslyRun several Markov chains simultaneously One chain “cold”: this chain performs MCMC samplingOne chain “cold”: this chain performs MCMC sampling Rest of chains are “heated”: move faster across valleysRest of chains are “heated”: move faster across valleys Each turn the cold and warm chains may swap position (swap probability is proportional to ratio between heights)Each turn the cold and warm chains may swap position (swap probability is proportional to ratio between heights)  More peaks will be visited More chains means better chance of visiting all important peaks, but each additional chain increases run-time

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS MCMCMC for inference of phylogeny Result of run: Substitution parameters (a)Tree topologies

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Posterior probability distributions of substitution parameters

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Posterior Probability Distribution over Trees MAP (maximum a posteriori) estimate of phylogeny: tree topology occurring most often in MCMCMC outputMAP (maximum a posteriori) estimate of phylogeny: tree topology occurring most often in MCMCMC output Clade support: posterior probability of group = frequency of clade in sampled trees.Clade support: posterior probability of group = frequency of clade in sampled trees. 95% credible set of trees: order trees from highest to lowest posterior probability, then add trees with highest probability until the cumulative posterior probability is % credible set of trees: order trees from highest to lowest posterior probability, then add trees with highest probability until the cumulative posterior probability is 0.95