Skip to content

Commit

Permalink
Add fitting with gamma
Browse files Browse the repository at this point in the history
  • Loading branch information
athowes committed Aug 13, 2024
1 parent 78fe0ac commit 80dc4c4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions vignettes/ebola.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,19 @@ What about the "continuous" no truncation no censoring distribution?
## Fitting

* Just fit the best model from above here?
* Going to do the sex stratified one for now

```{r}
fit_sex_gamma <- epidist::epidist(
data = obs_prep,
formula = brms::bf(mu ~ 1 + sex, shape ~ 1 + sex),
family = stats::Gamma(),
algorithm = "laplace",
refresh = 0
)
summary(fit_sex_gamma)
```

# Model selection

Expand Down

0 comments on commit 80dc4c4

Please sign in to comment.