Skip to content

Commit 9bc942f

Browse files
dweindldilpath
andauthored
Clarify prior & bounds (#655)
Make the parameter prior description more consistent and explicit. Previously, it said that parameter bounds truncate the prior distributions, but the provided PDFs suggested otherwise. Co-authored-by: Dilan Pathirana <59329744+dilpath@users.noreply.github.com>
1 parent 6e7ddc8 commit 9bc942f

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

doc/v2/documentation_data_format.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,20 @@ Detailed field description
916916
Prior distributions
917917
~~~~~~~~~~~~~~~~~~~
918918

919+
The prior distributions supported for the
920+
:ref:`MAP objective function and for Bayesian inference <v2_objective_function>`
921+
are listed below. PEtab only supports univariate prior distributions.
922+
The probability density functions (PDFs) below assume that the parameter bounds
923+
are wide enough to not truncate the distributions. If the parameter bounds
924+
are narrower than the distribution's support, the distributions are truncated,
925+
resulting in the following truncated prior distribution:
926+
927+
.. math::
928+
\pi_{\text{trunc}}(x) = \frac{\pi(x)}{\text{CDF}(\text{upperBound}) - \text{CDF}(\text{lowerBound})}
929+
930+
where :math:`\pi(x)` is the PDF of the non-truncated distribution
931+
and :math:`\text{CDF}(\cdot)` its cumulative distribution function.
932+
919933
Let :math:`x` denote the parameter value and :math:`\Gamma` the
920934
`Gamma function <https://en.wikipedia.org/wiki/Gamma_function>`__.,
921935
then the following prior distributions are supported:

0 commit comments

Comments
 (0)