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:
180
180
parameters using the `params` keyword argument.
181
181
182
182
1. _Which type of logp is being calculated._
183
+
183
184
By default, `run_ad` evaluates the 'internal log joint density' of the model,
184
185
i.e., the log joint density in the unconstrained space. Thus, for example, in
186
+
185
187
@model f() = x ~ LogNormal()
188
+
186
189
the internal log joint density is `logpdf(Normal(), log(x))`. This is the
187
190
relevant log density for e.g. Hamiltonian Monte Carlo samplers and is therefore
188
191
the most useful to test.
192
+
189
193
If you want the log joint density in the original model parameterisation, you
190
194
can use `getlogjoint`. Likewise, if you want only the prior or likelihood,
191
195
you can use `getlogprior` or `getloglikelihood`, respectively.
You can’t perform that action at this time.
0 commit comments