Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions doc/v2/documentation_data_format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ Noise distributions

Denote by :math:`m` the measured value,
:math:`y:=\text{observableFormula}` the simulated value
(the location parameter of the noise distribution),
(the median of the noise distribution),
Comment thread
dweindl marked this conversation as resolved.
Outdated
and :math:`\sigma` the scale parameter of the noise distribution
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same problem here, right? For the log-normal distribution, sigma wouldn't be the scale but its logarithm?

Copy link
Copy Markdown
Contributor Author

@sebapersson sebapersson Jan 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, for normal distributions it is the standard distribution (no log), while for Laplace it is the scale. I have made this clearer.

as given via the ``noiseFormula`` field (the standard deviation of a normal,
or the scale parameter of a Laplace model).
Expand All @@ -761,25 +761,31 @@ Then we have the following effective noise distributions:
* - Type
- ``noiseDistribution``
- Probability density function (PDF)
* - Gaussian distribution
* - | Gaussian distribution
| (i.e., :math:`m` is normally distributed as :math:`m \sim \mathcal{N}(y, \sigma)`)
Comment thread
sebapersson marked this conversation as resolved.
Outdated
- ``normal``
- .. math::
\pi(m|y,\sigma) = \frac{1}{\sqrt{2\pi}\sigma}\exp\left(-\frac{(m-y)^2}{2\sigma^2}\right)
* - | Log-normal distribution
| (i.e., :math:`\log(m)` is normally distributed)
| (i.e., :math:`\log(m)` is normally distributed as :math:`\log(m) \sim \mathcal{N}(\log(y), \sigma)`)
Comment thread
sebapersson marked this conversation as resolved.
Outdated
- ``log-normal``
- .. math::
\pi(m|y,\sigma) = \frac{1}{\sqrt{2\pi}\sigma m}\exp\left(-\frac{(\log m - \log y)^2}{2\sigma^2}\right)
* - Laplace distribution
- ``laplace``
- | ``laplace``
| (i.e., :math:`m` is Laplace distributed as :math:`m \sim \mathcal{L}(y, \sigma)`)
Comment thread
sebapersson marked this conversation as resolved.
Outdated
Comment thread
dilpath marked this conversation as resolved.
Outdated
- .. math::
\pi(m|y,\sigma) = \frac{1}{2\sigma}\exp\left(-\frac{|m-y|}{\sigma}\right)
* - | Log-Laplace distribution
| (i.e., :math:`\log(m)` is Laplace distributed)
| (i.e., :math:`\log(m)` is Laplace distributed as :math:`\log(m) \sim \mathcal{L}(\log(y), \sigma)`)
Comment thread
sebapersson marked this conversation as resolved.
Outdated
- ``log-laplace``
- .. math::
\pi(m|y,\sigma) = \frac{1}{2\sigma m}\exp\left(-\frac{|\log m - \log y|}{\sigma}\right)

Note that, for all continuous distributions, the simulated value is modeled
as the median of the noise distribution; i.e., measurements are assumed to
be equally likely to lie above or below the model output.
Comment thread
sebapersson marked this conversation as resolved.
Outdated

The distributions above are for a single data point.
For a collection :math:`D=\{m_i\}_i` of data points and corresponding
simulations :math:`Y=\{y_i\}_i`
Expand Down