File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -180,12 +180,16 @@ Everything else is optional, and can be categorised into several groups:
180180 parameters using the `params` keyword argument.
181181
1821821. _Which type of logp is being calculated._
183+
183184 By default, `run_ad` evaluates the 'internal log joint density' of the model,
184185 i.e., the log joint density in the unconstrained space. Thus, for example, in
186+
185187 @model f() = x ~ LogNormal()
188+
186189 the internal log joint density is `logpdf(Normal(), log(x))`. This is the
187190 relevant log density for e.g. Hamiltonian Monte Carlo samplers and is therefore
188191 the most useful to test.
192+
189193 If you want the log joint density in the original model parameterisation, you
190194 can use `getlogjoint`. Likewise, if you want only the prior or likelihood,
191195 you can use `getlogprior` or `getloglikelihood`, respectively.
You can’t perform that action at this time.
0 commit comments