Sample path analysis studies one observed history of a flow process and computes measurements on that history without introducing additional randomness.
For the toolkit, a flow process is modeled from timestamped start/end events for each item. This gives a marked point process: event times with marks (arrival/departure semantics).
The key practical consequence is:
For background on why this is different from statistical summary workflows, see Sample path analysis is not statistics.
Let:
These are step functions that move only when events occur.
Define the sample path of work-in-process:
\[ N(t) = A(T) - D(T) \]
where \(t\) is an instant and \(T=t-t_0\) is elapsed observation time from the start of the window.
N(t) is the instantaneous state of the
process.
Define cumulative presence mass:
\[ H(T) = \int_0^T N(t)\,dt \]
H(T) is measured in item-time. It captures
accumulated presence over the observation window and is the
core quantity from which the Little’s Law components are
derived.
Define:
\[ L(T)=\frac{H(T)}{T},\quad \Lambda(T)=\frac{A(T)}{T},\quad w(T)=\frac{H(T)}{A(T)} \]
Then:
\[ L(T)=\Lambda(T)\,w(T) \]
This is the finite-window form of Little’s Law.
For departures, define:
\[ \Theta(T)=\frac{D(T)}{T},\quad w'(T)=\frac{H(T)}{D(T)} \]
Then:
\[ L(T)=\Theta(T)\,w'(T) \]
Together:
\[ \Lambda(T)\,w(T)=L(T)=\Theta(T)\,w'(T) \]
This identity is the presence invariant used throughout the toolkit.
The Presence Invariant is the finite-horizon identity underlying Little’s Law. It states that cumulative presence mass \(H(T)\) can be expressed either as time-average state multiplied by time, or as an event-rate multiplied by amortized presence mass per event.
Formally,
\[ H(T) = L(T)\,T = A(T)\,w(T) = D(T)\,w'(T) \]
Dividing through by \(T\) gives the familiar finite-horizon Little form:
\[ L(T) = \Lambda(T)\,w(T) = \Theta(T)\,w'(T) \]
Conceptually:
All of these quantities are deterministic functionals of the same realized sample path.
For the chart-by-chart construction paired with this section, see Chart Reference: The Presence Invariant Charts.
L(T) is controlled by two levers:
Λ(T).w(T).When L(T) changes, the change must come from
one or both of those components. The same logic applies to the
departure-side pair Θ(T) and
w'(T).
This gives a deterministic cause-effect frame for process diagnostics.
Operationally, we monitor whether key time-varying functions approach stable behavior:
When finite-window functions converge to limits, the familiar steady-state expression \(L=\lambda W\) is recovered as an asymptotic consequence.
The toolkit supports two reporting views over the same underlying calculations:
Calendar-indexed outputs are sub-sampled views of cumulative event-ordered dynamics, not bucket-aggregated redefinitions.
Use event indexing when investigating causal transitions and exact boundary effects. Use calendar indexing when reporting periodic snapshots while preserving metric meaning.
This article is based on the narrative arc from
docs/articles/chart-reference/Sample-Path-Analysis-Presentation (1).pdf
and is intended to be the shared conceptual foundation for
both the CLI and chart-reference documents.