Presentation is loading. Please wait.

Presentation is loading. Please wait.

Markov Processes MBAP 6100 & EMEN 5600 Survey of Operations Research Professor Stephen Lawrence Leeds School of Business University of Colorado Boulder,

Similar presentations


Presentation on theme: "Markov Processes MBAP 6100 & EMEN 5600 Survey of Operations Research Professor Stephen Lawrence Leeds School of Business University of Colorado Boulder,"— Presentation transcript:

1 Markov Processes MBAP 6100 & EMEN 5600 Survey of Operations Research Professor Stephen Lawrence Leeds School of Business University of Colorado Boulder, CO 80309-0419

2 OR Course Outline Intro to OR Linear Programming Solving LP’s LP Sensitivity/Duality Transport Problems Network Analysis Integer Programming Nonlinear Programming Dynamic Programming Game Theory Queueing Theory Markov Processes Decisions Analysis Simulation

3 Whirlwind Tour of OR Markov Analysis Andrey A. Markov (born 1856). Early work in probability theory, proved central limit theorem

4 Agenda for This Week Markov Applications –More Markov examples –Markov decision processes Markov Processes –Stochastic processes –Markov chains –Future probabilities –Steady state probabilities –Markov chain concepts

5 Stochastic Processes Series of random variables {X t } Series indexed over time interval T Examples: X 1, X 2, …, X t, …, X T represent –monthly inventory levels –daily closing price for a stock or index –availability of a new technology –market demand for a product

6 Markov Chains Present state X t is independent of history –previous states or events have no current or future influence on the current state Process will move to other states with known transition probabilities Transition probabilities are stationary –probabilities do not change over time There exist a finite number of possible states

7 An Example of a Markov Chain A small community has two service stations: Petroco and Gasco. The marketing department of Petroco has found that customers switch between stations according to the following transition matrix: Note: Rows sum to 1.0 ! =1.0

8 Future State Probabilities Probability that a customer buying from Petroco this month will buy from Petroco next month: In two months: From Gasco in two months:

9 Graphical Interpretation Petroco Gasco Petroco Gasco 0.4 0.6 0.8 0.2 0.6 0.4 0.36 0.24 0.08 0.32 1.00 First PeriodSecond Period

10 Chapman-Kolmogorov Equations P (2) = P·P Let P be the transition matrix for a Markov process. Then the n-step transition probability matrices can be found from: P (3) = P·P·P

11 CK Equations for Example P (1) P (2)

12 Starting States In current month, if 70% of customers shop at Petroco and 30% at Gasco, what will be the mix in 2 months? P s = [ 0.70 0.30 ] s n = s 0 P (n) s 2 = [ 0.7 0.3 ] = [ 0.7 0.3 ] = [ 0.39 0.61 ]

13 CK Equations in Steady State P (1) P (2)  P (9)

14 Convergence to Steady-State Prob 1.0 1105 Period 0.33 If a customer is buys at Petroco this month, what is the long-run probability that the customer will buy at Petroco during any month in the future?

15 Calculation of Steady State Want outcome probabilities equal to incoming probabilities Let s = [s 1, s 2, …, s n ] be the vector of steady- state probabilities Then we want s = s P That is, the output state probabilities do not change from transition to transition (e.g., steady-state!)

16 Steady-State for Example P s = [ p g ] s = s P [ p g ] = [ p g ] p = 0.6p + 0.2g g = 0.4p + 0.8g p + g = 1 p = 0.333 g = 0.667

17 Markov Chain Concepts Steady-State Probabilities –long-run probability that a process starting in state i will be found in state j First-Passage Time –length of time (steps) in going from state i to j Recurrence Time –length of time (steps) to return to state i when starting in state i

18 Markov Chain Concepts (cont.) Accessible States –State j can be reached from i (p ij (n) > 0) Communicating States –State i and j are accessible from one another Irreducible Markov chains –All states communicate with one another

19 Markov Chain Concepts (cont.) Recurrent State –A state that will certainly return to itself (f ii = 1) Transient State –A state that may return to itself (f ii < 1) Absorbing State –A state the never moves to another state (p ii =1) –A “black hole”

20 Markov Examples Markov Decision Processes

21 Matrix Multiplication Matrix multiplication in Excel…

22 Machine Breakdown Example A critical machine in a manufacturing operation breaks down with some frequency. The hourly up-down transition matrix for the machine is shown below. What percentage of the time is the machine operating (up)? Up Down

23 Credit History Example The Rifle, CO Mercantile Department Store wants to analyze the payment behavior of customers who have outstanding accounts. The store’s credit department has determined the following bill payment pattern from historical records: Pay No PayPay No Pay

24 Credit History Continued Further analysis reveals the following credit transition matrix at the Rifle Mercantile: Pay12Bad Pay 1 2 Bad 0 0

25 University Graduation Example Fort Lewis College in Durango has determined that students progress through the college according to the following transition matrix: FSoJSrDG F So J Sr D G


Download ppt "Markov Processes MBAP 6100 & EMEN 5600 Survey of Operations Research Professor Stephen Lawrence Leeds School of Business University of Colorado Boulder,"

Similar presentations


Ads by Google