Skip to content

Conversation

@sebapersson
Copy link
Contributor

When implementing support for LogLaplace in PEtab.jl, I realized that the interpretation of the noise distributions in the spec is not entirely clear. In particular, for the supported distributions, the model output is not assumed to be the mean or location of the data distribution, but rather its median.

For example, let ($m$) be the measured value, $y := \text{observableFormula}$ the simulated value, and $\sigma$ the noise. For the LogNormal distribution in PEtab we have $\log(m) \sim \mathcal{N}(\log(y), \sigma)$, which implies $m \sim \mathcal{LN}(\log(y), \sigma)$. For this LogNormal, the median is y (exp of first argument). A similar interpretation holds for LogLaplace. Overall, this PR aims to clarify this.

@sebapersson sebapersson requested a review from a team as a code owner December 17, 2025 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant