Prescriptive Analytics & Decision Trees

Chapter 10
Sequential Decisions and Dynamic Policies

Graduate Program in Business Analytics
Prescriptive Analytics & Decision Trees   •   Graduate

Sequential Decisions and Dynamic Policies

Introduction

Many managerial decisions unfold over time. A retailer chooses an order quantity today and observes demand before ordering again; a manufacturer expands capacity before learning whether a market will grow; an airline schedules maintenance while equipment reliability changes; and a subscription business decides whether to retain, upgrade, or deactivate customers as their behavior evolves. These are not isolated optimization problems. Current actions influence future states, future opportunities, and future costs.

Sequential decision analysis provides a formal language for such problems. Its central principle is that a good policy specifies what to do in each relevant state, rather than prescribing one action for all circumstances. This chapter develops multistage decision trees, dynamic programming, Markov chains, and Markov decision processes (MDPs), with applications to inventory, capacity, maintenance, and customer management.

Learning Objectives

After completing this chapter, you should be able to:

  1. Formulate multistage decisions using states, actions, transitions, rewards, and information sets.
  2. Apply backward induction and the Bellman equation.
  3. Distinguish Markov chains from Markov decision processes.
  4. Analyze finite and infinite time horizons, discounting, and terminal values.
  5. Evaluate adaptive policies for inventory, capacity, maintenance, and customer management.
  6. Assess model assumptions, data requirements, governance risks, and implementation limitations.

1. The Structure of a Sequential Decision Problem

A sequential problem contains five essential elements:

  • State: information relevant to future decisions, such as inventory level, machine condition, or customer segment.
  • Action: a controllable choice made by the decision-maker.
  • Transition: the probabilistic movement from the current state to a future state.
  • Reward or cost: the immediate financial, operational, or strategic consequence of an action and resulting event.
  • Policy: a rule mapping observed states to actions.

Let time be indexed by t = 0,1,...,T. Let St denote the state, At the action, and Rt+1 the reward received after the transition. A policy π specifies an action distribution or action rule:

At = πt(St)

For a deterministic policy, one action is selected in each state. For a randomized policy, πt(a|s) is the probability of selecting action a in state s at time t.

The Markov property states that, conditional on the current state and action, the future does not depend on the full past:

P(St+1=s' | St=s, At=a, St-1,At-1,...) = P(St+1=s' | St=s,At=a)

This does not mean that history is irrelevant in reality. It means that the state has been designed to contain all historically relevant information. If customer tenure, for example, affects churn but is omitted from the state, the model is not genuinely Markovian.

Decision nodes and chance nodes

A multistage decision tree represents decisions and uncertain events in chronological order. Decision nodes show controllable choices; chance nodes show uncertain outcomes; terminal nodes show final payoffs. Trees are particularly transparent when the horizon is short and the number of states is small. Their weakness is rapid growth: if each of several stages has many possible outcomes, the number of branches becomes difficult to manage.

A policy is more useful than a single path. A path describes what happened under one sequence of events; a policy describes what the organization will do after every relevant event, including events that may not occur in the observed sample.

2. Expected Value and Backward Induction

For a one-stage decision with action a and uncertain outcome ω, expected value is:

EV(a) = ∑_ω P(ω | a)V(a,ω)

Here, P(ω|a) is the probability of outcome ω given action a, and V(a,ω) is the payoff. The formula assumes mutually exclusive and collectively exhaustive outcomes and a risk-neutral decision-maker. Risk-averse decisions require a utility function rather than raw monetary value.

In a multistage tree, backward induction evaluates the final decisions first and then moves toward the present. At a chance node, calculate the probability-weighted continuation value. At a decision node, select the action with the highest value for a maximization problem or lowest value for a cost-minimization problem.

Suppose a firm can launch a product immediately or conduct a market test. A test costs $20,000. If the test is favorable, the firm launches and earns $150,000 with probability 0.70; if unfavorable, it abandons the product. Assume the test result is favorable with probability 0.60. The test strategy has expected value:

-20,000 + 0.60 × (0.70 × 150,000) = 43,000

If immediate launch produces a 0.50 probability of success and a success payoff of $150,000, with zero payoff otherwise, its expected value is 0.50 × 150,000 = 75,000. Immediate launch is preferred under risk neutrality. However, the comparison changes if the test provides better information, reduces downside risk, or changes the success probability. Expected value alone does not capture risk, strategic learning, or organizational constraints.

3. Dynamic Programming and the Bellman Principle

