Fig. 2

Bivariate Ripley’s K function analysis comparing the spatial distribution of children with and without malaria episodes: a for P. falciparum incidence in the first year, b for P. falciparum incidence in the second year, c for P. vivax incidence in the first year, and d for P. vivax incidence in the second year. The blue line represents the expected difference of K function values (Kinfected-Knoninfected) between children groups under the null hypothesis of spatial independence, the solid black line represents the observed difference K function, dashed red lines represents the confidence envelopes for expected K-function values calculated from 999 simulations