Tutorials › Stochastic Processes › Computing Renewal-Reward Rates from Cycle Data

Renewal-Reward and Regenerative Processes · Tutorial 609 of 994

Computing Renewal-Reward Rates from Cycle Data

Calculate a long-run reward rate by finding the expected reward and expected duration per cycle, then checking the assumptions behind their ratio.

Advanced 10 min read

What You'll Learn

  • Identify cycle lengths and total cycle rewards from exact cycle data.
  • Compute long-run rates using the ratio of expected reward to expected cycle length.
  • Calculate occupancy rates by treating time spent in a state as cycle reward.
  • Include setup, operating, and event costs in one cycle-reward calculation.
  • Average rewards paid at random times within a cycle using their conditional distribution.
  • Recognize why a ratio of expectations is not generally an expectation of ratios.

From Cycle Data to a Long-Run Rate

When a stochastic system repeatedly returns to a regenerating condition, its long-run performance can often be calculated one cycle at a time. A cycle might represent the time between successive replacements, returns to an empty queue, or completions of a production run. The key calculation is to find the expected reward earned in one cycle and divide by the expected duration of that cycle. This turns exact cycle data into rates such as time spent in a state per unit time or cost per unit time.

Let \((\Omega,\mathcal{F},\mathbb{P})\) be the probability space, and let \((X_t)_{t\ge0}\) be a continuous-time process with state space \(S\). Suppose the process regenerates at times \(0=T_0<T_1<T_2<\cdots\). The length of cycle \(n\) is \(L_n=T_n-T_{n-1}\). A cycle's reward may accrue gradually, such as time spent in a state, or arrive in lump payments at particular times within the cycle. Write \(R_n\) for the total reward in cycle \(n\). The cycle data are iid when each cycle has the same joint distribution and is independent of the other cycles; the length and reward within a cycle need not be independent of each other.

Renewal-reward rule: For iid cycle data with \(0<\mathbb{E}[L_1]<\infty\), the long-run reward rate is \(\mathbb{E}[R_1]/\mathbb{E}[L_1]\), provided \(\mathbb{E}[|R_1|]<\infty\). For rewards that accrue within a cycle, assume also that the total variation of the reward accumulated during a cycle has finite expectation. Under these conditions, cumulative reward divided by elapsed time converges almost surely to this rate. This is the renewal-reward theorem, proved in the earlier material on that theorem.

For a cycle with several possible types, the calculation is especially direct. If type \(z\) occurs with probability \(p_z\), its duration is \(l_z\), and its expected total reward conditional on that type is \(r_z\), then

$$ \text{long-run rate} = \frac{\sum_z p_z r_z}{\sum_z p_z l_z}. $$

This uses the expectation of a reward and the expectation of a duration—not the average of the separate cycle-by-cycle ratios. A cycle that is twice as long contributes twice as much elapsed time to the long-run denominator.

Proposition (Finite cycle types): Suppose iid cycles have finitely many types \(z\), with probabilities \(p_z\), positive finite durations \(l_z\), and finite conditional mean rewards \(r_z\). Then the long-run rate is \(\bigl(\sum_z p_zr_z\bigr)/\bigl(\sum_z p_zl_z\bigr)\).

Proof. Let \(L_n\) and \(R_n\) be the duration and reward of cycle \(n\). Since there are finitely many types and all type durations and conditional mean rewards are finite, \(\mathbb{E}[L_1]=\sum_zp_zl_z\) is finite and \(\mathbb{E}[R_1]=\sum_zp_zr_z\). Positivity of every \(l_z\) gives \(\mathbb{E}[L_1]>0\). The finite-type assumptions also give integrable cycle rewards. Thus the hypotheses of the renewal-reward theorem hold, and its rate is \(\mathbb{E}[R_1]/\mathbb{E}[L_1]\). Substituting the two expectations gives the stated formula. \(\square\)

Worked Calculations

Worked Example: Time Occupied in Two States

Each cycle spends its entire duration in states \(A\) and \(B\). With probability \(\tfrac13\), a cycle lasts \(2\) time units, all in \(A\). With probability \(\tfrac23\), it lasts \(4\) time units: \(1\) unit in \(A\) and \(3\) in \(B\). Find the long-run fractions of time spent in each state.

