Skip to content

Commit

Permalink
Test copying over EpiAware function diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
athowes committed May 27, 2024
1 parent 00c22f0 commit e3dd8bb
Showing 1 changed file with 71 additions and 0 deletions.
71 changes: 71 additions & 0 deletions inst/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
## Model Diagram

- Solid lines indicate implemented features/analysis.
- Dashed lines indicate planned features/analysis.

## Current `EpiAware` model diagram

```mermaid
flowchart LR
A["Underlying GI
Bijector"]
EpiModel["AbstractTuringEpiModel
----------------------
Choice of target
for latent process:
DirectInfections
ExpGrowthRate
Renewal"]
InitModel["Priors for
initial scale of incidence"]
DataW[Data wrangling and QC]
ObsData["Observational Data
---------------------
Obs. cases y_t"]
LatentProcPriors["Latent process priors"]
LatentProc["AbstractTuringLatentModel
---------------------
RandomWalk"]
ObsModelPriors["Observation model priors
choice of delayed obs. model"]
ObsModel["AbstractObservationModel
---------------------
DelayObservations"]
E["Turing model constructor
---------------------
generate_epiaware"]
G[Posterior draws]
H[Posterior checking]
I[Post-processing]
A --> EpiData
EpiData --> EpiModel
InitModel --> EpiModel
EpiModel -->E
ObsData-->E
DataW-.->ObsData
LatentProcPriors-->LatentProc
LatentProc-->E
ObsModelPriors-->ObsModel
ObsModel-->E
E-->|sample...NUTS...| G
G-.->H
H-.->I
```

0 comments on commit e3dd8bb

Please sign in to comment.