Week 7

Day 1

Today

  • Please bring your laptop today

  • Board work for statistical notation and JAGS syntax for Bayesian generalized linear models

  • Download data: Annamite Rabbit Data

  • Code example of fitting this model in brms.fit.glm.r

  • Install R packages:
# CRAN packages
install.packages(c("brms","bayesplot"))

Assigned

Day 2 (lab)

Today

  • Discuss Project
  • Board work for statistical notation and JAGS syntax for hierarchical Bayesian generalized linear models

  • Fit models specified on the board

  • Lab: Submit a markdown report that describes the model and results for the model with a fixed intercept and random slopes for dist.human by protected area. The report should inlcude,
    • statistical notation and JAGS syntax notation
    • traceplots with text visually assessing posterior convergence.
    • plots showing the posterior distributions (histograms or density plots) for each parameter.
    • a table of estimates of the difference between the slope for each protected area and the overall mean slope across protected areas; include a point estimate (mean/median/mode) and measures of uncertainty, e.g., Bayesian credible intervals, for each.
  • Download: Annamite Rabbit Data

Assigned