Dynamic programming decomposes a large sequential problem into smaller subproblems. The principle of optimality states that, after any state is reached, the remaining decisions must form an optimal policy for the problem beginning in that state, given the model and information available from that point onward.

Let Vt(s) be the optimal value from state s at time t. For a finite-horizon maximization problem:

Vt(s) = maxa ∈ A(s) { rt(s,a) + γ ∑s' Pt(s'|s,a)Vt+1(s') }

The terminal condition is:

VT(s) = gT(s)

where rt(s,a) is the expected immediate reward, Pt(s'|s,a) is the transition probability, γ is the discount factor, and gT(s) is terminal value. The action set A(s) may depend on the state. If all rewards occur in the same monetary period and no discounting is desired, set γ = 1. If rewards occur at different times, 0 < γ < 1 converts future value into present-value terms.

The Bellman equation is not merely a computational shortcut. It expresses the economic trade-off between immediate reward and the value of future flexibility. An action with a lower current payoff may be optimal if it moves the system into states with better future opportunities.

Worked example: finite-horizon inventory

A retailer begins a period with one unit of inventory. At the start of each of two periods, it may order zero or one unit at a cost of $4 per unit. Demand is one unit with probability 0.6 and zero with probability 0.4. A sale earns $10, and unmet demand has no penalty. Unsold inventory at the end of period 2 has salvage value $2. Assume no discounting and that demand is observed after each period.

Let the state be beginning inventory, s ∈ {0,1,2}, and let the action be the order quantity. The period reward equals sales revenue minus ordering cost. At the end of the final period, leftover units receive salvage value.

At the final period, if inventory is one and no additional order is made, expected sales revenue is 0.6 × 10 = 6. If the unit remains unsold, it earns salvage value 0.4 × 2 = 0.8, so expected value is $6.80. Ordering an additional unit costs $4. With two units available, demand still cannot exceed one, yielding $6 sales revenue and expected salvage of one unit, or $2; net value after the new order is 6 + 2 - 4 = 4, so ordering is inferior in this state. The calculation illustrates state dependence: ordering may be attractive when inventory is zero but unattractive when inventory is already one.

For the first period, the retailer compares actions using the expected value of the second-period state. The optimal first-period action is therefore not determined only by current demand; it depends on the value of carrying inventory into the next period. In practice, dynamic programming software evaluates every feasible state-action pair and stores both the value and the action that achieves it.

4. Time Horizons, Discounting, and Uncertainty

Finite and infinite horizons

A finite horizon has a known final period, such as a seasonal inventory cycle or a three-year capacity plan. Terminal value must be specified: salvage value, residual customer value, resale value, or a continuation value. Poor terminal assumptions can dominate the computed policy.

An infinite-horizon model represents an ongoing operation. Under a stationary model, the discounted Bellman equation is:

V(s) = maxa ∈ A(s) { r(s,a) + γ ∑s'P(s'|s,a)V(s') }

For bounded rewards and 0 ≤ γ < 1, discounting generally supports a finite value and helps establish convergence of value-iteration methods. The choice of γ is not purely technical. A discount factor of 0.95 means that a reward one period ahead is valued at 95% of an equivalent immediate reward, assuming the period is defined consistently.

Discounting and risk

Discounting reflects time preference, opportunity cost, or a required return; it does not automatically represent uncertainty. Risk may be modeled through transition probabilities, utility functions, scenario analysis, or risk constraints. A common present-value expression for known cash flows is:

PV = ∑t=0T Ct/(1+r)t

where Ct is the cash flow at time t and r is the per-period discount rate. Units must match: a monthly cash flow requires a monthly rate, not an annual rate unless the annual rate has been converted appropriately.

5. Markov Chains

A Markov chain describes state evolution when there is no controllable action. For a finite state space, its transition matrix P has entries:

Pij = P(St+1=j | St=i)

Each entry is nonnegative and each row sums to one. If pt is a row vector of state probabilities, then:

pt+1 = ptP

and, for a time-homogeneous chain:

pt = p0Pt

A stationary distribution π satisfies:

π = πP, ∑i πi = 1, πi ≥ 0

It describes long-run state proportions when the chain has suitable properties, commonly irreducibility and positive recurrence; finite irreducible chains possess a unique stationary distribution, while periodicity can affect convergence from a particular starting state.

Example: customers may be classified as New, Active, or At-Risk. A Markov chain can forecast segment membership if transition probabilities are estimated from historical data. It cannot choose retention actions. Once an action affects transition probabilities, the appropriate model becomes an MDP.

6. Markov Decision Processes

An MDP extends a Markov chain by allowing actions. A stationary policy π(a|s) induces a transition matrix:

P^πss' = ∑a π(a|s)P(s'|s,a)

For a deterministic policy, the sum selects the transition matrix associated with the chosen action. The expected discounted value under policy π is:

V^π(s) = E_π[∑t=0∞ γt Rt+1 | S0=s]

The optimal policy maximizes this value. Two standard solution methods are:

  • Value iteration: repeatedly apply the Bellman optimality operator until values stabilize.
  • Policy iteration: evaluate a candidate policy, then improve it state by state until no improvement is possible.

For finite state and action spaces with discounted rewards, deterministic stationary optimal policies exist under standard assumptions. Real systems may violate these assumptions through partial observability, changing environments, continuous actions, delayed effects, or nonstationary preferences.

Partial observability

If the true state cannot be observed directly, the decision-maker uses a belief state: a probability distribution over possible states. For example, a machine's true health may be hidden, while vibration readings provide imperfect evidence. Belief-state models are theoretically powerful but computationally demanding. Practical systems often use filtering, state estimation, or carefully designed health scores.

7. Applications Across Business Analytics

Inventory control

State variables may include on-hand inventory, inventory position, pipeline orders, supplier lead-time status, and demand forecasts. Actions include order quantity, reorder point, or expedited shipment. Rewards incorporate sales margin, holding cost, shortage cost, ordering cost, and disposal cost.

A simplified inventory transition is:

It+1 = max(0, It + Qt - Dt)

where It is beginning inventory, Qt is an order arriving immediately, and Dt is demand. This formula is appropriate only when lost sales are assumed and arrivals are immediate. With backorders, lead times, or perishability, the state equation must be expanded.

Capacity investment

A capacity MDP may use states such as installed capacity, demand regime, cash position, and utilization. Actions include build, lease, idle, or retire. Capacity decisions have delayed benefits and irreversible costs, so the value of flexibility and real-option effects are important. A policy may expand only when demand is high and the probability of persistence exceeds a threshold.

Maintenance and replacement

Machine condition can be represented by states such as Good, Degraded, and Failed. Actions may be Continue, Preventive Maintenance, or Replace. Preventive maintenance costs money now but reduces the probability of failure and costly downtime. The transition matrix is action-dependent:

P(s'|s,Maintenance) ≠ P(s'|s,Continue)

Maintenance data must distinguish observed failure from censoring, planned intervention, operating intensity, and common-cause shocks. Otherwise, estimated transition probabilities may be biased.

Customer management

Customer states may include New, Engaged, At-Risk, and Churned. Actions include personalized offers, service recovery, education, or no intervention. The objective should be incremental customer lifetime value, not simply predicted churn probability. A model that targets customers who are already likely to stay can waste incentives. Causal experimentation is needed to estimate how an action changes retention and profit.

8. Illustrative Case: Adaptive Maintenance for a Regional Data Center

This is a fictional illustrative case.

Background and problem

A regional data center operates cooling units whose condition affects energy consumption and outage risk. Management must choose whether to continue operating, perform preventive maintenance, or replace a unit. Inspections provide an imperfect condition signal, and maintenance capacity is limited.

The analytics team defines three observable states: Good, Degraded, and Critical. The action set is Continue or Service. Service costs $8,000; failure during a month costs an expected $60,000 in lost availability and emergency repair. Continuing operation yields an operating contribution of $12,000 per month, while servicing reduces that month's contribution by $8,000 but improves future reliability.

Analysis

Historical records estimate transition probabilities separately by action. For example, from Degraded condition, continuing may lead to Good with probability 0.10, remain Degraded with probability 0.55, and become Critical with probability 0.35. Servicing may lead to Good with probability 0.80, remain Degraded with probability 0.15, and become Critical with probability 0.05. These are illustrative probabilities, not universal engineering values.

The team specifies a six-month horizon, a monthly discount factor of 0.99, and a terminal value based on the estimated residual operating contribution. It then applies backward induction. In the final month, service is attractive in Critical condition because avoiding expected failure cost dominates the immediate service cost. In Good condition, continuing is preferred. In Degraded condition, the answer depends on the probability of deterioration, service capacity, and the terminal value.

Policy and outcome

The resulting policy is state contingent: Continue in Good, Service in Critical, and Service in Degraded when the remaining horizon is at least three months; near the horizon, continue in Degraded if terminal value is low and failure risk remains acceptable. A simulation using out-of-sample months estimates a 22% reduction in expected outage cost and a 7% increase in maintenance spending, producing a positive net benefit.

Learning points

  1. The same action is not optimal in every condition.
  2. The time horizon changes the value of preventive action.
  3. Transition probabilities must be action-specific.
  4. Out-of-sample simulation is essential; in-sample policy value is often optimistic.
  5. A service policy must include operational capacity constraints, not merely an unconstrained mathematical recommendation.

9. Implementation Workflow

A reliable sequential analytics project usually follows these steps:

  1. Define the decision purpose. Specify the objective, decision owner, horizon, and constraints.
  2. Design the state. Include variables that affect transitions, rewards, feasibility, and future information.
  3. Specify actions and timing. Clarify when decisions occur and whether outcomes are observed before the next action.
  4. Estimate transitions. Use historical data, survival models, simulation, expert judgment, or experiments. Record uncertainty.
  5. Define rewards and costs. Include direct, delayed, external, and opportunity costs. Avoid double counting.
  6. Solve the model. Use backward induction, value iteration, policy iteration, simulation optimization, or approximate dynamic programming.
  7. Validate. Test calibration, sensitivity to probabilities and discount rates, policy stability, and performance against benchmarks.
  8. Deploy with monitoring. Track state distributions, action frequencies, realized outcomes, drift, constraint violations, and fairness metrics.

Approximate dynamic programming becomes useful when the state space is too large for exact enumeration. Value-function approximation, policy approximation, rollout methods, and reinforcement learning can reduce computational burden. However, predictive accuracy does not guarantee policy quality: an action-value model must be evaluated by counterfactual or prospective performance.

10. Limitations, Ethics, and Governance

Sequential models are sensitive to misspecified states, biased historical actions, unobserved confounding, and structural changes. A transition probability estimated during a stable market may be invalid during a disruption. Policies can also create feedback loops: reducing service to a customer segment may increase churn, thereby making the segment appear less valuable in future data.

Important governance controls include:

  • documented state definitions, data lineage, and model versions;
  • explicit approval of reward functions and discount rates;
  • separation of prediction, causal estimation, and optimization;
  • stress testing under adverse scenarios;
  • human override for safety-critical or high-impact decisions;
  • fairness assessment where customer actions affect access, price, or service;
  • privacy protection and purpose limitation for behavioral data;
  • audit logs showing the state, action, model version, and reason for each recommendation.

An optimization can be mathematically correct and still be organizationally wrong if it rewards short-term revenue at the expense of safety, employee welfare, customer rights, or regulatory obligations. Multi-objective models may represent profit, reliability, emissions, and fairness explicitly, but weights should be transparent and governed rather than hidden in arbitrary parameters.

Contemporary Developments

Modern applications combine MDPs with machine learning, digital twins, streaming data, and causal inference. Digital twins can simulate capacity or maintenance policies before deployment. Contextual bandits address repeated choices where the main objective is immediate or near-term reward, whereas full MDPs are needed when actions alter future states. Reinforcement learning estimates policies through interaction, but offline deployment requires careful handling of distribution shift and unsafe exploration.

The most robust practice is often hybrid: domain knowledge defines feasible states and actions; statistical models estimate transitions; causal experiments estimate intervention effects; dynamic programming evaluates long-term consequences; and simulation tests operational resilience.

Chapter Summary

Sequential decision analysis models choices whose consequences unfold through time. A state summarizes decision-relevant information, an action changes the system, a transition describes uncertainty, and a reward measures immediate consequences. Multistage decision trees provide transparent finite-horizon analysis, while dynamic programming uses backward induction and the Bellman equation to identify optimal continuation decisions.

Markov chains describe uncontrolled state evolution; MDPs add action-dependent transitions and adaptive policies. Time horizon, terminal value, discounting, and risk assumptions materially affect recommendations. Inventory, capacity, maintenance, and customer management all benefit from state-contingent policies, but successful implementation requires sound state design, causal reasoning, validation, monitoring, and governance. Computational advances expand the scale of these methods, yet human judgment remains essential for objectives, constraints, ethics, and exceptional events.

Key Terms

State: Information that summarizes factors relevant to future decisions.

Action: A controllable choice available to the decision-maker.

Policy: A rule mapping states and time to actions.

Transition probability: The probability of moving from one state to another after an action.

Markov property: The condition that the current state and action determine the distribution of the next state.

Decision tree: A chronological representation of decisions, uncertain events, and outcomes.

Backward induction: Solving a finite sequential problem from its final stage backward.

Dynamic programming: A method that decomposes a sequential optimization problem into state-based subproblems.

Bellman equation: A recursive equation expressing immediate reward plus discounted future value.

Value function: The expected objective value from a state under a specified policy or optimal policy.

Discount factor: A number representing the relative value of future rewards.

Terminal value: The value assigned to conditions at the end of a finite horizon.

Markov chain: A stochastic state-transition model without controllable actions.

Markov decision process: A Markov state-transition model with actions and rewards.

Stationary distribution: A probability distribution unchanged by a transition matrix.

Finite horizon: A problem with a specified final decision period.

Infinite horizon: A continuing problem with no fixed final period.

Value iteration: Repeated Bellman updates used to approximate the optimal value function.

Partial observability: A condition in which the true decision state cannot be directly observed.

Approximate dynamic programming: Scalable methods that approximate values or policies in large state spaces.

Review Questions

Short Answer Questions

  1. What are the five core elements of a sequential decision problem?
  2. State the Markov property in words.
  3. Why is a policy more informative than a single realized path?
  4. Distinguish a Markov chain from an MDP.
  5. What is the role of terminal value in a finite-horizon model?

Long Answer Questions

  1. Explain backward induction and derive the finite-horizon Bellman recursion.
  2. Compare finite-horizon and infinite-horizon models, including the role of discounting.
  3. Explain how state design affects the validity of an MDP.
  4. Discuss how dynamic programming can support inventory and maintenance decisions.
  5. Evaluate the principal ethical and governance risks in customer-management MDPs.

Analytical / Application Questions

  1. A retailer can order inventory today or wait for next week's demand signal. Design a state, action set, transition model, reward function, and terminal value for a two-period MDP.
  2. A machine has Good, Degraded, and Critical states. Explain how the optimal maintenance policy would change if the failure cost doubled and the horizon shortened to one period.
  3. A customer-retention model recommends discounts to At-Risk customers. Design an evaluation plan that distinguishes predictive accuracy from incremental causal profit and identifies possible fairness risks.

Multiple Choice Questions with Answers

Question 1

Which statement best defines a policy in a sequential decision problem?

A. A realized sequence of random outcomes

B. A rule mapping states to actions

C. A probability distribution over terminal payoffs only

D. A list of historical observations

Correct Answer: B. A rule mapping states to actions

Question 2

In the Bellman equation, the term involving future value represents:

A. Only the immediate operating cost

B. The value of future states weighted by transition probabilities and discounting

C. The terminal value regardless of time

D. The probability of the current action

Correct Answer: B. The value of future states weighted by transition probabilities and discounting

Question 3

A Markov chain differs from an MDP because a Markov chain:

A. Cannot contain uncertainty

B. Has no state variables

C. Does not include controllable actions

D. Must have an infinite horizon

Correct Answer: C. Does not include controllable actions

Question 4

If a row of a transition matrix is valid, its entries must:

A. Sum to zero

B. Sum to one and be nonnegative

C. All equal one

D. Be strictly negative

Correct Answer: B. Sum to one and be nonnegative

Question 5

For a finite-horizon maximization problem, backward induction begins by evaluating:

A. The initial state only

B. The transition matrix determinant

C. The terminal-period decisions

D. The stationary distribution

Correct Answer: C. The terminal-period decisions

Question 6

If the monthly discount factor is 0.95, a reward of $1,000 received one month later has present value, ignoring other considerations, of:

A. $950

B. $1,000

C. $1,050

D. $50

Correct Answer: A. $950

Question 7

Which condition is most important for a state representation to satisfy the Markov property?

A. It contains all historically observed variables

B. It contains information relevant to future transitions and rewards

C. It contains only financial variables

D. It excludes current actions

Correct Answer: B. It contains information relevant to future transitions and rewards

Question 8

In maintenance planning, why can servicing a degraded machine be optimal even when it has a lower immediate payoff?

A. Service always eliminates all costs

B. Service can improve future reliability and reduce expected future losses

C. The Markov property requires servicing

D. Discounting makes all future costs irrelevant

Correct Answer: B. Service can improve future reliability and reduce expected future losses

Question 9

Which method repeatedly applies the Bellman optimality update to estimate values?

A. Value iteration

B. Simple random sampling

C. Linear interpolation only

D. Stationary-distribution estimation

Correct Answer: A. Value iteration

Question 10

Why is predicted churn probability alone insufficient for selecting retention offers?

A. Churn cannot be measured

B. The highest-risk customers always produce the lowest value

C. The model does not necessarily estimate the incremental causal effect of an offer

D. Retention offers never affect transitions

Correct Answer: C. The model does not necessarily estimate the incremental causal effect of an offer

Prescriptive Analytics & Decision Trees
Chapter 10 of 15