last updated: 2024-02-29


Purpose / Core Values (some preamble stuff)

Goals:
- Towards a tool to build collective intelligence - Mechanism to share best practices, and evolve. - Code sharing - Color scheme options - Extra support on select languages

General guidance

  • Clarity of intent
  • Simplicity
  • a couple
  • more
  • things

Data: EMOD

Epidemiological MODeling software (EMOD) (agent-based model for multiple diseases)

Ex: Modeled infection rate over time with small multiples

Author: Kurt Frey

ggplot(somedata, aes(x= x, y=y, linetype=case)) +
  geom_line() +
  facet_wrap(~region) +
  theme_bw()

source: (Frey, K. 2022)


Ex: Scatter plot

Author: Kurt Frey

ggplot(somedata, aes(x= years, y=rural_fraction, color=case)) +
  geom_point() 
  geom_point(mean_data, aes(x= years, y=rural_fraction, color=case), size=4) +
  scale_x_conintous(breaks=seq(0.1, 0.6, y=0.1), '<15yrs Fraction') +
  theme_idm()

source: (Frey, K. 2022)


Ex: Excess daily infections wiith small multiples

Author: Kurt Frey

ggplot(somedata, aes(x= years, y=rural_fraction, color=case)) +
  geom_point() 
  geom_point(mean_data, aes(x= years, y=rural_fraction, color=case), size=4) +
  scale_x_conintous(breaks=seq(0.1, 0.6, y=0.1), '<15yrs Fraction') +
  facet_wrap(~region) +
  theme_idm()

source: (Frey, K. 2022)


Ex: Geospatial inset over multiple regions

Author: M Zimmerman

p.region1 <- ggplot(somedata, aes(x= years, y=rural_fraction, color=case)) +
  geom_point() 
  geom_point(mean_data, aes(x= years, y=rural_fraction, color=case), size=4) +
  scale_x_conintous(breaks=seq(0.1, 0.6, y=0.1), '<15yrs Fraction') +
  facet_wrap(~region) +
  theme_idm()
 
ggarange()



#

#source: (Zimmermann 2019)

- - -

source: (Zimmermann 2019)



Data: agent-based - FPsim

Ex: Scatter plot

ggplot(somedata, aes(x= years, y=rural_fraction, color=case)) +
  geom_point() 
  geom_point(mean_data, aes(x= years, y=rural_fraction, color=case), size=4) +
  scale_x_conintous(breaks=seq(0.1, 0.6, y=0.1), '<15yrs Fraction') +
  theme_idm()

source: (O’Brien 2023)


Data: PACE-HRH (monte carlo)

Ex: workload

ggplot(Mean_Total,aes(x=Year,y=MeanHrs/WeeksPerYr,group=Scenario_ID,color=Scenario_ID))+
  geom_line()+
  theme_bw()+
  facet_wrap(~adminName,scales="free_y")


ggplot(Mean_Total,aes(x=Year,y=MeanHrs/WeeksPerYr,group=adminName,linetype=adminName))+
  geom_line()+
  theme_bw()+
  facet_wrap(~Scenario_ID,scales="free_y")

source: (Hagendorn 2023)

link to full R-script in databricks: link here in databricks


ggplot(Mean_Total,aes(x=Year,y=MeanHrs/WeeksPerYr,group=Scenario_ID,color=Scenario_ID))+
  geom_line()+
  theme_bw()+
  facet_wrap(~adminName,scales="free_y")


ggplot(Mean_Total,aes(x=Year,y=MeanHrs/WeeksPerYr,group=Scenario_ID,color=Scenario_ID))+
  geom_line()+
  theme_bw()+
  facet_wrap(~adminName,scales="free_y")


Data: DHS survey

source: (Mercer 2023)


References:

Frey, K., et al. (2022). Modeling anticipated changes in numbers of SARS-CoV-2 infections within communities due to immunization campaigns. Gates Open Research, 6.

Hagedorn, B., Han, R., Eliot, C., Wu, M., Schripsema, J., & McCarthy, K. (2023). Implementation and applications of PACE-HRH, a stochastic workload model of human resources for health.

Hagedorn, B. L., Han, R., & McCarthy, K. A. (2023). One size does not fit all: an application of stochastic modeling to estimating primary healthcare needs in Ethiopia at the sub-national level. BMC Health Services Research, 23(1), 1070.

Mercer, L. D., Lu, F., & Proctor, J. L. (2019). Sub-national levels and trends in contraceptive prevalence, unmet need, and demand for family planning in Nigeria with survey uncertainty. BMC Public Health, 19(1), 1-9.

Noori, N., Skrip, L. A., Oron, A. P., McCarthy, K. A., Proctor, J. L., Chabot-Couture, G., … & Trehan, I. (2022). Potential Impacts of Mass Nutritional Supplementation on Measles Dynamics: A Simulation Study. The American Journal of Tropical Medicine and Hygiene, 107(4), 863.

O’Brien, M. L., Valente, A., Kerr, C. C., Proctor, J. L., Noori, N., Root, E. D., … & Zimmermann, M. (2023). FPsim: An agent-based model of family planning. npj Women’s Health, 1(1), 1.

Ribado, J. V., Li, N. J., Thiele, E., Lyons, H., Cotton, J. A., Weiss, A., … & Proctor, J. L. (2021). Linked surveillance and genetic data uncovers programmatically relevant geographic scale of Guinea worm transmission in Chad. PLOS Neglected Tropical Diseases, 15(7), e0009609.

Zimmermann, M., Frey, K., Hagedorn, B., Oteri, A. J., Yahya, A., Hamisu, M., … & Chabot-Couture, G. (2019). Optimization of frequency and targeting of measles supplemental immunization activities in Nigeria: a cost-effectiveness analysis. Vaccine, 37(41), 6039-6047.