For state \(A\), take the reward in a cycle to be the time spent in \(A\). The two types have rewards \(2\) and \(1\), respectively. Their expected cycle length and state-\(A\) reward are

$$ \mathbb{E}[L_1]=\tfrac13(2)+\tfrac23(4)=\tfrac23+\tfrac83=\tfrac{10}3, \qquad \mathbb{E}[R_A]=\tfrac13(2)+\tfrac23(1)=\tfrac23+\tfrac23=\tfrac43. $$

Therefore the rate of time in \(A\) is \((\tfrac43)/(\tfrac{10}3)=\tfrac25\). For \(B\), the cycle rewards are \(0\) and \(3\), so

$$ \mathbb{E}[R_B]=\tfrac13(0)+\tfrac23(3)=2, \qquad \text{rate in }B=\frac{2}{10/3}=\tfrac35. $$

Check: the rates sum to \(\tfrac25+\tfrac35=1\), as they must because every unit of cycle time is spent in exactly one of \(A\) and \(B\). The expected total state-time per cycle is also \(\tfrac43+2=\tfrac{10}3=\mathbb{E}[L_1]\).

Worked Example: Operating and Event Costs

A machine is renewed at the end of each cycle. A cycle has three possible types: with probability \(\tfrac14\), its duration is \(1\); with probability \(\tfrac12\), its duration is \(2\); and with probability \(\tfrac14\), its duration is \(4\). Every cycle incurs a setup cost of \(3\) and an operating cost of \(2\) per unit time. The last type also incurs an event cost of \(5\). Find the long-run cost per unit time.

The total costs for the three types are, in order, \(3+2(1)=5\), \(3+2(2)=7\), and \(3+2(4)+5=16\). First calculate the expected duration:

$$ \mathbb{E}[L_1]=\tfrac14(1)+\tfrac12(2)+\tfrac14(4) =\tfrac14+1+1=\tfrac94. $$

The expected cycle cost is

$$ \mathbb{E}[R_1]=\tfrac14(5)+\tfrac12(7)+\tfrac14(16) =\tfrac54+\tfrac{14}4+\tfrac{16}4 =\tfrac{35}4. $$

Hence the long-run cost rate is \((\tfrac{35}4)/(\tfrac94)=\tfrac{35}9\) cost units per unit time.

Check: the same expected cost can be assembled by cost component. Setup contributes \(3\) per cycle. Operating contributes \(2\mathbb{E}[L_1]=2(\tfrac94)=\tfrac92\). The event cost contributes \(5(\tfrac14)=\tfrac54\). Their sum is \(3+\tfrac92+\tfrac54=\tfrac{12}4+\tfrac{18}4+\tfrac54=\tfrac{35}4\), giving the same rate \(\tfrac{35}9\).

Rewards Paid at Random Times

The reward can depend on when it is earned, not only on which cycle type occurred. The calculation still starts with the total reward over the whole cycle. If \(U\) is a random payment time within a cycle of length \(L\), and the payment is \(g(U,L)\), its contribution to the expected cycle reward is found by conditioning on \(L\) and averaging over the conditional distribution of \(U\).

Proposition (One random-time payment): Suppose a cycle has length \(L\), and exactly one payment \(g(U,L)\) is made at a random time \(U\) satisfying \(0<U<L\) almost surely. If, conditional on \(L=l\), \(U\) has density \(f_{U\mid L}(u\mid l)\), and the payment is integrable, then its expected cycle reward is \(\mathbb{E}[g(U,L)]=\mathbb{E}\bigl[\int_0^L g(u,L)f_{U\mid L}(u\mid L)\,du\bigr]\).

Proof. Fix a possible cycle length \(l\). By the definition of expectation for a variable with conditional density \(f_{U\mid L}(u\mid l)\), the conditional mean payment is \(\mathbb{E}[g(U,L)\mid L=l]=\int_0^l g(u,l)f_{U\mid L}(u\mid l)\,du\). Taking expectation over \(L\) gives the displayed formula by iterated expectation. Integrability ensures these expectations are finite. \(\square\)

Worked Example: A Payment at a Uniform Random Time

Cycle lengths are \(2\) with probability \(\tfrac13\) and \(4\) with probability \(\tfrac23\). Conditional on a cycle of length \(l\), one payment is made at \(U\), uniformly distributed on \((0,l)\), and its size is \(3+U\). Find the long-run payment rate.

