Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Posterior predictions for count proportions/percentages #47

Closed
1 of 2 tasks
SamuelBrand1 opened this issue Oct 11, 2024 · 1 comment · Fixed by #68
Closed
1 of 2 tasks

Posterior predictions for count proportions/percentages #47

SamuelBrand1 opened this issue Oct 11, 2024 · 1 comment · Fixed by #68

Comments

@SamuelBrand1
Copy link
Collaborator

SamuelBrand1 commented Oct 11, 2024

Goal

The goal of this issue is to add to existing observation processes to include proportion (or %) of some underlying total count are from a particular pathogen of interest.

Context

CDC releases emergency dept visits dues to specific pathogen infection as %s of total visits, for example: proportion of ED visits due to Covid. Therefore, it makes sense to be capable of observing, and nowcasting/predicting this target.

My first view on modelling this is that the lowest difficulty appropriate modelling approach is to have:

  • A pyrenew model for count incidence of the target pathogen $E(t)$. Functionality for this exists already.
  • An independent model to predict total counts less the target pathogen $N(t)$.

Then the proportion of interest is:

$$\text{perc. total counts are target pathogen} = 100 \times \frac{E(t)}{E(t) + N(t)}.$$

Which we can sample from the posterior distribution of the model, either with an independent sample of $N(t)$ or a point est of $N(t)$.

Alternative approaches to consider

Main alternative is to treat the proportion of interest as the target, rather than the approach above which treats the inference problem as a transformation on currently existing inference dependent on the sampling/point est of an independent model.

Required features

Specifications

Potentially to be added after investigation.

@SamuelBrand1
Copy link
Collaborator Author

@damonbayer is #68 aimed at the completing the second task here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant