Skip to content

Commit

Permalink
Template for second vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
athowes committed May 21, 2024
1 parent 03cac6f commit cf3e596
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions vignettes/ebola.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
title: "Using `epidist` to estimate..."
description: "A more detailed guide to using the `epidist` R package"
output:
bookdown::html_document2:
fig_caption: yes
code_folding: show
number_sections: true
pkgdown:
as_is: true
# csl: https://raw.githubusercontent.com/citation-style-language/styles/master/apa-numeric-superscript-brackets.csl
link-citations: true
vignette: >
%\VignetteIndexEntry{Getting in depth with epidist}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---

```{r setup, include=FALSE}
# exclude compile warnings from cmdstanr
knitr::opts_chunk$set(
fig.path = "figures/epidist-",
cache = TRUE,
collapse = TRUE,
comment = "#>",
message = FALSE,
warning = FALSE,
error = FALSE
)
```

```{r load-requirements}
library(epidist)
library(data.table)
library(purrr)
library(ggplot2)
```

# Data preparation

* Load the Ebola data, explain the columns and some of the context
* Clean it up into the right format
* Visualise the delay data. Perhaps any other relevant features -- we don't have geocoordinates right

# Model fitting

* Fit the lognormal model
* Fit the gamma model
* Other things here? Convergence checking?

# Post-processing

* Extract posterior predictions (of something) from both models -- posterior predictive checking?
* Compare the models. Give suggestion of which is a better fit
* Translate fitted distribution to probability mass function

## Bibliography {-}

Check warning on line 57 in vignettes/ebola.Rmd

View workflow job for this annotation

GitHub Actions / lint-changed-files

file=vignettes/ebola.Rmd,line=57,col=1,[trailing_blank_lines_linter] Missing terminal newline.

0 comments on commit cf3e596

Please sign in to comment.