What does Four-Pillar Computation conclude, in numbers, about “Timing Errors and the Edges of the Double-Hours”?
Answer: Chapter 3 follows errors through: a quarter of an hour of error makes the hour pillar wrong with probability 0.06250 to 0.09974, the day, month and year pillars one to three orders of magnitude less often; it gives the conditional probabilities a "boundary check" needs; and the starting age of the luck cycles is a straight line of one year per three days between solar terms that jumps by as much as 10.48 years at a term.
Scope of the numbers: Marked boxes separate published evidence, runnable Python calculations (16 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 onlyprinted values that match the answer: 0.06250, 0.09974
| error uniform with d | 5, 15, 30 minutes |
| pillar d | 5 d=15 d=30 |
| hour | 0.02083 0.06250 0.12500 |
| day | 0.00174 0.00521 0.01042 |
| month | 0.00006 0.00017 0.00034 |
| year | 0.00000 0.00001 0.00003 |
| error normal with d | 5, 15, 30 minutes |
| pillar d | 5 d=15 d=30 |
| hour | 0.03325 0.09974 0.19947 |
| day | 0.00277 0.00831 0.01662 |
| month | 0.00009 0.00027 0.00055 |
| year | 0.00001 0.00002 0.00005 |
| one degree of longitude | 4 minutes of solar time |
| normal error, s.d. 30 min: hour pillar wrong 0.199 | |
| boundary spacing in hours-of-two: hour 1, day 12, month 365, year 4,383 | |
| Reading: a quarter of an hour of uncertainty already changes | |
| the hour pillar for one birth in ten under the normal model and | |
| one in sixteen under the uniform; the day, month and year | |
| pillars change far less often, because their boundaries are 12, | |
| 365 and 4,383 times as far apart. |
Show the full program
# Chapter 3. How often a timing error changes a pillar.
# A pillar changes at boundaries spaced L minutes apart (hour: 120; day:
# 1,440; month: one solar term "jie" to the next, on average a twelfth of
# a tropical year; year: one tropical year, at the Beginning of Spring).
# If the true birth time is spread evenly and the recorded time is off
# by e, the pillar is wrong with probability E[min(|e|, L)] / L. Two
# error models: e uniform on [-d, d], and e normal with s.d. d.
import math
YEAR = 365.2422 * 1440
L = {"hour": 120, "day": 1440, "month": YEAR / 12, "year": YEAR}
def mean_abs(d, model):
return d / 2 if model == "uniform" else d * math.sqrt(2 / math.pi)
if __name__ == "__main__":
for model in ("uniform", "normal"):
print(" error {} with d = 5, 15, 30 minutes".format(model))
print(" pillar d=5 d=15 d=30")
for k, span in L.items():
print(" {:6s} ".format(k) + " ".join(
"{:8.5f}".format(min(mean_abs(d, model), span) / span)
for d in (5, 15, 30)))
print(" one degree of longitude = 4 minutes of solar time")
d = 30
hour = mean_abs(d, "normal") / 120
print(" normal error, s.d. 30 min: hour pillar wrong {:.3f}".format(
hour))
print(" boundary spacing in hours-of-two: " + ", ".join(
"{} {:,.0f}".format(k, v / 120) for k, v in L.items()))
print("\nReading: a quarter of an hour of uncertainty already changes")
print("the hour pillar for one birth in ten under the normal model and")
print("one in sixteen under the uniform; the day, month and year")
print("pillars change far less often, because their boundaries are 12,")
print("365 and 4,383 times as far apart.")Single source and citation
Fan, Y. (2026). Four-Pillar Calendrical Computation and Formal Rule Engines (Version 1.0.0), Chapter 3: Timing Errors and the Edges of the Double-Hours. 5D Library. https://doi.org/10.5281/zenodo.24090180
DOI: 10.5281/zenodo.24090180 · Read the monograph · 5DL-B-066 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026066,
author = {Fan, Yafu},
title = {Four-Pillar Calendrical Computation and Formal Rule Engines},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24090180},
url = {https://doi.org/10.5281/zenodo.24090180}
}Other chapter answers in this book
- Chapter 1 · The Julian Day and the Congruences of the Four Pillars
- Chapter 2 · Three Conventions for the Zi Hour, and True Solar Time
- Chapter 4 · The Ten Gods Are Z5 × Z2, the Hidden Stems Weight Vectors
- Chapter 5 · Strength Is Scoring on a Weighted Graph
- Chapter 6 · Two Chart Engines and a Set of Test Vectors
- Chapter 7 · The Yuanhai ziping, the Sanming tonghui and the Ditian sui
- Chapter 8 · A Four-Step Check, an Agreement Study and a Pre-Registered Matching Test