What does COD Deposits and Prepay Screening conclude, in numbers, about “Deposit Thresholds: Sweeping Basket Values and Refusal Rates, and a Rule That Reads Only the Buyer's Own Record”?

Answer: The first line lists six illustrative records and the second the matching posterior means. A buyer with two orders and one refusal has a posterior mean of 0.167 but fewer than five orders, so he still gets plain cash on delivery. Buyers with five orders and no refusal, or five orders and one refusal, have posterior means of 0.067 and 0.133, both below 0.15. A buyer with five orders and two refusals has a posterior mean of 0.200 and starts to be asked for a deposit: 3.0 units on a basket of 20 and 4.0 units on a basket of 45. A buyer with eight orders and four refusals, at 0.278, is asked for 3.5 to 4.5 units. A buyer with ten orders and nine refusals, at 0.500, has his deposit capped by the refusal cost on baskets up to 30 and is also offered prepayment. The basket of 8 is prepay-only for everyone.

Scope of the numbers: No peer-reviewed estimate of refusal rates in Southeast Asia was found, so all parameters are illustrative, and all calculations are generated by the book's programs. This is general analysis, not individualised business or legal advice.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.067, 0.133, 0.167, 0.200, 0.278, 0.500

history n/k2/1 5/0 5/1 5/2 8/4 10/9
qhat0.167 0.067 0.133 0.200 0.278 0.500
basket8 PP only PP only PP only PP only PP only PP only
basket10 COD COD COD D 3.0 D 3.5 D 3.5+PP
basket15 COD COD COD D 3.0 D 3.5 D 4.0+PP
basket20 COD COD COD D 3.0 D 3.5 D 4.0+PP
basket30 COD COD COD D 3.5 D 4.0 D 4.5+PP
basket45 COD COD COD D 4.0 D 4.5 D 5.0
basket60 COD COD COD D 4.0 D 4.5 D 5.5
D = deposit in u, credited on delivery, refunded in full if
the failure was not the buyer's doing; +PP = prepay offered
Show the full program
# Chapter 3. p32: from the separating deposit to a deposit threshold
# rule. Inputs are the basket value and the buyer's own order history
# only (n past COD orders, k refusals by the buyer). Posterior mean
# refusal rate with a Beta(1, 9) prior: qhat = (k + 1)/(n + 10).
# Rules: fewer than 5 past orders, or qhat <= 0.15, gives plain COD;
# otherwise a deposit D = min(D*(p, qhat), K) rounded down to 0.5 u
# (never above the refusal cost K); when D* > K a prepay discount is
# offered too (+PP). Baskets whose margin cannot pay the acquisition
# cost (p11) are prepay-only for every buyer alike. Costs as in p31;
# all thresholds illustrative.
import math
from fractions import Fraction as F

SO = SR = F(9, 5)
RATE, DR, DF, FEE, A = F(3, 25), 21, 10, F(3, 100), F(4, 5)
QH, PHI = F(1, 20), F(2, 25)


def costs(p):
    c = F(13, 20) * p
    m = p - c - SO - FEE * p - p * RATE * DF / 365
    k = SO + SR + c / 20 + (c + SO) * RATE * DR / 365
    return m, k


def dstar(p, ql):
    m, k = costs(p)
    d0 = (ql * k + A) / (1 - ql) - (QH * k + A) / (1 - QH)
    return (1 - ql) * d0 / (ql + PHI - (1 - ql) * QH / (1 - QH))


def rule(p, n, k):
    m, kk = costs(p)
    if m <= A:
        return "PP only"
    qhat = F(k + 1, n + 10)
    if n < 5 or qhat <= F(3, 20):
        return "COD"
    d = dstar(p, qhat)
    dd = math.floor(min(d, kk) * 2) / 2
    return "D {:.1f}{}".format(dd, "+PP" if d > kk else "")


if __name__ == "__main__":
    hist = ((2, 1), (5, 0), (5, 1), (5, 2), (8, 4), (10, 9))
    print("history n/k  " + " ".join("{:>8s}".format(
        "{}/{}".format(n, k)) for n, k in hist))
    print("qhat         " + " ".join("{:8.3f}".format(
        (k + 1) / (n + 10)) for n, k in hist))
    for p in (8, 10, 15, 20, 30, 45, 60):
        print("basket {:3d}   ".format(p) + " ".join(
            "{:>8s}".format(rule(F(p), n, k)) for n, k in hist))
    print("D = deposit in u, credited on delivery, refunded in full if")
    print("the failure was not the buyer's doing; +PP = prepay offered")

Single source and citation

Fan, Y. (2026). Cash-on-Delivery Refusal Games and the Trust Deficit in Southeast Asian E-Commerce: Deposit Thresholds and Prepayment-Discount Incentive Design (Version 1.0.0), Chapter 3: Deposit Thresholds: Sweeping Basket Values and Refusal Rates, and a Rule That Reads Only the Buyer's Own Record. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-314 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026314,
  author    = {Fan, Yafu},
  title     = {Cash-on-Delivery Refusal Games and the Trust Deficit in Southeast Asian E-Commerce: Deposit Thresholds and Prepayment-Discount Incentive Design},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book