Details of the analysis (Mathematica notebook) from The evolution of antibiotic resistance in a structured host population François Blanquart Sonja Lehtinen Marc Lipsitch Christophe Fraser 10.6084/m9.figshare.6450707.v1 https://rs.figshare.com/articles/dataset/Details_of_the_analysis_Mathematica_notebook_from_The_evolution_of_antibiotic_resistance_in_a_structured_host_population/6450707 The evolution of antibiotic resistance in opportunistic pathogens such as <i>Streptococcus pneumoniae</i>, <i>Escherichia coli</i> or <i>Staphylococcus aureus</i> is a major public health problem, as infection with resistant strains leads to prolonged hospital stay and increased risk of death. Here, we develop a new model of the evolution of antibiotic resistance in a commensal bacterial population adapting to a heterogeneous host population composed of untreated and treated hosts, and structured in different host classes with different antibiotic use. Examples of host classes include age groups and geographic locations. Explicitly modelling the antibiotic treatment reveals that the emergence of a resistant strain is favoured by more frequent but shorter antibiotic courses, and by higher transmission rates. In addition, in a structured host population, localized transmission in host classes promotes both local adaptation of the bacterial population and the global maintenance of coexistence between sensitive and resistant strains. When transmission rates are heterogeneous across host classes, resistant strains evolve more readily in core groups of transmission. These findings have implications for the better management of antibiotic resistance: reducing the rate at which individuals receive antibiotics is more effective to reduce resistance than reducing the duration of treatment. Reducing the rate of treatment in a targeted class of the host population allows greater reduction in resistance, but determining which class to target is difficult in practice. 2018-06-06 16:45:40 drug resistance antimicrobial resistance mathematical model adaptation heterogeneous environment community