… a tricky task !? Tanja Gernhard, Klaas Hartmann

Slides:



Advertisements
Similar presentations
Exponential Distribution. = mean interval between consequent events = rate = mean number of counts in the unit interval > 0 X = distance between events.
Advertisements

Generating Random Numbers
How to analyze your organism’s chance of survival?
Population Ecology. Population Demographics Demographics are the various characteristics of a population including, Population Size, Age Structure, Density,
Simulation Where real stuff starts. ToC 1.What, transience, stationarity 2.How, discrete event, recurrence 3.Accuracy of output 4.Monte Carlo 5.Random.
Test 2 Stock Option Pricing
Performance Analysis and Monitoring Facilities in CPN Tools Tutorial CPN’05 October 25, 2005 Lisa Wells.
Today Today: Chapter 5 Reading: –Chapter 5 (not 5.12) –Suggested problems: 5.1, 5.2, 5.3, 5.15, 5.25, 5.33, 5.38, 5.47, 5.53, 5.62.
Simulation.
Class notes for ISE 201 San Jose State University
Correctness of Gossip-Based Membership under Message Loss Maxim Gurevich, Idit Keidar Technion.
1 Exponential Distribution & Poisson Process Memorylessness & other exponential distribution properties; Poisson process and compound P.P.’s.
1 CE 530 Molecular Simulation Lecture 7 David A. Kofke Department of Chemical Engineering SUNY Buffalo
Extensions to Basic Coalescent Chapter 4, Part 1.
Verification & Validation
JMB Chapter 6 Lecture 3 EGR 252 Spring 2011 Slide 1 Continuous Probability Distributions Many continuous probability distributions, including: Uniform.
Exponential and Chi-Square Random Variables
A statistic summarizing: Relative timing in trees Tanja Gernhard joint work with Erick Matsen, Daniel Ford.
ENGR 610 Applied Statistics Fall Week 3 Marshall University CITE Jack Smith.
Molecular phylogenetics 4 Level 3 Molecular Evolution and Bioinformatics Jim Provan Page and Holmes: Sections
For a new configuration of the same volume V and number of molecules N, displace a randomly selected atom to a point chosen with uniform probability inside.
Biodiversity conservation using Phylogenetics on a global scale Klaas Hartmann TAFI, University of Tasmania.
Patterns of divergent selection from combined DNA barcode and phenotypic data Tim Barraclough, Imperial College London.
4 CHARACTERISTICS OF A POPULATION 1.Geographic Distribution/ Range- How much area does the population cover? 2.Density- How many members of the population.
Computer Simulation. The Essence of Computer Simulation A stochastic system is a system that evolves over time according to one or more probability distributions.
POPULATION. What is a population? All the members of the same species that live in the same area. 3 Characteristics of any population: 1. Population Density.
4.3 More Discrete Probability Distributions NOTES Coach Bridges.
The 2-state symmetric Markov model 1. Another way to think about it as a ‘random cluster’ model Cut each edge e independently with probability 2p e This.
2005 Unbinned Point Source Analysis Update Jim Braun IceCube Fall 2006 Collaboration Meeting.
SS r SS r This model characterizes how S(t) is changing.
A Little Intro to Statistics What’s the chance of rolling a 6 on a dice? 1/6 What’s the chance of rolling a 3 on a dice? 1/6 Rolling 11 times and not getting.
Comparative methods wrap-up and “key innovations”.
Kevin Stevenson AST 4762/5765. What is MCMC?  Random sampling algorithm  Estimates model parameters and their uncertainty  Only samples regions of.
Molecular Evolution and Population Genetics A few notes on population genetics of interest in phylogenetics Thomas Mailund.
 I can describe the key characteristics of populations.  I can describe the different types of population growth.  I can differentiate between Density.
