Skip to content

Commit

Permalink
minor edits to README, Hybrid vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
smitdave committed Feb 15, 2024
1 parent ac7bbf5 commit 93b1e8e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .Rproj.user/BAB4038F/pcs/source-pane.pper
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"activeTab": 4
"activeTab": 1
}
Binary file removed R/.parasite_cohorts.R.swp
Binary file not shown.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ We present the computational algorithms that support a probabilistic approach to

The probabilistic approach is both highly realistic and descriptive, but our goal was a synthesis. This synthesis involves a few steps:

1. We derive variables that can track the mean MoI, the mean AoI and all its moments, and the probability of detection.
1. We define mean MoI, the mean AoI and all its moments, and the probability of detection.

2. Hybrid models for the MoI already exist, but we show how this approach can be extended to systems of differential equations that track the mean and higher order moments of the distribution of the AoI.

Expand All @@ -24,9 +24,6 @@ The probabilistic approach is both highly realistic and descriptive, but our goa
To put it another way, we can reduce the behavior of these highly complex probabilistic systems to a simple system of equations that has a high degree of accuracy. The computational and conceptual simplicity of hybrid models have some simplicity over compartmental models and stochastic individual-based models, and with the supporting probabilistic framework, provide a sound basis for a synthesis of observational malaria epidemiology.


| A | B |
| --- | --- |
| a | b |


## References
Expand Down
4 changes: 3 additions & 1 deletion vignettes/Hybrid.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,11 @@ y_\tau(a) = \int_0^a \alpha \; f_Y(\alpha, a, \tau) \; d\alpha $$
A differential equation for $y_\tau(a)$ is:

$$
\frac{dy}{da} = 1 - \frac{h}{p} y + F(r,m) \frac{x}{p}
\frac{dy}{da} = 1 - \frac{h}{p} y + \phi(r,m) \frac{x}{p}
$$

Where $\phi$ computes the probability that an infection with MoI$\geq 2$ *increases* with a loss.

To verify, we can compute the moment directly. The function `solve_dAoYda` gives solutions:

```{r}
Expand Down

0 comments on commit 93b1e8e

Please sign in to comment.