What does Kalman Filtering for Readings and Ad Reports conclude, in numbers, about “Classical Sources East and West: the Mencius and Gauss's Least Squares”?

Answer: Chapter 7 examines the Mencius line "believing the book entirely is worse than having no book" and Gauss's least squares of 1809.

Scope of the numbers: Its noise variances, drifts, returns and budgets are illustrative parameters; all calculations are generated by its programs. On wearable readings it is not medical advice, claims no effect, judges no one's state of health, and asks readers to consult a licensed physician before any self-experiment; on advertising attribution it is not individual business 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 only

own nbiasw*RMSE w=1RMSE w=0RMSE w*
10.00.8001.0002.0000.894
11.00.8001.4142.0001.200
13.00.8003.1622.0002.561
40.00.5001.0001.0000.707
41.00.5001.4141.0000.866
43.00.5003.1621.0001.658
280.00.1251.0000.3780.354
281.00.1251.4140.3780.375
283.00.1253.1620.3780.515
Show the full program
# Chapter 7. p72: "Believing the book entirely" written as a gain.
# A stated value (the "book": a device's stated accuracy, a platform's
# reported lift, a published average) has error with sd TAU, and may be
# biased by B. The reader has n own readings, each with error sd 2.0.
# Estimate = w * book + (1 - w) * mean(readings). w = 1 is believing
# the book entirely, w = 0 is having no book, and the Kalman weight is
# w* = (r / n) / (r / n + TAU^2) with TAU = 1.0 assumed. RMSE is exact:
# sqrt(w^2 (TAU^2 + B^2) + (1 - w)^2 r / n). Illustrative numbers.
import math

R, TAU = 4.0, 1.0


def rmse(w, n, bias):
    return math.sqrt(w * w * (TAU ** 2 + bias ** 2)
                     + (1 - w) ** 2 * R / n)


print("own n  bias  w*     RMSE w=1   RMSE w=0   RMSE w*")
for n in (1, 4, 28):
    ws = (R / n) / (R / n + TAU ** 2)
    for bias in (0.0, 1.0, 3.0):
        print("%5d  %4.1f  %.3f  %8.3f   %8.3f   %8.3f"
              % (n, bias, ws, rmse(1.0, n, bias), rmse(0.0, n, bias),
                 rmse(ws, n, bias)))

Single source and citation

Fan, Y. (2026). Kalman Filtering and State-Space Assimilation: Separating Observation Noise from True Signals in Wearable Readings and Advertising Reports (Version 1.0.0), Chapter 7: Classical Sources East and West: the Mencius and Gauss's Least Squares. 5D Library. DOI pending

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

BibTeX
@book{fan2026245,
  author    = {Fan, Yafu},
  title     = {Kalman Filtering and State-Space Assimilation: Separating Observation Noise from True Signals in Wearable Readings and Advertising Reports},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book