VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

The Gold Standard of Queueing Theory | Regenerative Cycle Estimation, Ratio-of-Sums and Confidence-Interval Validity

GOLD STANDARD · QUEUEING THEORY · HOW X WORKS

Find the decision hidden inside the model

A stable queue often restarts when it returns to a genuinely fresh state. Regenerative simulation uses those restart points to turn one dependent event stream into cycle blocks, but the estimate is a ratio of total reward to total time—not an average of convenient cycle averages.

This guide connects the Gold Standard of Queueing Theory, Gold Standard of Education, and How X Works hub.

CHAPTER 1 OF 12 · ORIENT THE CYCLE

1. Regeneration is stronger than an empty-looking snapshot

Back to contents

A regeneration time is a random time after which the future process has the same law as a fresh start and is independent of the past, under the model. In a stable single-server queue, an arrival that finds the system empty can begin such a cycle when arrivals and services have the required renewal structure.

An empty queue at an arbitrary clock time is not automatically a regeneration point. Residual arrival clocks, modulating environments, vacations or hidden service states can carry memory across the empty epoch. State the complete restart condition before declaring cycles independent.

Contents · Next chapter

CHAPTER 2 OF 12 · ORIENT THE CYCLE

2. Turn each cycle into a length and a reward

Back to contents

For cycle i, record its duration Tᵢ and the accumulated quantity Yᵢ. If the target is time-average queue length, Yᵢ is the area under Q(t) during the cycle. If the target is cost per unit time, Yᵢ is the integrated cost.

The long-run target is E[Y]/E[T] when the regenerative assumptions and required moments hold. This formulation keeps busy, idle and transition time in the denominator instead of letting unusually short cycles count as much as long ones.

Contents · Previous chapter · Next chapter

CHAPTER 3 OF 12 · WORK THE ESTIMATE

3. A worked three-cycle estimate

Back to contents

Suppose three complete cycles have durations 4, 8 and 3 minutes, with queue-area rewards 6, 20 and 3 customer-minutes. Total reward is 29 and total time is 15, so the regenerative estimate of time-average queue length is 29/15 ≈ 1.93 customers.

The individual cycle ratios are 1.50, 2.50 and 1.00. Their simple average is 1.67, which answers a different question: the average of cycle-specific rates. It underweights the long, high-reward cycle in this example.

Contents · Previous chapter · Next chapter

CHAPTER 4 OF 12 · WORK THE ESTIMATE

4. Use a ratio of sums, not a mean of ratios

Back to contents

Write the estimator as ΣYᵢ/ΣTᵢ. The identity is operationally simple but conceptually important because cycle duration is random and commonly correlated with reward.

A mean of Yᵢ/Tᵢ is valid only for a target defined per cycle, or under special conditions that must be justified. It is not a harmless algebraic rearrangement of E[Y]/E[T].

CycleDuration TᵢReward YᵢCycle ratio
1461.50
28202.50
3331.00
Combined15291.93 ratio of sums
Illustrative regenerative cycles; the combined time-average uses total reward divided by total time.

Contents · Previous chapter · Next chapter

CHAPTER 5 OF 12 · WORK THE ESTIMATE

5. Cycle independence does not make observations inside a cycle independent

Back to contents

Queue lengths one second apart remain strongly dependent. Regeneration works by grouping all within-cycle dependence into a block. Under a correct restart rule, complete cycle pairs (Yᵢ,Tᵢ) can be independent and identically distributed even though the events inside them are not.

Do not estimate uncertainty by treating every timestamp or customer as independent. That creates an artificial sample size. The effective replication comes from completed regenerative cycles, subject to any additional structure in the model.

Contents · Previous chapter · Next chapter

CHAPTER 6 OF 12 · BUILD THE INTERVAL

6. Centre cycle rewards around the estimated rate

Back to contents

