epi-sim: A library for simulating epidemics as birth-death processes.
A library for simulating epidemics, with a focus on phylodynamics and observation models.
Available models
Birth-Death (see
Epidemic.BirthDeath)Birth-Death-Sampling (see
Epidemic.BirthDeathSampling)Birth-Death-Sampling-Occurrence (see
Epidemic.BirthDeathSamplingOccurrence)Birth-Death-Sampling-Catastrophe-Occurrence (see
Epidemic.BirthDeathSamplingCatastropheOccurrence)Birth-Death-Sampling-Catastrophe-Occurrence-Disaster (see
Epidemic.BDSCOD)Inhomogeneous Birth-Death (see
Epidemic.InhomogeneousBD)Inhomogeneous Birth-Death-Sampling (see
Epidemic.InhomogeneousBDS)
Output format
The output is a CSV with a header encoding which events occurred when and to
whom: event,time,primaryPerson,secondaryPerson. The primary person is either
the infecting person or the person who has been removed in some manner, the
secondary person is the person who was infected, or this is a missing value.
There are functions to assist in extracting observations from a full simulation:
birthDeathSamplingOccurrenceObservedEvents. In the case of a catastrophe event
where multiple individuals may be removed, they are represented as a colon
separated list of identifiers in the primaryPerson field.
[Skip to Readme]
Modules
[Index] [Quick Jump]
Downloads
- epi-sim-0.2.2.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.2.2.0, 0.4.2, 0.7.0 |
|---|---|
| Change log | ChangeLog.md |
| Dependencies | aeson (>=1.4.0 && <1.5), base (>=4.8.2 && <4.14), bytestring (>=0.10.6 && <0.11), cassava (>=0.5.2 && <0.6), hspec (>=2.7.4 && <2.8), mwc-random (>=0.14.0 && <0.15), primitive (>=0.6.1 && <0.8), statistics (>=0.15.0 && <0.16), trifecta (>=2.1 && <2.2), vector (>=0.11.0 && <0.13) [details] |
| License | MIT |
| Copyright | 2020 Alexander Zarebski |
| Author | Alexander Zarebski |
| Maintainer | aezarebski@gmail.com |
| Uploaded | by AlexanderZarebski at 2020-10-14T12:14:29Z |
| Category | Simulation |
| Home page | https://github.com/aezarebski/epi-sim#readme |
| Bug tracker | https://github.com/aezarebski/epi-sim/issues |
| Source repo | head: git clone https://github.com/aezarebski/epi-sim |
| Downloads | 631 total (6 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2020-10-14 [all 1 reports] |