Function reference · Live example
For source mean
Library 0.1 returns normalized laws on nonnegative integer counts, plus the conditional estimate
flatppl_compat = "0.1"
counts = load_module("main.flatppl")
observation = counts.onoff(3.0, 2.0, 5.0)
score = logdensityof(observation, record(on = 7, off = 12))
All inputs are scalar. Means are expected counts. The usual ON/OFF exposure parameter is
The synthetic laboratory example exposes count densities, a background estimate, and a profile likelihood.
See the reference for definitions, domains, numerical limits, and validation commands.