Using A Markov Chain To Predict Inventory Replacement
Here’s a simple **seven-item Markov chain** for a clothing store. Treat each display as a state; a shopper’s next state is the next display they visit. Dwell time is a separate measure attached to each state. Let the displays be **A–G**, with **X** meaning the shopper exits. For a toy example, suppose the transition probabilities are: | From \ To | A | B | C | D | E | F | G | X | |---|---:|---:|---:|---:|---:|---:|---:|---:| | A | .10 | .35 | .20 | .10 | .10 | .05 | .05 | .05 | | B | .20 | .10 | .25 | .15 | .10 | .05 | .05 | .10 | | C | .15 | .25 | .10 | .20 | .10 | .05 | .05 | .10 | | D | .10 | .15 | .20 | .10 | .25 | .05 | .05 | .10 | | E | .10 | .10 | .15 | .25 | .10 | .15 | .05 | .10 | | F | .10 | .10 | .10 | .15 | .20 | .15 | .10 | .10 | | G | .10 | .10 | .10 | .10 | .15 | .10 | .25 | .10 | | X | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | Each row sums to 1. For instance, after visiting display A, the shopper has a 35% chance of going next to B and a 5% chance of exiting. The ...