SS r SS r This model characterizes how S(t) is changing.

Slides:



Advertisements
Similar presentations
Exponential Distribution
Advertisements

Many useful applications, especially in queueing systems, inventory management, and reliability analysis. A connection between discrete time Markov chains.
Continuous-Time Markov Chains Nur Aini Masruroh. LOGO Introduction  A continuous-time Markov chain is a stochastic process having the Markovian property.

CPSC 531:Random-Variate Generation
N-gene Coalescent Problems Probability of the 1 st success after waiting t, given a time-constant, a ~ p, of success 5/20/2015Comp 790– Continuous-Time.
Simulation. Example: A Bank Simulator We are given: –The number of tellers –The arrival time of each customer –The amount of time each customer requires.
COMPUTER MODELS IN BIOLOGY Bernie Roitberg and Greg Baker.
Probability Distributions
#11 QUEUEING THEORY Systems Fall 2000 Instructor: Peter M. Hahn
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.
Discrete Event Simulation How to generate RV according to a specified distribution? geometric Poisson etc. Example of a DEVS: repair problem.
Probability Distributions
458 Lumped population dynamics models Fish 458; Lecture 2.
Agenda Purpose Prerequisite Inverse-transform technique
Probability theory 2011 Outline of lecture 7 The Poisson process  Definitions  Restarted Poisson processes  Conditioning in Poisson processes  Thinning.
Week 51 Theorem For g: R  R If X is a discrete random variable then If X is a continuous random variable Proof: We proof it for the discrete case. Let.
Chapter 4. Continuous Probability Distributions
Computer Simulation A Laboratory to Evaluate “What-if” Questions.
Exponential Distribution & Poisson Process
1 Exponential Distribution & Poisson Process Memorylessness & other exponential distribution properties; Poisson process and compound P.P.’s.
1 Performance Evaluation of Computer Systems By Behzad Akbari Tarbiat Modares University Spring 2009 Introduction to Probabilities: Discrete Random Variables.
Week71 Discrete Random Variables A random variable (r.v.) assigns a numerical value to the outcomes in the sample space of a random phenomenon. A discrete.
Extensions to Basic Coalescent Chapter 4, Part 1.
The Poisson Process. A stochastic process { N ( t ), t ≥ 0} is said to be a counting process if N ( t ) represents the total number of “events” that occur.
Statistics 303 Chapter 4 and 1.3 Probability. The probability of an outcome is the proportion of times the outcome would occur if we repeated the procedure.
Week 41 Continuous Probability Spaces Ω is not countable. Outcomes can be any real number or part of an interval of R, e.g. heights, weights and lifetimes.
1 If we can reduce our desire, then all worries that bother us will disappear.
Continuous Probability Distributions  Continuous Random Variable  A random variable whose space (set of possible values) is an entire interval of numbers.
Moment Generating Functions
Monte Carlo Simulation CWR 6536 Stochastic Subsurface Hydrology.
Informing disease control strategies using stochastic models S.
Workshop on Stochastic Differential Equations and Statistical Inference for Markov Processes Day 3: Numerical Methods for Stochastic Differential.
CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Michael Baron. Probability and Statistics for Computer Scientists,
1 Birth and death process N(t) Depends on how fast arrivals or departures occur Objective N(t) = # of customers at time t. λ arrivals (births) departures.
Modeling frameworks Today, compare:Deterministic Compartmental Models (DCM) Stochastic Pairwise Models (SPM) for (I, SI, SIR, SIS) Rest of the week: Focus.
Chapter 61 Continuous Time Markov Chains Birth and Death Processes,Transition Probability Function, Kolmogorov Equations, Limiting Probabilities, Uniformization.
ETM 607 – Random-Variate Generation
1 Lecture 9: The Poisson Random Variable and its PMF Devore, Ch. 3.6.
Differential Equations: Growth & Decay (6.2) March 16th, 2012.
Random Variable The outcome of an experiment need not be a number, for example, the outcome when a coin is tossed can be 'heads' or 'tails'. However, we.
NATURAL LOGARITHMS. The Constant: e e is a constant very similar to π. Π = … e = … Because it is a fixed number we can find e 2.
CDA6530: Performance Models of Computers and Networks Chapter 3: Review of Practical Stochastic Processes.
4.3 More Discrete Probability Distributions NOTES Coach Bridges.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
CDA6530: Performance Models of Computers and Networks Chapter 8: Statistical Simulation ---- Discrete Event Simulation (DES) TexPoint fonts used in EMF.
 Recall your experience when you take an elevator.  Think about usually how long it takes for the elevator to arrive.  Most likely, the experience.
