Configuring R
Functions from these packages will be used throughout this document:
Here are some R settings I use in this document:
Parameters versus random variables
The parameters of a probability distribution shouldn’t involve the random variables being modeled:
\[X \sim Pois(\lambda)\] \[\hat{\lambda}_{ML} \rightarrow_D N(\bar{X}, \lambda/n)\]
Solution. \[\hat{\lambda}_{ML} \rightarrow_D N(\lambda, \lambda/n)\]
Expectations are means, not sums, despite the similarity of \(\Sigma\) and \(\text{E}\). Really, we should use \(\mu\) instead of \(\text{E}\).
Quarto
Separate divs and slide breaks
Make sure not to put a div :::
on the next line after a slide break ---
:
---
::: notes
:::
There needs to be an empty line between them:
---
::: notes
:::
library(printr)
currently breaks df-print: paged
See https://github.com/yihui/printr/issues/41