For a candidate long-run rate θ, the centred cycle quantity is Zᵢ=Yᵢ−θTᵢ. At the true θ, E[Z]=0. The variability of Z, scaled by mean cycle length, drives the large-sample variance of the ratio estimator.

In practice θ is unknown, so use the estimated ratio in the residuals and a regenerative variance formula. Preserve the covariance between reward and duration; analysing Y and T as if unrelated can badly misstate uncertainty.

Contents · Previous chapter · Next chapter

CHAPTER 7 OF 12 · BUILD THE INTERVAL

7. Confidence intervals need enough complete cycles

Back to contents

A normal approximation can be reasonable when many independent cycles are observed and cycle moments are well behaved. With only three cycles, a numerical standard error would look formal but offer little evidence about skewness, long tails or rare overload cycles.

Report cycle count, total simulated time, cycle-length distribution and the interval method. For few or heavy-tailed cycles, extend the run, use carefully justified alternatives, or present uncertainty bounds rather than a confident narrow interval.

CheckWhy it mattersWarning
Completed cyclesDefines independent blocksOnly a few cycles
Cycle-length tailControls variance and run coverageOne cycle dominates time
Reward–duration covarianceBelongs in ratio uncertaintyEstimated separately and ignored
Initial/final fragmentsMay not be ordinary cyclesSilently counted as complete
Minimum diagnostics for a regenerative confidence interval.

Contents · Previous chapter · Next chapter

CHAPTER 8 OF 12 · TRANSFER AND DIAGNOSE

8. Changed-context transfer: an emergency department

Back to contents

Move from a call queue to emergency-department flow. A completely empty department may be too rare to be useful, and clinical state can persist through staffing, boarding and scheduled arrivals.

Transfer succeeds only after rebuilding the regenerative state. A shift boundary is not a restart if patients and workload cross it. One may need a richer atom, a split-chain construction or a different dependence-aware simulation method.

Contents · Previous chapter · Next chapter

CHAPTER 9 OF 12 · TRANSFER AND DIAGNOSE

9. Handle delayed regeneration and rare returns

Back to contents

Near heavy traffic, empty-system returns may be extremely rare. A mathematically valid cycle can then be so long that the estimator converges slowly and one cycle dominates the run.

Do not solve this by inventing more frequent restart points that retain memory. Consider alternative regenerative states, batching with dependence checks, variance reduction, or targeted rare-event methods. Validity comes before convenience.

Contents · Previous chapter · Next chapter

CHAPTER 10 OF 12 · TRANSFER AND DIAGNOSE

10. Audit the simulator at every boundary

Back to contents

At each claimed regeneration, verify queue contents, server state, residual clocks, routing state, environment and random-number-stream handling. Log the exact event ordering when an arrival and departure share a timestamp.

Run a boundary replay: simulate two continuations from the same restart state with independent future random streams and check that no hidden past data affect them. This is an implementation check, not a proof, but it catches many false restarts.

Contents · Previous chapter · Next chapter

CHAPTER 11 OF 12 · CHECK AND CONTINUE

11. Questions analysts often ask

Back to contents

Can I discard the first cycle as warm-up?

If the run starts at a true regeneration state, complete cycles already have the intended cycle law. If it starts elsewhere, treat the initial fragment separately rather than labelling it an ordinary cycle.

Does one long run replace replications?

A long regenerative run can contain many independent cycle blocks. Report the number and quality of those blocks; clock duration alone does not reveal effective evidence.

Contents · Previous chapter · Next chapter

CHAPTER 12 OF 12 · CHECK AND CONTINUE

12. Evidence, connected routes and the next check

Back to contents

Crane and Iglehart’s regenerative-process simulation paper explains the independent block construction for discrete-event systems. Iglehart’s comparison of ratio estimators makes the ratio nature of regenerative estimation explicit.

Continue through Lindley recursion and stability, busy-period area, and busy-period excursions. The next practical check is to write the full restart state, then verify that every reported interval is built from complete cycles.

Contents · Previous chapter · Return to the Queueing Theory root