What does Knapsacks, Inspection Games and the Customs Reversal Point conclude, in numbers, about “Practice and Falsification: Checklists for Buyers and Owners, the Calculator and a Pre-Registered Protocol”?

Answer: Chapter 8 gives checklists for buyers and owners, copy-checking rules and a pre-registered protocol. Marked boxes separate published evidence, runnable Python calculations (19 programs), classical sources and the author's hypotheses.

Scope of the numbers: Its parameters are illustrative and laws differ from place to place; all calculations are generated by its programs; the book is not individual legal or tax advice. Marked boxes separate published evidence, runnable Python calculations (19 programs), classical sources and the author's hypotheses.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python only

z alpha 1.9600, z beta 0.8416
A profiling, trips per group180
B reversal, shops (paired)71
C elasticity, product lines126
D packing, packing lists28
power of A with 200 trips a group: 0.846
expected inspected trips among 200 frequent: 24
Show the full program
# Chapter 8. p81: sample sizes for the four pre-registered tests.
# Two-sided alpha 0.05, power 0.80, normal approximations.
# A  profiling: inspection share of declared trips, occasional (0.04)
#    vs frequent travellers (0.12); two proportions, n per group.
# B  reversal: per-unit total landed cost before vs after a shop moves
#    to a lawful channel, fines included; paired, mean gain 50 yuan,
#    sd of differences 150 yuan.
# C  evasion semi-elasticity: slope 3 of the log mirror-trade gap on the
#    tax rate, residual sd 0.6, sd of rates across product lines 0.05.
# D  packing: greedy loses more than 0.03 of the optimum on real lists;
#    one-sample, expected loss 0.0565 (p12), sd 0.05.
# Effect sizes are illustrative planning values.
import math
from statistics import NormalDist

Z = NormalDist()
za, zb = Z.inv_cdf(0.975), Z.inv_cdf(0.80)
p1, p2 = 0.04, 0.12
pb = (p1 + p2) / 2
nA = ((za * math.sqrt(2 * pb * (1 - pb)) +
       zb * math.sqrt(p1 * (1 - p1) + p2 * (1 - p2))) / (p2 - p1)) ** 2
nB = ((za + zb) * 150 / 50) ** 2
nC = ((za + zb) * 0.6 / (3 * 0.05)) ** 2
nD = ((za + zb) * 0.05 / (0.0565 - 0.03)) ** 2
print("z alpha {:.4f}, z beta {:.4f}".format(za, zb))
for lab, n in (("A profiling, trips per group", nA),
               ("B reversal, shops (paired)", nB),
               ("C elasticity, product lines", nC),
               ("D packing, packing lists", nD)):
    print("{:32s}{:8d}".format(lab, math.ceil(n)))
se = math.sqrt(p1 * (1 - p1) / 200 + p2 * (1 - p2) / 200)
print("power of A with 200 trips a group: {:.3f}".format(
    Z.cdf((p2 - p1) / se - za)))
print("expected inspected trips among 200 frequent: {:.0f}"
      .format(200 * p2))

Single source and citation

Fan, Y. (2026). Two-Dimensional Volume-Weight Knapsacks for Cross-Border Buyers, Port Risk-Profiling Inspection Games and the Scale Reversal Point to Formal Customs Clearance (Version 1.0.0), Chapter 8: Practice and Falsification: Checklists for Buyers and Owners, the Calculator and a Pre-Registered Protocol. 5D Library. DOI pending

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

BibTeX
@book{fan2026174,
  author    = {Fan, Yafu},
  title     = {Two-Dimensional Volume-Weight Knapsacks for Cross-Border Buyers, Port Risk-Profiling Inspection Games and the Scale Reversal Point to Formal Customs Clearance},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book