|
1 | 1 | ---
|
2 |
| -title: "Ecological Time Series Analysis and Forecasting in R" |
| 2 | +title: "Ecological Time Series Analysis and Forecasting" |
3 | 3 | institute: "School of Veterinary Science, University of Queensland, Australia"
|
4 | 4 | author: "Nicholas Clark"
|
5 | 5 | date: "Friday 13th December, 2024"
|
@@ -231,7 +231,7 @@ myscatter = function(x,
|
231 | 231 | Press the "o" key on your keyboard to navigate among html slides
|
232 | 232 |
|
233 | 233 | Access the [workshop materials here](https://github.com/nicholasjclark/ESA_2024_timeseries)
|
234 |
| -- View the sample `R` scripts in [live_code_examples](https://github.com/nicholasjclark/ESA_2024_timeseries/tree/main/live_code_examples) |
| 234 | +- View the sample `r fontawesome::fa("r-project", fill = "steelblue")` scripts in [live_code_examples](https://github.com/nicholasjclark/ESA_2024_timeseries/tree/main/live_code_examples) |
235 | 235 | - Use the [Google Doc](https://docs.google.com/document/d/1xd3icf1wxGxO3SVt2AmKO8CkeKv1QpsxgqK7rR15U08/edit?tab=t.0#heading=h.ds87nag4ykyb) to ask questions
|
236 | 236 |
|
237 | 237 | Relevant open-source materials include:
|
@@ -616,7 +616,7 @@ background-image: url('./resources/SS_model.svg')
|
616 | 616 |
|
617 | 617 | \begin{align*}
|
618 | 618 | Y_t & \sim Normal(\alpha + \sum_{j=1}^{J}(\beta_j x_{jt}) + Zz_t, \sigma_y) \\
|
619 |
| -z_t & \sim Normal(\sum_{k=1}^{K}(\beta_k q_{kt}), \sigma_z) |
| 619 | +z_t & \sim Normal(f(z_{t-lag}) + \sum_{k=1}^{K}(\beta_k q_{kt}), \sigma_z) |
620 | 620 | \end{align*}
|
621 | 621 |
|
622 | 622 |
|
@@ -770,7 +770,7 @@ background-image: url('./ESA_slidedeck_files/figure-html/complexity-1.svg')
|
770 | 770 |
|
771 | 771 | \begin{align*}
|
772 | 772 | \mathbb{E}(\boldsymbol{Y_t}|\boldsymbol{X_t}, \boldsymbol{Q_t}) & = g^{-1}(\alpha + \sum_{j=1}^{J}f(x_{jt}) + Zz_t) \\
|
773 |
| -z_t & \sim Normal(\sum_{k=1}^{K}f(q_{kt}), \sigma_z) |
| 773 | +z_t & \sim Normal(f(z_{t-lag}) + \sum_{k=1}^{K}f(q_{kt}), \sigma_z) |
774 | 774 | \end{align*}
|
775 | 775 |
|
776 | 776 |
|
@@ -833,7 +833,7 @@ model <- mvgam(
|
833 | 833 |
|
834 | 834 | ## Produce all `Stan` code and objects
|
835 | 835 | ```{r eval=FALSE}
|
836 |
| -code(model) |
| 836 | +stancode(model) |
837 | 837 | ```
|
838 | 838 | .small[
|
839 | 839 | ```{r echo=FALSE}
|
@@ -889,4 +889,4 @@ background-size: contain
|
889 | 889 |
|
890 | 890 | class: inverse middle center big-subsection
|
891 | 891 |
|
892 |
| -# Live code example |
| 892 | +# Live code examples |
0 commit comments