-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.Rmd
74 lines (52 loc) · 3.61 KB
/
index.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
title: "Bayesian capture-recapture inference with hidden Markov models"
description: "A two-day workshop with `R` and `Nimble`"
site: distill::distill_website
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```
**What**: This is a workshop on Bayesian inference of animal demography. Hopefully, you will learn about how to infer demographic parameters (e.g. survival, dispersal). Our hope is to provide you with what you need to go your own path. The event is free of charge, and video-recorded.
**For whom**: This is a workshop for ecologists. No previous experience with `Nimble` or Bayesian statistics is assumed, but knowledge of `R` is required.
**How**: Through a combination of lectures and live demonstrations, you will get acquainted with the Bayesian approach, MCMC methods and the `R` `Nimble` package to fit single-site, multi-site, multi-state and multi-event models to capture-recapture data within the hidden Markov modeling (HMM) framework.
**Who**: [O. Gimenez](https://twitter.com/oaggimenez), [C. R. Nater](https://twitter.com/chloe_nater), [S. Cubaynes](https://twitter.com/sarahcubaynes), [P. de Valpine](https://twitter.com/r_nimble), [M. Quéroué](https://twitter.com/maudqueroue)
**When**: May 17-18, 2021
**Where**: Online via Zoom/Slack
### Program
All times are Paris time UTC+2
+ **Day 1, May 17**
1. Welcoming words (9am-9:30am)
2. Crash course on Bayesian statistics and MCMC algorithms (9:30am-11am)
3. Free the modeler in you: Introduction to Nimble (11:30am-12:30pm)
4. What you see is not what you get: Hidden Markov models and capture-recapture data (2pm-3:30pm)
5. Dead or alive: Survival estimation - part 1 (4pm-5pm)
+ **Day 2, May 18**
5. Dead or alive: Survival estimation - part 2 (9am-10:30am)
6. On the move: Transition estimation (11am-12:30pm)
7. Known knowns, unknown knowns and unknowns: Uncertainty in state assignment (2pm-3:30pm)
8. Skip your coffee break: Speed up MCMC convergence (4pm-5pm)
9. Take-home messages (5pm-5:30pm)
### Requirements
+ Install [`R`](https://cloud.r-project.org/) and [`RStudio`](https://rstudio.com/products/rstudio/download/#download).
+ Install `Nimble` following [these guidelines](https://r-nimble.org/download). Then run the following code in `R`. If that runs without error, you're all set. If not, please get in touch with us.
```{r eval = FALSE, echo = TRUE}
library(nimble)
code <- nimbleCode({
y ~ dnorm(0,1)
})
model <- nimbleModel(code)
cModel <- compileNimble(model)
```
+ Install the following `R` packages: `tidyverse`, `MCMCvis`, `here` and `nimbleEcology`. You can install them all at once by running the following code in `R`:
```{r eval = FALSE, echo = TRUE}
install.packages(c("tidyverse", "MCMCvis", "here", "nimbleEcology"))
```
### To-do list
+ Add examples of sensitivity analyses.
+ Make class number match name of live demos html and R scripts files.
+ Add messages in the video recordings about typos in the slides.
+ In Nimble code for multievent models, change observation matrix at first encounter omega.init into omega.firste to avoid confusion with vector of initial state probabilities.
+ Add a FAQ section to the website synthesizing questions/answers in the Slack.
+ More suggestions from attendees in feedback forms.
### Reuse {.appendix}
Text and figures are licensed under Creative Commons Attribution [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Any computer code (R, HTML, CSS, etc.) in slides and worksheets, including in slide and worksheet sources, is also licensed under [MIT](https://github.com/oliviergimenez/bayesian-cr-workshop/blob/master/LICENSE.md).