Skip to content

Commit 6c7d63a

Browse files
committed
fix typo, add link to manual
1 parent 96fa4c5 commit 6c7d63a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

knitr/lotka-volterra/lotka-volterra-predator-prey.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ whenever
353353
$$
354354
\log y_{n, k} \sim \mathsf{Normal}(z_{n, k}, \sigma_n).
355355
$$
356-
The $\mathsf{LogNormal}$ density accounts for the non-linear change of variables through a Jacobian adjustment.^[The Stan manual chapter on changes of variables works through this particular example.]
356+
The $\mathsf{LogNormal}$ density accounts for the non-linear change of variables through a Jacobian adjustment.^[The [Stan manual chapter on changes of variables](https://mc-stan.org/docs/stan-users-guide/changes-of-variables.html) works through this particular example.]
357357

358358
## Weakly informative priors
359359

@@ -373,7 +373,7 @@ $$
373373

374374
## Prior for noise scale
375375

376-
The noise scale is proportional, so the following prior should be weakly informative, as a value smaller than 0.05 or larger than 3 would be unexpected.^[The 95% interval is approximately the mean plus or minus two standard deviations, which here is $\exp(-1 - 2) \approx 0.05$ and $\exp(-1 + 2) \approx 3$]. Because values are positive, this prior adopts the lognormal distribution.^[A lognormal prior on $\sigma$ is not consistent with zero values of $\sigma$, but we do not expect the data to be consistent with values of $\sigma$ near zero because the model will is not particularly accurate. It makes well calibrated predictions, but they are not very sharp.]
376+
The noise scale is proportional, so the following prior should be weakly informative, as a value smaller than 0.05 or larger than 3 would be unexpected.^[The 95% interval is approximately the mean plus or minus two standard deviations, which here is $\exp(-1 - 2) \approx 0.05$ and $\exp(-1 + 2) \approx 3$]. Because values are positive, this prior adopts the lognormal distribution.^[A lognormal prior on $\sigma$ is not consistent with zero values of $\sigma$, but we do not expect the data to be consistent with values of $\sigma$ near zero because the model is not particularly accurate. It makes well calibrated predictions, but they are not very sharp.]
377377

378378
$$
379379
\sigma \sim \mathsf{LogNormal}(-1, 1)

0 commit comments

Comments
 (0)