Discrete Stochastic Delivery Modeling - Kartuzy, PL 83-300

A Non-Homogeneous Markov and Bayesian Recovery Model for Right-Censored Discrete Transit in Polish Postal Infrastructure

Abstract

We construct a non-homogeneous discrete-time Markov chain over the Polish postal pipeline from dispatch to delivery at Kartuzy, postal code 83-300, gated by a business-day indicator. Total transit latency is modeled as the convolution of an internal dispatch latency and a postal transit latency via probability generating functions, with parameters calibrated to a single empirical anchor (Mom baseline, Aug 14 - Aug 22). A conjugate Bayesian update yields a posterior transit distribution, and renewal-theoretic conditioning on right-censoring at operational day 4 (Friday, Aug 21) produces a truncated arrival distribution. We derive the posterior mass function, its expectation, variance and skewness, and a 97% credible interval for arrival at Kartuzy.

1

Axiomatic probability space and filtration

Let time be discrete, . The sample space carries the arrival calendar day together with the latent latencies that determine it.

(1)

The triple is a probability space. The filtration is the information revealed up to day : the dispatch status, the observed non-arrival, and the business-day calendar. It is a filtration because for , and the arrival time is a stopping time.

(2)
2

Non-homogeneous discrete-time Markov chain

The physical pipeline is a Markov chain on the state vector :

(3)

Let be the business-day gating indicator and the nominal one-step transition matrix. The time-varying transition matrix is

(4)

On a business day and ; on a non-business day and , so the chain holds in place. With advance probabilities from state :

(5)

Lemma - Stochasticity and absorption

Each row of sums to 1, so is row-stochastic. State is absorbing, , and the arrival time is the first-passage time to .

3

Convolution of latency via generating functions

Total operational latency is the sum of independent components. The internal dispatch latency is two-point,

(6)

and the postal transit latency is calibrated on the Mom baseline , , a six-business-day interval:

(7)

The probability generating function of the total latency factors:

(8)
(9)

Expanding the product is the discrete convolution, with support :

(10)

Theorem - Moments from the generating function

Proof. Since , termwise differentiation at yields the factorial moments, and the variance identity follows from .

The unconditioned mass function over :

lPr(L = l)
40.125
50.375
60.350
70.125
80.025
4

Bayesian likelihood and conjugate update

Model the postal transit probabilities as over . The single empirical anchor is the Mom baseline, a six-business-day total latency over .

Assumptions. Only one empirical observation is available, so the transit distribution is weakly identified. We adopt a symmetric Dirichlet prior and treat the supplied transit distribution as the posterior calibrated to this single anchor. No additional empirical observations are asserted.

(11)
(12)

The Dirichlet-multinomial pair is conjugate, so the posterior is again Dirichlet:

(13)

The posterior mode is with . Calibrating to the supplied transit distribution gives .

5

Renewal theory and discrete hazard rate

The arrival time is a first-passage (renewal) time. Define survival and hazard:

(14)
(15)

The renewal identities hold:

(16)

Evaluated on the conditioned distribution (Section 6):

(17)
6

Right-censoring at t=4 and conditional distribution

Arrival at operational day (Friday, Aug 21) was not observed. It is treated as right-censored and rejected from the support, conditioning on .

Theorem - Truncated conditional distribution

Proof. Since for , the conditional probability equals . The normalizing mass is , and normalization is exact.

The resulting posterior mass function over the support :

(18)
(19)

The support and normalization are summarized in the calendar table:

tDateDayNote
0Aug 17Mondispatch
1Aug 18Tue
2Aug 19Wed
3Aug 20Thu
4Aug 21Friright-censored
5Aug 24Mon
6Aug 25Tue
7Aug 26Wed
8Aug 27Thu
7

Moments, sensitivity and credible interval

Using the exact conditioned probabilities over :

Theorem - Expectation

Proof. . The expected operational day rounds to , Tuesday, Aug 25.

Theorem - Variance

Proof. and .

Theorem - Skewness

Proof. With third raw moment and , the positive skew indicates a right tail toward Aug 27.

The posterior mass function, summing to 100% subject to rounding:

DateDayPrDistribution
Aug 24Mon42.86%
0.429
Aug 25Tue40.00%
0.400
Aug 26Wed14.29%
0.143
Aug 27Thu2.85%
0.029

Parameter sensitivity table - illustrative diagnostic only. The values below vary the dispatch-latency split while holding the postal transit distribution fixed. They are a numerical check of the model's own structure, not new empirical observations.

pE[L]E[T_arr | censored]
0.405.65005.8333
0.455.60005.8028
0.505.55005.7714
0.555.50005.7391
0.605.45005.7059

The baseline reproduces , i.e. Tuesday, Aug 25.

Theorem - 97% credible interval

The model assigns 97% of the conditioned mass to Aug 24 - Aug 26, centered on the expected arrival of Tuesday, Aug 25.