Computer Simulation Henry C. Co Technology and Operations Management,
Renewal Theory Definitions, Limit Theorems, Renewal Reward Processes, Alternating Renewal Processes, Age and Excess Life Distributions, Inspection Paradox.
OPERATING SYSTEMS CS 3502 Fall 2017
PrIME Probabilistic Integrated Models of Evolution
The Poisson Probability Distribution
Probability Distributions: a review
Engineering Probability and Statistics - SE-205 -Chap 4
The Exponential and Gamma Distributions
Prepared by Lloyd R. Jaisingh
Exponential Distribution & Poisson Process
Distance based phylogenetics
Chapter 1 Data Collection.
Modeling and Simulation CS 313
Introduction to Discrete Mathematics
Pertemuan ke-7 s/d ke-10 (minggu ke-4 dan ke-5)
Multi-dimensional likelihood
Chapter 4 Continuous Random Variables and Probability Distributions
Population Ecology Chapter 53.
Multinomial Distribution
Chapter 4 – Part 3.
How Populations Grow Ch 5.1.
Randomized Algorithms CS648
Lecture 2 – Monte Carlo method in finance
K-wise vs almost K-wise permutations, and general group actions
Four-Cut: An Approximate Sampling Procedure for Election Audits
The coalescent with recombination (Chapter 5, Part 1)
POPULATIONS
The Naïve Bayes (NB) Classifier
Populations.
Analytics – Statistical Approaches
POPULATIONS
Sampling Distributions (§ )
Where real stuff starts
Simulation Supplement B.
Uniform Probability Distribution
Presentation transcript:

… a tricky task !? Tanja Gernhard, Klaas Hartmann Simulating trees… … a tricky task !? Tanja Gernhard, Klaas Hartmann              

Even simple models hard to analyze analytically! Why simulations? How do typical trees look like under a specific model of speciation? expected Colless value? expected gamma value, LTT plot? p-values for statistical testing? Even simple models hard to analyze analytically!

Aspects of simulations Tree distribution ill-defined (expected age of the tree is infinite) Condition on age of tree (simulations straightforward) Condition on number of species in the tree (assuming a uniform prior for the age of the tree)

Standard method Simulate until n species are obtained. Stop at following speciation or extinction event. Example for n=5 species: Later periods with n species disregarded! Pendant edges are too long! Each simulation makes same contribution!

General evolutionary model Simulate a tree, t, until n* species or extinction is reached Find the expected number of trees to sample from t: For each sample required: Randomly choose an interval, i, according to the weights Choose the pendant edge length uniformly at random from (0, ) Repeat from step 1 until the required number of samples has been obtained © = P k i 1 Á Á i Á i

Special models Yule model: Pure birth process. Individuals evolve independently. Speciation occurs at a constant rate. Constant rate birth-death model: Add constant death rate to the Yule model. Coalescent: Time between successive coalescent events is exponentially distributed

Memoryless pure birth models Time between sn and sn+1 does not depend on the current tree (e.g. Yule model, Coalescent). Correct simple approach: Simulate until Determine s n : ¸ :

Determining . ¸ h ( ¸ ) / Z 1 j ¾ n g d = Z 1 ¸ g ( ¾ n ) d

Yule model / Coalescent h ( ¸ ) / Z 1 g ¾ n d = f e ¡ Simulating until the (n+1)-th speciation event yields the desired results!

Birth-death model f ( s j t = ; n ) ¸ ¡ ¹ e 1 q ( t j n ) = ¸ ¡ ¹ 1 e reconstructed tree tor point process s3 s1 s2 s4 1 2 3 4 5 f ( s i j t o r = ; n ) ¸ ¡ ¹ 2 e 1 q o r ( t j n ) = ¸ ¡ ¹ 2 1 e +

Available Program Tool TreeSample implemented in Pearl by Klaas Hartmann. Available as a stand-alone application or as a Pearl script. Demonstration:

Dankeschön Dennis Wong Mike Steel Erick Matsen Klaas Hartmann