Skip to content

Commit c066b5a

Browse files
author
Chris Fonnesbeck
committed
Added description of RSV model
1 parent a7491ea commit c066b5a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pymc3/examples/rsv.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
'''
2+
This model estimates the population prevalence of respiratory syncytial virus (RSV) among children in Amman, Jordan, based on 3 years of admissions diagnosed with RSV to Al Bashir hospital.
3+
4+
To estimate this parameter from raw counts of diagnoses, we need to establish the population of 1-year-old children from which the diagnosed individuals were sampled. This involved correcting census data (national estimate of 1-year-olds) for the proportion of the population in the city, as well as for the market share of the hospital. The latter is based on expert esimate, and hence encoded as a prior.
5+
'''
6+
17
import pymc3 as pm
28
import numpy as np
39

0 commit comments

Comments
 (0)