Predicted effectiveness of evaluated PrEP assignments for Harlem (A & C) and Bangkok (B & D). Red and white dots indicate mean and median values, respectively. Thick black bars show the interquartile range (IQR) and thin black lines show 1.5∗IQR. Shaded areas show the distribution of the data using kernel density estimation. A & B: Overall effectiveness for the whole population with agents on daily PrEP (gray), with optimal PrEP (purple), and adherence-based PrEP (blue). C & D: Effectiveness of daily and on-demand PrEP within the groups assigned to each regimen: with optimal PrEP assignment, daily PrEP optimal (gray), on-demand PrEP optimal (purple); with adherence-based PrEP assignment, daily PrEP assigned was qualitatively similar to daily PrEP optimal (not shown), on-demand PrEP assigned (blue).