This list isn’t meant to be exhaustive, but I hope it is useful in preparing for the test.
Creating Numerical and Graphical Summaries
Grid Method
Quadratic approximation using quap()
Prior and posterior sampling
“manually” (for example, when using the grid method)
using extract.samples()
, extract.prior()
, link()
, and sim()
Creating counterfactual data (for example, for use with link()
and sim()
creating HDIs for various quantities
creating plots with prior or posterior distributions
Centering (and uncentering) variables
A non-exhaustive list of R commands you should know
Plotting commands for the types of plots we have been making.
Working with data frames: tibble()
, expand_grid()
, mutate()
, filter()
, bind_rows()
, bind_cols()
Working with functions: function()
, apply()
, map2_dbl()
(and cousins)
From rethinking
: quap()
, alist()
, precis()
, extract.samples()
, extract.prior()
, link()
, sim()
Distributions: dnorm()
, pnorm()
, qnorm(),
rnorm()` (and similar for other distributions)
Miscellaneous: apply()
, str()
, head()
, slice_sample()
Conditional probability and connections to Bayesian inference
definition of conditional probability
problems like the pandas, Alice’s hats, etc.
\(\mathrm{posterior} \propto \mathrm{prior} \cdot \mathrm{likelihood}\)
What grid approximation is, how it works, and why it is limited to models with only a few parameters.
Why quadratic approximation is called that and roughly how it works.
potential problems with quadratic approximation (and why we will need a third method eventually)
advantages of quadratic approximation over the grid method
Conjugate priors
What prior sampling is and what can be done with prior samples.
What posterior sampling is and what can be done with posterior samples.
Creating models
Interpreting models
Why and how to center variables used in models
Families of distributions we have used: Uniform, Bernouli/Binomial, Beta, Normal, Log-normal, Exponential