What does Skin Diffusion and Transdermal Patches conclude, in numbers, about “Warmth, Rubbing and the C-Tactile Confound”?
Answer: Chapter 3 shows that warmth multiplies the lipid route by at most 11.2, and that a trial without a plain-oil control credits the rub's 0.40 standard deviations to magnesium; seeing a magnesium effect of 0.1 needs 1570 people per arm.
Scope of the numbers: Its molecules, doses, rooms, patches and people are illustrative models; all calculations are generated by its programs; the book is not medical advice and is no guide to dosing any medicine or supplement. 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.1, 0.40, 1570
| naive, vs nothing | 'Mg effect' | 0.40, significant in 0.437 |
| controlled, vs plain oil | 'Mg effect' | 0.00, significant in 0.024 |
| people per arm to detect a true 0.1 SD magnesium effect: 1570 |
Show the full program
# Chapter 3. p06: Massage or magnesium? Slow stroking at 1 to 10 cm/s
# excites C-tactile afferents and is felt as pleasant (Loken et al.
# 2009), so rubbing in an oil can relax a person whatever the oil holds.
# We simulate trials of a relaxation score (in standard deviations) in
# which stroking adds 0.40 and magnesium adds nothing. A naive trial
# compares magnesium-oil massage with no treatment; a controlled trial
# compares it with the same massage using a plain oil. 40 people per
# arm, 2000 simulated trials each, seed 105.
import math
import random
rng = random.Random(105)
N, REPS, MASSAGE, MG = 40, 2000, 0.40, 0.0
def arm(effect):
return [rng.gauss(effect, 1.0) for _ in range(N)]
def z(a, b):
ma, mb = math.fsum(a) / N, math.fsum(b) / N
va = math.fsum((x - ma) ** 2 for x in a) / (N - 1)
vb = math.fsum((x - mb) ** 2 for x in b) / (N - 1)
return ma - mb, (ma - mb) / ((va + vb) / N) ** 0.5
if __name__ == "__main__":
for name, ctrl in (("naive, vs nothing", 0.0),
("controlled, vs plain oil", MASSAGE)):
est, sig = 0.0, 0
for _ in range(REPS):
d, zz = z(arm(MASSAGE + MG), arm(ctrl))
est += d / REPS
sig += zz > 1.95996
print(" {:25s} 'Mg effect' {:5.2f}, significant in {:.3f}"
.format(name, round(est, 2) + 0.0, sig / REPS))
n = 2 * ((1.95996 + 0.84162) / 0.1) ** 2
print(" people per arm to detect a true 0.1 SD magnesium effect:"
" {:.0f}".format(n))Single source and citation
Fan, Y. (2026). Stratum Corneum Fickian Diffusion, Follicular Ion Shunts and Transdermal Patch Kinetics (Version 1.0.0), Chapter 3: Warmth, Rubbing and the C-Tactile Confound. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-105 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026105,
author = {Fan, Yafu},
title = {Stratum Corneum Fickian Diffusion, Follicular Ion Shunts and Transdermal Patch Kinetics},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}