What does Branching Ratios of Comment Cascades conclude, in numbers, about “Closing the Loop: Estimate the Branching Ratio in the First Two Hours, Then Decide Whether to Push”?

Answer: Chapter 8 gives the loop of estimating the branching ratio in the first two hours before deciding on a push, the Cascade Branching-Ratio Estimator, and a pre-registered push experiment (43 posts per group, 13 after covariate adjustment). Marked boxes separate published evidence, runnable Python calculations (19 programs), classical sources and the author's hypotheses.

Scope of the numbers: 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 onlyprinted values that match the answer: 13, 43

z_a + z_b = 2.8016
nsd ctrlpredicted liftposts/armwith R2=0.7
0.387.7128.683
0.6156.1225.083
0.8324.0450.093
to tell n = 0.6 from n = 0.3 (lift gap 96.4): 43 posts/arm, 13 adjusted
refuted if the 95% interval of lift / D excludes 1/(1-n_pooled)
Show the full program
# Chapter 8. p82: Posts needed for a pre-registered push experiment.
# Design: posts randomised 1:1 to a push of D = 90 extra outside
# commenters or to none. Outcome: comments in 12 hours. Model: outside
# commenters M per post are Poisson with a mean that varies across posts
# (base mean 120, coefficient of variation 0.5); each brings a Borel
# cluster with E K = 1/(1-n), Var K = n/(1-n)^3 (p11). Compound variance
#   Var = E[M] Var K + Var[M] (E K)^2.
# Prediction to test: the push adds D/(1-n) comments, n from pooled
# pre-period fits. Two-sided alpha 0.05, power 0.8; an adjustment for
# the pre-push two-hour count with R^2 = 0.7 is shown as well.
# All inputs illustrative.
import math
from statistics import NormalDist

D, BASE, CV = 90.0, 120.0, 0.5
Z = NormalDist().inv_cdf(0.975) + NormalDist().inv_cdf(0.8)


def arm_var(m_extra, n):
    ek, vk = 1 / (1 - n), n / (1 - n) ** 3
    em = BASE + m_extra
    vm = em + (CV * BASE) ** 2
    return em * vk + vm * ek ** 2


def per_arm(delta, n, r2=0.0):
    v = (arm_var(0.0, n) + arm_var(D, n)) * (1 - r2)
    return math.ceil(Z ** 2 * v / delta ** 2)


print("z_a + z_b = %.4f" % Z)
print("n     sd ctrl  predicted lift  posts/arm  with R2=0.7")
for n in (0.3, 0.6, 0.8):
    lift = D / (1 - n)
    print("%.1f   %6.1f   %8.1f        %5d      %5d"
          % (n, math.sqrt(arm_var(0.0, n)), lift, per_arm(lift, n),
             per_arm(lift, n, 0.7)))
gap = D / (1 - 0.6) - D / (1 - 0.3)
print("to tell n = 0.6 from n = 0.3 (lift gap %.1f): %d posts/arm, %d"
      " adjusted" % (gap, per_arm(gap, 0.6), per_arm(gap, 0.6, 0.7)))
print("refuted if the 95% interval of lift / D excludes 1/(1-n_pooled)")

Single source and citation

Fan, Y. (2026). Hawkes Self-Exciting Point Processes: Branching-Ratio Criticality in Comment Cascades and the Aftershock Half-Life of Livestream Herd Buying (Version 1.0.0), Chapter 8: Closing the Loop: Estimate the Branching Ratio in the First Two Hours, Then Decide Whether to Push. 5D Library. DOI pending

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

BibTeX
@book{fan2026234,
  author    = {Fan, Yafu},
  title     = {Hawkes Self-Exciting Point Processes: Branching-Ratio Criticality in Comment Cascades and the Aftershock Half-Life of Livestream Herd Buying},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book