For a uniform variable on \((0,l)\), the conditional density is \(1/l\), so the expected payment given length \(l\) is

$$ \mathbb{E}[3+U\mid L=l] =\frac1l\int_0^l(3+u)\,du =\frac1l\left(3l+\frac{l^2}{2}\right) =3+\frac l2. $$

At length \(2\), this conditional mean is \(3+\tfrac22=4\). At length \(4\), it is \(3+\tfrac42=5\). Thus the expected cycle reward and expected cycle length are

$$ \mathbb{E}[R_1]=\tfrac13(4)+\tfrac23(5)=\tfrac43+\tfrac{10}3=\tfrac{14}3, \qquad \mathbb{E}[L_1]=\tfrac13(2)+\tfrac23(4)=\tfrac23+\tfrac83=\tfrac{10}3. $$

The long-run rate is \((\tfrac{14}3)/(\tfrac{10}3)=\tfrac75\) payment units per unit time. The payment's random location matters here because the payment size includes \(U\); its conditional distribution was used to find the cycle reward.

Check: the conditional mean payments, \(4\) and \(5\), give the same expected cycle reward \(\tfrac13(4)+\tfrac23(5)=\tfrac{14}3\). The result is a rate per unit time, not a mean payment per cycle.

Assumptions and Common Pitfalls

Cycle calculations rely on the cycle data representing a regenerative structure: successive cycle data must be iid, and the cycle must have finite positive mean duration. The reward must be integrable; for reward accumulated throughout a cycle, its total variation must also have finite expectation. These conditions ensure the renewal-reward theorem applies. In particular, the theorem gives an almost-sure long-run rate under its assumptions, not a claim that every finite run has exactly the expected ratio.

The iid condition cannot simply be discarded. For example, take cycles of deterministic length \(1\), but assign reward \(0\) throughout the first block of cycles, reward \(1\) throughout the next block, and continue alternating between \(0\) and \(1\). Choose successive block lengths \(2,4,16,256,\ldots\), so each block is longer than the total number of cycles before it. At the end of a block, the average reward per unit time is then arbitrarily close to that block's reward, because the previous cycles form a vanishing fraction of the elapsed time. The averages approach \(0\) along zero-reward block endpoints and \(1\) along unit-reward block endpoints. There is no long-run rate. These cycles do not have iid reward data, illustrating why that hypothesis matters.

Common mistake: averaging cycle ratios. In the random-time payment example, a tempting calculation is to average payment divided by cycle length conditional on each length. It gives \(\tfrac13(4/2)+\tfrac23(5/4)=\tfrac23+\tfrac56=\tfrac32\), not the correct rate \(\tfrac75\). The mistake weights each type by its probability rather than by its contribution to total elapsed time. The renewal-reward calculation is \(\mathbb{E}[R_1]/\mathbb{E}[L_1]\), not \(\mathbb{E}[R_1/L_1]\).

For each application, define the cycle boundary first, then count every reward exactly once. A fixed setup cost belongs to the cycle in which it is charged; time spent in a state is that cycle's duration in the state; and a payment at a random time contributes to the cycle containing that payment. Once the cycle reward is specified, compute its expectation and the expected cycle length separately, verify the theorem's assumptions, and take their ratio.

Check Your Understanding

For each question, identify the cycle reward and expected cycle length before forming a rate.

  1. Cycles have lengths \(1\) and \(3\) with probabilities \(\tfrac12\) each. The rewards are \(2\) and \(5\), respectively. What is the long-run reward rate?
  2. In the state-occupancy example, what would the long-run fraction of time in \(A\) be if the probability of the length-\(2\) cycle were \(\tfrac12\) and the length-\(4\) cycle had probability \(\tfrac12\)?
  3. A cycle of fixed length \(l\) earns a payment \(U\), where \(U\) is uniform on \((0,l)\). Find its expected payment by integrating the conditional density.
  4. Why does \(\mathbb{E}[R_1]/\mathbb{E}[L_1]\) generally differ from \(\mathbb{E}[R_1/L_1]\)?
  5. Name the cycle assumptions needed before applying the renewal-reward theorem to a long-run rate calculation.