STA347 - week 91 Random Vectors and Matrices A random vector is a vector whose elements are random variables. The collective behavior of a p x 1 random.
Central Limit Theorem Let X 1, X 2, …, X n be n independent, identically distributed random variables with mean  and standard deviation . For large n:
Problem of the Day - Calculator Let f be the function given by f(x) = 2e4x. For what value of x is the slope of the line tangent to the graph of f at (x,
Topic 19: Survival Analysis T = Time until an event occurs. Events are, e.g., death, disease recurrence or relapse, infection, pregnancy.
Random Variables By: 1.
CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics B: Michael Baron. Probability and Statistics for Computer Scientists,
10.Deterministic Randomness 1.Random Sequences Random Sequences A sequence of numbers r 1, r 2,... is random if there are no discernible patterns.
The Pure Birth Process Derivation of the Poisson Probability Distribution Assumptions events occur completely at random the probability of an event occurring.
Week 61 Poisson Processes Model for times of occurrences (“arrivals”) of rare phenomena where λ – average number of arrivals per time period. X – number.
Review of Probability Theory
Chapter 4 Continuous Random Variables and Probability Distributions
Exponential Distribution & Poisson Process
Simulation Statistics
Probability.
Pertemuan ke-7 s/d ke-10 (minggu ke-4 dan ke-5)
Chapter 7: Sampling Distributions
The Bernoulli distribution
CHAPTER 18 SURVIVAL ANALYSIS Damodar Gujarati
AP Statistics: Chapter 7
Multinomial Distribution
CS723 - Probability and Stochastic Processes
Statistics Lecture 12.
Uniform Probability Distribution
Presentation transcript:

SS r

SS r This model characterizes how S(t) is changing

SS r How many people are susceptible at time = t? What is S(t) = ? There are a number of approaches…

 Discrete / Numerical  Analytical  Simulation of stochastic events  Bonus: scheduling events via a stochastic algorithm

S We know that: r Approach #1

SS r

SS r

SS r Discrete (aka “Numerical”) Approach #1

SS r Differential equation This one is not that difficult to solve Approach #2

SS r Solving for S(t) yields: Analytic Approach #2

S S I1I1 In each time step, each individual “leaves” S with probability = r A population of 10 susceptible Individuals at T 0 I 10 I2I2 I3I3 I9I9 I4I4 I8I8 I5I5 I7I7 I6I6 Approach #3

In each time step, each individual “leaves” S with probability = r - Generate a random number, U, between 0 and 1 for each individual -If U > r, individual stays in S -If U < r, individual leaves S -Suppose r = 0.05 U ~ Uniform on the interval [0, 1] S S I1I1 I 10 I2I2 I3I3 I9I9 I4I4 I8I8 I5I5 I7I7 I6I6 Approach #3

In each time step, each individual “leaves” S with probability = r Individual i UiUi S S I1I1 I 10 I2I2 I3I3 I9I9 I4I4 I8I8 I5I5 I7I7 I6I6 Approach #3

In each time step, each individual “leaves” S with probability = r S S I1I1 I 10 I2I2 I3I3 I9I9 I4I4 I8I8 I5I5 I7I7 I6I6 S S I1I1 I2I2 I3I3 I9I9 I4I4 I8I8 I5I5 I6I6 Approach #3

Using indicator variables to denote if an individual is still in “S” S S S S Approach #3

Repeat for the desired number of time steps to determine S(t) S S S S ? ? ? ? ? ? ? ? 0 ? Approach #3 Stochastic

 If events are happening at a constant rate,, we can model the time to the next event using an exponential distribution  Recall that the mean of an exponential distribution is 1/  The c.d.f. is:  F = P(T < t) = 1 – e – t  Solving for t gives:  t = -ln(1 – P) /  F -1 Lets see a visual….

 We can see, for example, that the probability that we’ll wait more than one unit of time is about 0.2. The probability that we’ll have to wait less than one unit is about 0.8. P(T < t) = 1 – e – t

 We can generate a exponentially distributed r. v.’s using the following algorithm:  Generate a uniform r.v. (U) using a random number generator (e.g. in R)  Plug in U in for P in F -1 (U) = -ln(1 – U) /  The result is a exponentially distributed waiting time  Repeat

F -1 = -ln(1 – P) / Mean = 1/2

 More than one type of event can occur in most models (e.g. birth, death, infection, recovery)  We can add up the rates of each of these to find out the overall rate that events occur  Use our algorithm to determine the time to the next event (stochastically!)  Randomly select which event occurred (proportional to it’s rate)