What does Selectivity, Similarity and Regret Cushions conclude, in numbers, about “Reading Processing Style from Browsing Behaviour: Bayesian Updating Overwhelms the Gender Prior”?
Answer: Chapter 3 infers style from four on-site behaviour counts only, reaching a simulated accuracy of 0.864, with almost nothing gained from a gender prior.
Scope of the numbers: Parameters are illustrative and all calculations are generated by the book's programs. Chapter 4 turns regret theory into a purchase probability: under illustrative parameters four regret cushions lift it from 0.451 to 0.808, a bare countdown leaves buyers with regret of 0.556, and the refund break-even of a return window is 0.289.
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.864
| rule accuracy Brier (20,000 simulated sessions) | |
| G | 0.561 0.246 |
| B | 0.864 0.096 |
| BG | 0.868 0.095 |
| behaviour-only accuracy by number of signals observed | |
| 1 signal(s) | 0.784 |
| 2 signal(s) | 0.824 |
| 3 signal(s) | 0.858 |
| 4 signal(s) | 0.864 |
| gain from adding the gender prior: +0.0035 | |
| pre-registered floor for behaviour-only accuracy | 0.65 |
Show the full program
# Chapter 3. p32: behaviour beats a gender prior, by how much, and when.
# Simulated sessions (fixed seed): a visitor's style is comprehensive with
# probability 0.56 in group A and 0.44 in group B (d = 0.3 read as shares,
# illustrative). Signals follow the rates of p31. We score three rules:
# G gender only: A -> comprehensive, B -> heuristic
# B behaviour only, prior 0.5, threshold 0.5
# BG behaviour with the group prior
# and report accuracy and Brier score, then accuracy by signals observed.
import math
import random
rng = random.Random(37332)
RATES = {1: (4.0, 1.2, 2.0, 6.0), 0: (1.5, 0.4, 0.8, 3.0)}
N = 20000
def pois(lam):
k, p, L = 0, 1.0, math.exp(-lam)
while True:
p *= rng.random()
if p < L:
return k
k += 1
def log_lik(s, style, use):
r = RATES[style]
parts = []
for j in range(use):
if j < 3:
parts.append(s[j] * math.log(r[j]) - r[j])
else:
parts.append(-math.log(r[3]) - s[3] / r[3])
return math.fsum(parts)
def post(s, prior, use=4):
a = math.log(prior) + log_lik(s, 1, use)
b = math.log(1 - prior) + log_lik(s, 0, use)
return 1.0 / (1.0 + math.exp(b - a))
data = []
for i in range(N):
grp = i % 2
style = 1 if rng.random() < (0.56 if grp == 0 else 0.44) else 0
r = RATES[style]
s = (pois(r[0]), pois(r[1]), pois(r[2]), rng.expovariate(1 / r[3]))
data.append((grp, style, s))
def score(probs):
hit, br = 0, []
for (g, y, s), p in zip(data, probs):
hit += (p >= 0.5) == (y == 1)
br.append((p - y) ** 2)
return hit / N, math.fsum(br) / N
if __name__ == "__main__":
pg = [0.56 if g == 0 else 0.44 for g, _, _ in data]
pb = [post(s, 0.5) for _, _, s in data]
pbg = [post(s, 0.56 if g == 0 else 0.44) for g, _, s in data]
print("rule accuracy Brier ({:,} simulated sessions)".format(N))
for name, pr in (("G", pg), ("B", pb), ("BG", pbg)):
acc, br = score(pr)
print(" {:<3} {:.3f} {:.3f}".format(name, acc, br))
print("behaviour-only accuracy by number of signals observed")
for use in (1, 2, 3, 4):
acc, _ = score([post(s, 0.5, use) for _, _, s in data])
print(" {} signal(s): {:.3f}".format(use, acc))
print("gain from adding the gender prior: {:+.4f}".format(
score(pbg)[0] - score(pb)[0]))
print("pre-registered floor for behaviour-only accuracy: 0.65")Single source and citation
Fan, Y. (2026). Gendered Consumption Decision Heterogeneity, the Selectivity Hypothesis and High-Conversion Architecture for Female Markets (Version 1.0.0), Chapter 3: Reading Processing Style from Browsing Behaviour: Bayesian Updating Overwhelms the Gender Prior. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-373 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026373,
author = {Fan, Yafu},
title = {Gendered Consumption Decision Heterogeneity, the Selectivity Hypothesis and High-Conversion Architecture for Female Markets},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · The Selectivity Hypothesis: a Difference in Breadth of Processing, Not Feeling against Reason
- Chapter 2 · Gender Similarities: the Overlapping Coefficient and the Misclassification Bound of Routing by Gender
- Chapter 4 · Regret Theory and Regret Cushions: Returns, Trials, Transparent Instalments and After-Sales Promises
- Chapter 5 · Usage Scenes and Peer Unboxings: How Cues Converge, and the Duty to Disclose
- Chapter 6 · One-to-One Conversations, Repurchase, and the Net Cash of Two Funnels
- Chapter 7 · The Classical Sources: "Near by Nature, Far by Practice", "Exhaust the Fine Detail", Wollstonecraft, and Aristotle's Three Modes of Persuasion
- Chapter 8 · Closing the Loop: the Weekly High-Ticket Ledger, Field Tools and Checker Specifications