<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with MathML3 v1.3 20210610//EN"  "JATS-archivearticle1-3-mathml3.dtd"><article xmlns:ali="http://www.niso.org/schemas/ali/1.0/" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.3"><front><journal-meta><journal-id journal-id-type="nlm-ta">elife</journal-id><journal-id journal-id-type="publisher-id">eLife</journal-id><journal-title-group><journal-title>eLife</journal-title></journal-title-group><issn publication-format="electronic" pub-type="epub">2050-084X</issn><publisher><publisher-name>eLife Sciences Publications, Ltd</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">107153</article-id><article-id pub-id-type="doi">10.7554/eLife.107153</article-id><article-id pub-id-type="doi" specific-use="version">10.7554/eLife.107153.3</article-id><article-version article-version-type="publication-state">version of record</article-version><article-categories><subj-group subj-group-type="display-channel"><subject>Tools and Resources</subject></subj-group><subj-group subj-group-type="heading"><subject>Epidemiology and Global Health</subject></subj-group></article-categories><title-group><article-title>Using step selection functions to analyse human mobility using telemetry data in infectious disease epidemiology: a case study of leptospirosis</article-title></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><name><surname>Ruiz Cuenca</surname><given-names>Pablo</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0002-2180-9509</contrib-id><email>p.ruizcuenca@lancaster.ac.uk</email><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="fn" rid="con1"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author"><name><surname>Souza</surname><given-names>Fábio N</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0002-3542-8918</contrib-id><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="aff" rid="aff3">3</xref><xref ref-type="other" rid="fund2"/><xref ref-type="fn" rid="con2"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author"><name><surname>Coutinho do Nascimento</surname><given-names>Roberta</given-names></name><xref ref-type="aff" rid="aff3">3</xref><xref ref-type="fn" rid="con3"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author"><name><surname>Goncalves da Silva</surname><given-names>Ariane</given-names></name><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="fn" rid="con4"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author"><name><surname>Eyre</surname><given-names>Max T</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0001-9847-8632</contrib-id><xref ref-type="aff" rid="aff4">4</xref><xref ref-type="other" rid="fund4"/><xref ref-type="fn" rid="con5"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author"><name><surname>Santana</surname><given-names>Juliet O</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0002-1034-6991</contrib-id><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="aff" rid="aff3">3</xref><xref ref-type="fn" rid="con6"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author"><name><surname>de Oliveira</surname><given-names>Daiana</given-names></name><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="aff" rid="aff3">3</xref><xref ref-type="fn" rid="con7"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author"><name><surname>Ribeiro de Souza</surname><given-names>Emile V</given-names></name><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="fn" rid="con8"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author"><name><surname>Palma</surname><given-names>Fabiana G</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0002-7345-4914</contrib-id><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="fn" rid="con9"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author"><name><surname>de Carvalho Santiago</surname><given-names>Diogo C</given-names></name><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="fn" rid="con10"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author"><name><surname>dos Santos Ribeiro</surname><given-names>Priscyla</given-names></name><xref ref-type="aff" rid="aff5">5</xref><xref ref-type="aff" rid="aff6">6</xref><xref ref-type="fn" rid="con11"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author"><name><surname>Ferreira dos Santos</surname><given-names>Priscilla Elizabeth</given-names></name><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="fn" rid="con12"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author"><name><surname>Khalil</surname><given-names>Hussein</given-names></name><xref ref-type="aff" rid="aff7">7</xref><xref ref-type="fn" rid="con13"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author"><name><surname>Read</surname><given-names>Jonathan M</given-names></name><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="other" rid="fund5"/><xref ref-type="fn" rid="con14"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author"><name><surname>Cremonese</surname><given-names>Cleber</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0003-2700-7416</contrib-id><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="fn" rid="con15"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author" equal-contrib="yes"><name><surname>Costa</surname><given-names>Federico</given-names></name><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="aff" rid="aff3">3</xref><xref ref-type="aff" rid="aff8">8</xref><xref ref-type="fn" rid="equal-contrib1">†</xref><xref ref-type="fn" rid="con16"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author" equal-contrib="yes"><name><surname>Giorgi</surname><given-names>Emanuele</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0003-0640-181X</contrib-id><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="fn" rid="equal-contrib1">†</xref><xref ref-type="fn" rid="con17"/><xref ref-type="fn" rid="conf1"/></contrib><aff id="aff1"><label>1</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/04f2nsd36</institution-id><institution>Centre for Health Informatics, Computing, and Statistics (CHICAS), Lancaster Medical School, Lancaster University</institution></institution-wrap><addr-line><named-content content-type="city">Lancaster</named-content></addr-line><country>United Kingdom</country></aff><aff id="aff2"><label>2</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/03k3p7647</institution-id><institution>Institute of Collective Health, Federal University of Bahia</institution></institution-wrap><addr-line><named-content content-type="city">Salvador</named-content></addr-line><country>Brazil</country></aff><aff id="aff3"><label>3</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/02y7p0749</institution-id><institution>Instituto Gonçalo Moniz, Fundação Oswaldo Cruz, Ministério da Saúde</institution></institution-wrap><addr-line><named-content content-type="city">Salvador</named-content></addr-line><country>Brazil</country></aff><aff id="aff4"><label>4</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/00a0jsq62</institution-id><institution>Environmental Health Group, London School of Hygiene and Tropical Medicine</institution></institution-wrap><addr-line><named-content content-type="city">London</named-content></addr-line><country>United Kingdom</country></aff><aff id="aff5"><label>5</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/03k3p7647</institution-id><institution>Federal University of Bahia, National Institute of Science and Technology in Interdisciplinary and Transdiciplinary Studies in Ecology and Evolution</institution></institution-wrap><addr-line><named-content content-type="city">Salvador</named-content></addr-line><country>Brazil</country></aff><aff id="aff6"><label>6</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/05grdyy37</institution-id><institution>Amsterdam University Medical Centre, Leptospirosis Reference Center, Medical Microbiology and Infection Control</institution></institution-wrap><addr-line><named-content content-type="city">Amsterdam</named-content></addr-line><country>Netherlands</country></aff><aff id="aff7"><label>7</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/02yy8x990</institution-id><institution>Department of Wildlife, Fish and Environmental Studies, Swedish University of Agricultural Sciences (SLU)</institution></institution-wrap><addr-line><named-content content-type="city">Uppsala</named-content></addr-line><country>Sweden</country></aff><aff id="aff8"><label>8</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/03v76x132</institution-id><institution>Department of Epidemiology of Microbial Diseases, School of Public Health, Yale University</institution></institution-wrap><addr-line><named-content content-type="city">New Haven</named-content></addr-line><country>United States</country></aff></contrib-group><contrib-group content-type="section"><contrib contrib-type="editor"><name><surname>Wirsiy</surname><given-names>Frankline</given-names></name><role>Reviewing Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/01d9dbd65</institution-id><institution>Africa Centres for Disease Control and Prevention, Amref Health Africa</institution></institution-wrap><country>Cameroon</country></aff></contrib><contrib contrib-type="senior_editor"><name><surname>Franco</surname><given-names>Eduardo L</given-names></name><role>Senior Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/01pxwe438</institution-id><institution>McGill University</institution></institution-wrap><country>Canada</country></aff></contrib></contrib-group><author-notes><fn fn-type="con" id="equal-contrib1"><label>†</label><p>These authors contributed equally to this work</p></fn></author-notes><pub-date publication-format="electronic" date-type="publication"><day>01</day><month>12</month><year>2025</year></pub-date><volume>14</volume><elocation-id>RP107153</elocation-id><history><date date-type="sent-for-review" iso-8601-date="2025-04-28"><day>28</day><month>04</month><year>2025</year></date></history><pub-history><event><event-desc>This manuscript was published as a preprint.</event-desc><date date-type="preprint" iso-8601-date="2025-05-01"><day>01</day><month>05</month><year>2025</year></date><self-uri content-type="preprint" xlink:href="https://doi.org/10.1101/2025.04.28.25326582"/></event><event><event-desc>This manuscript was published as a reviewed preprint.</event-desc><date date-type="reviewed-preprint" iso-8601-date="2025-06-27"><day>27</day><month>06</month><year>2025</year></date><self-uri content-type="reviewed-preprint" xlink:href="https://doi.org/10.7554/eLife.107153.1"/></event><event><event-desc>The reviewed preprint was revised.</event-desc><date date-type="reviewed-preprint" iso-8601-date="2025-10-01"><day>01</day><month>10</month><year>2025</year></date><self-uri content-type="reviewed-preprint" xlink:href="https://doi.org/10.7554/eLife.107153.2"/></event></pub-history><permissions><copyright-statement>© 2025, Ruiz Cuenca et al</copyright-statement><copyright-year>2025</copyright-year><copyright-holder>Ruiz Cuenca et al</copyright-holder><ali:free_to_read/><license xlink:href="http://creativecommons.org/licenses/by/4.0/"><ali:license_ref>http://creativecommons.org/licenses/by/4.0/</ali:license_ref><license-p>This article is distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution License</ext-link>, which permits unrestricted use and redistribution provided that the original author and source are credited.</license-p></license></permissions><self-uri content-type="pdf" xlink:href="elife-107153-v1.pdf"/><abstract><sec id="abs1"><title>Background:</title><p>Human movement plays a critical role in the transmission of infectious diseases, especially those with environmental drivers like leptospirosis—a zoonotic bacterial infection linked to mud and water contact. Using GPS loggers, we collected detailed telemetry data to understand how fine-scale movements can be analysed in the context of an infectious disease.</p></sec><sec id="abs2"><title>Methods:</title><p>We recruited individuals living in urban slums in Salvador, Brazil, to analyse how they interact with environmental risk factors such as domestic rubbish piles, open sewers, and a local stream. We aimed to identify differences in movement patterns inside the study areas by gender, age, and leptospirosis serological status. Step selection functions, a spatio-temporal model used in animal movement ecology, estimated selection coefficients to represent the likelihood of movement toward specific environmental factors.</p></sec><sec id="abs3"><title>Results:</title><p>With 128 participants wearing GPS devices for 24–48 hr, recording locations every 35 s during active daytime hours, we segmented movements into morning, midday, afternoon, and evening. Our results suggested women moved closer to the central stream and farther from open sewers compared to men, while serologically positive individuals avoided open sewers.</p></sec><sec id="abs4"><title>Conclusions:</title><p>This study introduces a novel method for analysing human telemetry data in infectious disease research.</p></sec><sec id="abs5"><title>Funding:</title><p>Funding provided by Wellcome Trust, UK Medical Research Council, Brazilian National Research Council, Reckitt Global Hygiene Institute, and National Institute of Allergy and Infectious Diseases.</p></sec></abstract><abstract abstract-type="plain-language-summary"><title>eLife digest</title><p>Leptospirosis is a disease caused by <italic>Leptospira</italic> bacteria and can be transmitted to humans from other animals. It spreads through the urine of infected animals and can infect individuals who come into contact with contaminated water or soil.</p><p>Previous research indicates that in urban slum settings, men face a higher risk of infection than women, which is believed to result from differences in behavior and access to certain locations rather than biological factors. However, data on human movement is typically gathered using mobile data or Google Location History, which often lack detailed information needed to understand movement and behavior at a more refined scale.</p><p>GPS loggers are a growing tool for tracking animal movement. These small devices can be worn by individuals and record locations at regular preset time intervals, providing a much more detailed picture than conventional methods. Ruiz Cuenca et al. sought to determine if it was possible to analyze people’s movement through their neighborhoods by adapting existing methods used in ecology.</p><p>For the movement analysis study, the researchers recruited adults who had been living in one of the study areas in Salvador, Brazil, for at least 6 months. People were tested for potential <italic>Leptospira</italic> infection and were asked to wear GPS loggers for continuous periods of up to 48 hours between March and November 2022. The GPS loggers recorded their location every 35 seconds.</p><p>A target of 30 people per study area was chosen, balanced by gender and blind to their infection status. The analysis further focused on three environmental settings: community stream, open sewers and domestic rubbish piles. Ruiz Cuenca et al. used Step Selection Functions (SSFs), a relatively new model for studying the resource selection of animals moving through a landscape. The model compares the environmental attributes of observed steps with alternative random steps taken from the same starting point.</p><p>The analyses indicate that step selection functions can be adapted to study how people travel through their neighborhoods. Although the methods used are still novel and results are not conclusive, no apparent difference in movement could be found between infection statuses or ages concerning the distances to stream, open sewer points or domestic rubbish piles. However, women tended to move closer to the central stream and farther from open sewer points than men, suggesting that women may avoid open sewers due to perceived risks, while men may not share these perceptions. Moreover, infected individuals were more likely to move outside the buffer zone for open sewers compared to non-infected individuals.</p><p>Leptospirosis is strongly linked to human dwellings, and living near an open sewer may increase the risk of getting infected. A better understanding of how the movement of individuals could affect their risk of infection may enable the implementation of appropriate measures to reduce infection risk. However, further research is needed to fully understand where infections are happening, for example, by increasing the number of people participating in a study and evaluating perceived infection risks.</p></abstract><kwd-group kwd-group-type="author-keywords"><kwd>leptospirosis</kwd><kwd>human movement</kwd><kwd>GPS</kwd><kwd>urban health</kwd><kwd>infectious diseases</kwd><kwd>zoonosis</kwd></kwd-group><kwd-group kwd-group-type="research-organism"><title>Research organism</title><kwd>Human</kwd><kwd>Other</kwd></kwd-group><funding-group><award-group id="fund1"><funding-source><institution-wrap><institution-id institution-id-type="ror">https://ror.org/029chgv08</institution-id><institution>Wellcome Trust</institution></institution-wrap></funding-source><award-id award-id-type="doi">10.35802/218987</award-id><principal-award-recipient><name><surname>Costa</surname><given-names>Federico</given-names></name></principal-award-recipient></award-group><award-group id="fund2"><funding-source><institution-wrap><institution-id institution-id-type="ror">https://ror.org/03swz6y49</institution-id><institution>Conselho Nacional de Desenvolvimento Científico e Tecnológico</institution></institution-wrap></funding-source><award-id>150142/2024-2</award-id><principal-award-recipient><name><surname>Souza</surname><given-names>Fábio N</given-names></name></principal-award-recipient></award-group><award-group id="fund3"><funding-source><institution-wrap><institution-id institution-id-type="ror">https://ror.org/03x94j517</institution-id><institution>Medical Research Council</institution></institution-wrap></funding-source><award-id>PhD studentship</award-id><principal-award-recipient><name><surname>Ruiz Cuenca</surname><given-names>Pablo</given-names></name></principal-award-recipient></award-group><award-group id="fund4"><funding-source><institution-wrap><institution>Reckitt Global Hygiene Institute</institution></institution-wrap></funding-source><award-id>Fellowship</award-id><principal-award-recipient><name><surname>Eyre</surname><given-names>Max T</given-names></name></principal-award-recipient></award-group><award-group id="fund5"><funding-source><institution-wrap><institution-id institution-id-type="ror">https://ror.org/043z4tv69</institution-id><institution>National Institute of Allergy and Infectious Diseases</institution></institution-wrap></funding-source><award-id>1R01AI160780-01</award-id><principal-award-recipient><name><surname>Read</surname><given-names>Jonathan M</given-names></name></principal-award-recipient></award-group><funding-statement>The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication. For the purpose of Open Access, the authors have applied a CC BY public copyright license to any Author Accepted Manuscript version arising from this submission.</funding-statement></funding-group><custom-meta-group><custom-meta specific-use="meta-only"><meta-name>Author impact statement</meta-name><meta-value>Step selection functions are a useful tool for analysing fine-scale human movements to understand environmental interactions in the context of infectious disease epidemiology.</meta-value></custom-meta><custom-meta specific-use="meta-only"><meta-name>publishing-route</meta-name><meta-value>prc</meta-value></custom-meta></custom-meta-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>GPS loggers are a growing tool for capturing both human and animal movements (<xref ref-type="bibr" rid="bib11">Owers et al., 2018</xref>; <xref ref-type="bibr" rid="bib5">Fornace et al., 2019</xref>). These small devices can be worn by individuals and record locations at regular preset time intervals. Compared to other methods of collecting human movements, such as cell tower traffic or Google Location History which are suited for analysing large-scale mobility (<xref ref-type="bibr" rid="bib9">Kraemer et al., 2020</xref>; <xref ref-type="bibr" rid="bib10">Moncayo-Unda et al., 2023</xref>), these devices can capture very fine-scale movements. These data are crucial in quantifying exposure within complex environments, where terrain can change rapidly. Furthermore, movements recorded by GPS loggers can be assigned to specific individuals. This allows linkage between individual socio-demographic factors and the data collected, especially convenient when performing epidemiological analyses. Other methods for measuring human mobility are inherently anonymous and do not allow this connection to be made. An important challenge when using GPS loggers is that they rely on individual compliance for carrying the device at all times, an issue which is overcome by the other methods mentioned above.</p><p>The analysis of human telemetry data is an emerging field of research in epidemiology. Whilst previous methods have advanced this area of research, improvements could be made. For example, the methods used by <xref ref-type="bibr" rid="bib11">Owers et al., 2018</xref>, to assess the relationship between urban slum residents’ movements and the risk of leptospirosis infection were able to analyse differences between genders, but did not consider other important socio-demographic factors. In another study, <xref ref-type="bibr" rid="bib5">Fornace et al., 2019</xref>, used GPS loggers to assess human exposure to mosquito vectors of <italic>Plasmodium knowlesi</italic> malaria and environmental factors associated with this. Various individual-level factors were included in the analyses performed in this paper, questioning how these could affect participants’ movements. However, by not including comparisons of possible choices an individual could have made, this study could not determine how the environment may have influenced movement.</p><p>Leptospirosis is a zoonotic bacterial infectious disease with strong environmental drivers. It has been estimated to cause over 1 million yearly human cases worldwide, leading to 58,900 deaths (<xref ref-type="bibr" rid="bib2">Costa et al., 2015</xref>). Rats are the main reservoir of the disease, shedding bacteria in their urine (<xref ref-type="bibr" rid="bib1">Adler and de la Peña Moctezuma, 2010</xref>). Human infection is associated with exposure to contaminated waters and soils (<xref ref-type="bibr" rid="bib1">Adler and de la Peña Moctezuma, 2010</xref>; <xref ref-type="bibr" rid="bib7">Johnson et al., 2024</xref>; <xref ref-type="bibr" rid="bib14">Reis et al., 2008</xref>). Evidence shows that in urban slum settings, men have a higher infection risk than women (<xref ref-type="bibr" rid="bib6">Hagan et al., 2016</xref>). This has been attributed to differences in behaviours, especially in how individuals move through their communities, rather than biological differences. Indeed, there is evidence that men tend to visit much larger areas during their daily journeys than women (<xref ref-type="bibr" rid="bib11">Owers et al., 2018</xref>).</p><p>Exactly where people are most exposed to high leptospirosis contamination, and therefore where infection is most likely to occur, has not been investigated. Previous studies have focused on the assessment of the peri-domiciliary environment and its associations to infection risk (<xref ref-type="bibr" rid="bib7">Johnson et al., 2024</xref>; <xref ref-type="bibr" rid="bib14">Reis et al., 2008</xref>; <xref ref-type="bibr" rid="bib6">Hagan et al., 2016</xref>). However, these analyses assume people are mostly exposed to infection risk in this area and ignore the exposure that individuals may incur when they move further away from their households. Furthermore, people’s movement patterns may differ depending on individual socio-demographic factors which could in turn affect their risk of exposure. If individuals traverse highly contaminated areas where the risk of exposure is heightened, it can lead to an increased risk of infection. This is particularly important in environmentally heterogeneous areas, such as urban slums, where the landscape can change drastically in small spaces. Technological advances now allow us to record and analyse fine-scale movements to understand how these may affect infection risk.</p><p>In this paper, we developed a modelling framework to understand how telemetry data can be used to identify and quantify determinants of human movements, adapting methods from animal movement ecology. We present a novel method for analysing telemetry data to estimate environmental selection as individuals move through their urban communities. This method is applied in a low-income urban setting in Salvador, Brazil, and is used to examine how individuals interact with various key points in their surrounding environment. Furthermore, we analyse if there are any differences in movements inside the study areas between genders, ages, and leptospirosis serological status. This method of analysis overcomes limitations from other studies by, firstly, specifically modelling choice of movement in relation to environmental factors and, secondly, incorporating multiple socio-demographic factors which allows regression relationships to be jointly adjusted for these.</p></sec><sec id="s2" sec-type="methods"><title>Methods</title><p>ICMJE guidelines have been followed and a STROBE checklist is included with the manuscript as a supplementary material.</p><sec id="s2-1"><title>Study areas</title><p>This study was nested in a prospective cohort study taking place across Salvador, Brazil (<xref ref-type="bibr" rid="bib3">Cremonese et al., 2023</xref>). Salvador is the third largest city in Brazil, located in the north-eastern region of the country and has a tropical climate. The study areas are considered urban slums (locally called ‘favelas’). They were selected for a number of reasons: firstly, they all have similar demographic and socio-economic factors within their populations; secondly, they all have a stream running through the centre of the community, which is considered contaminated; and thirdly, there is a high burden of leptospirosis in these populations.</p><p>All four study areas are small, with an approximate size of 0.03 km<sup>2</sup>. They are located across the outskirts of Salvador (<xref ref-type="fig" rid="fig1">Figure 1</xref>). The communities have very heterogeneous environments, with rapid changes in both land cover and slope. Buildings in these communities have been built with limited or no urban planning. They can be of varying quality, ranging from gated areas with multiple dwellings protected from rain and flooding to single brick buildings with informal entryways.</p><fig id="fig1" position="float"><label>Figure 1.</label><caption><title>Map showing location of each study area in Salvador.</title><p>Each area includes symbology for stream (blue line), open sewer points (purple diamond), and domestic rubbish piles (orange triangle).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-107153-fig1-v1.tif"/></fig></sec><sec id="s2-2"><title>Individual characteristics</title><p>The eligibility criteria for inclusion in the study were: individuals who (1) had been living at one of the study areas for at least 6 months, (2) slept there at least 3 nights a week, (3) were at least 18 years old, and (4) gave written consent (<xref ref-type="bibr" rid="bib3">Cremonese et al., 2023</xref>). Participants were asked to answer a baseline survey which collected their demographic, social, and economic characteristics, including age and gender. A blood sample was taken from each participant to determine serological evidence for <italic>Leptospira</italic> infection using the microscopic agglutination test (MAT), the standard test used for leptospirosis diagnosis (<xref ref-type="bibr" rid="bib1">Adler and de la Peña Moctezuma, 2010</xref>). In this analysis, a MAT showing antibodies with a titre &gt;1:50 against any <italic>Leptospira</italic> serovar was considered a positive result. Further details about the laboratory work carried out are available in Appendix 1. The location of their household was recorded and georeferenced by the research team.</p><p>Participants who were already enrolled in the cohort study were recruited to take part in the movement analysis study. At the time of recruitment, we found no published scientific studies detailing how to perform sample size calculations for research using GPS data in humans. Therefore, we opted to use convenience sampling instead. A target of 30 people per study area, balanced by gender and blind to their serological status, was chosen for this study.</p></sec><sec id="s2-3"><title>GPS data</title><p>Individuals who consented to take part in this study were asked to wear GPS loggers for continuous periods of up to 48 hr, which could be repeated. The GPS loggers used were i-got U GT-600, set to record their location every 35 s. We used the manufacturer’s software to programme the devices. Data were collected between March and November 2022.</p><p>Once the GPS telemetry data was collected, participants’ recorded locations were cleaned so as to retain only relocations within the study area boundaries that were recorded between 5 am and 9 pm. This period generally corresponds to an individual’s active hours. Interactions with environmental factors outside of the study area boundaries could not be considered in the analysis because high-resolution environmental data outside of the study areas was not available. Individuals with less than 50 relocations within the study area were excluded from the analysis to ensure good model convergence. Details of these excluded individuals can be found in Appendix 1.</p></sec><sec id="s2-4"><title>Environmental data</title><p>This analysis focused on three environmental factors: community stream, open sewers, and domestic rubbish piles. The latter factor represented areas where rats were more likely to be found, whilst the other factors represented risks of having close contact with <italic>Leptospira</italic> contaminated muds or waters. The location of these different points of interest in the study area was mapped by trained research teams.</p><p>These environmental factors were included in analyses in two ways: using distance rasters and buffer rasters. A 1 m resolution raster was created for each environmental factor by calculating the nearest distance for each pixel to the reference points. The buffer rasters, one for each factor, were created using a 20 m buffer around each reference point. The size of this buffer was decided after visiting the study areas and represented an area within which it could be considered a strong interaction with the point of interest. All pixels within this buffer were assigned a value of 1, whilst those outside were given a value of 0. Buffers were used to understand the effect of the immediate vicinity of each reference point on movement behaviours. Buffer rasters were also created for each individual’s household location, with a 10 m buffer around each location. This represented space within and immediately outside each house. This buffer size accounted for the size of dwellings in these study areas.</p></sec><sec id="s2-5"><title>Movement analysis</title><p>The analysis was performed in two phases (<xref ref-type="fig" rid="fig2">Figure 2</xref>). Firstly, each individual’s data was analysed alongside the environmental factors. This phase created a set of parameters—called selection coefficients—for each individual. These selection coefficients were specific to each of the environmental factors. In the second phase, the selection coefficient for a particular environmental factor was analysed across the study population. This phase incorporated the individual characteristics for each participant: gender, age, and <italic>Leptospira</italic> serological status. These phases are detailed below. All analyses were carried out in R, version 4.2.1 (<xref ref-type="bibr" rid="bib13">R Development Core Team, 2024</xref>) using tools from tidyverse (<xref ref-type="bibr" rid="bib16">Wickham, 2023</xref>). Specific movement analyses were carried out using package amt (<xref ref-type="bibr" rid="bib15">Signer et al., 2024</xref>).</p><fig id="fig2" position="float"><label>Figure 2.</label><caption><title>Schematic diagram showing what data sources are used in which model, and how models are linked with each other.</title><p>The blue sections represent phase 1, the individual-level models, whilst the orange section represents phase 2, the population-level model.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-107153-fig2-v1.tif"/></fig><sec id="s2-5-1"><title>Phase 1: Individual-level model</title><p>Drawing from the current methodological developments in animal movement ecology, we used step selection functions to characterise individuals’ movement behaviours in relation to the environmental factors described above. Step selection functions are a type of movement analysis method that falls under the Resource Selection umbrella. They can also be classified as spatio-temporal point process models (<xref ref-type="bibr" rid="bib4">Fieberg et al., 2021</xref>). In these models, an individual’s location at time point <italic>i</italic> (<inline-formula><alternatives><mml:math id="inf1"><mml:msub><mml:mrow><mml:mi>μ</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math><tex-math id="inft1">\begin{document}$\mu _{i}$\end{document}</tex-math></alternatives></inline-formula>) is conditioned on the previous location it was in (<inline-formula><alternatives><mml:math id="inf2"><mml:msub><mml:mrow><mml:mi>μ</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math><tex-math id="inft2">\begin{document}$\mu _{i- 1}$\end{document}</tex-math></alternatives></inline-formula>), the selection coefficients of the environment (<inline-formula><alternatives><mml:math id="inf3"><mml:mi>β</mml:mi></mml:math><tex-math id="inft3">\begin{document}$\beta $\end{document}</tex-math></alternatives></inline-formula>), and the available space the individual could have travelled to (<inline-formula><alternatives><mml:math id="inf4"><mml:mi>θ</mml:mi></mml:math><tex-math id="inft4">\begin{document}$\theta $\end{document}</tex-math></alternatives></inline-formula>).<disp-formula id="equ1"><alternatives><mml:math id="m1"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mi>μ</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:msub><mml:mi>μ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>β</mml:mi><mml:mo>,</mml:mo><mml:mi>θ</mml:mi></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>≡</mml:mo><mml:mfrac><mml:mrow><mml:mi>g</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>μ</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mi>β</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>μ</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:msub><mml:mi>μ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="normal">Δ</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>θ</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>∫</mml:mo><mml:mi>g</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>μ</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mi>β</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mi>f</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>μ</mml:mi><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:msub><mml:mi>μ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>−</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="normal">Δ</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>θ</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mi>d</mml:mi><mml:mi>μ</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t1">\begin{document}$$\displaystyle \left [\mu _{i}|\mu _{i- 1},\beta ,\theta \right ]\equiv \frac{g\left (x\left (\mu _{i}\right),\beta \right)f\left (\mu _{i}|\mu _{i- 1},\Delta _{i},\theta \right)}{\int g\left (x\left (\mu \right),\beta \right)f\left (\mu |\mu _{i- 1},\Delta _{i},\theta \right)d\mu }$$\end{document}</tex-math></alternatives></disp-formula></p><p>Step selection functions have two important components: the availability function (<inline-formula><alternatives><mml:math id="inf5"><mml:mi>f</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mo>…</mml:mo></mml:mrow></mml:mfenced></mml:math><tex-math id="inft5">\begin{document}$f\left (\ldots \right)$\end{document}</tex-math></alternatives></inline-formula>) and the selection function (<inline-formula><alternatives><mml:math id="inf6"><mml:mi>g</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mo>…</mml:mo></mml:mrow></mml:mfenced></mml:math><tex-math id="inft6">\begin{document}$g\left (\ldots \right)$\end{document}</tex-math></alternatives></inline-formula>). The availability function defines the available space that an individual could move inside of within a set of space and time constraints. The selection function specifies how the individual responds to the environmental factors that are close to them when choosing their path, creating a set of selection coefficients for each factor—or resource—included in the model. These selection coefficients are specific to a given individual. This latter component is the focus of our analysis, whilst the former availability function was pre-defined using the empirical data.</p><p>The availability function was fitted separately to each recorded location. The step lengths and turning angles between consecutive steps were used to parametrise movement characteristics for an individual (<xref ref-type="fig" rid="fig3">Figure 3A</xref>). Using these characteristics, a group of available steps (<xref ref-type="fig" rid="fig3">Figure 3B</xref>, grey dots) was created for each used step (<xref ref-type="fig" rid="fig3">Figure 3B</xref>, black dots). These represented locations that were consistent with human movements that an individual could have travelled to but chose not to. A total of 100 available steps were created for each used step (<xref ref-type="fig" rid="fig3">Figure 3B</xref>).</p><fig id="fig3" position="float"><label>Figure 3.</label><caption><title>Descriptive diagram of step selection functions.</title><p>(A) Step lengths (<inline-formula><alternatives><mml:math id="inf7"><mml:mi>s</mml:mi><mml:mi>l</mml:mi></mml:math><tex-math id="inft7">\begin{document}$sl$\end{document}</tex-math></alternatives></inline-formula>) and turning angles (<inline-formula><alternatives><mml:math id="inf8"><mml:mi>θ</mml:mi></mml:math><tex-math id="inft8">\begin{document}$\theta $\end{document}</tex-math></alternatives></inline-formula>) are used to characterise an individual’s movements. (B) These parameters are used to create a set of available steps (grey dots) for every used step (black dots).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-107153-fig3-v1.tif"/></fig><p>Each individual’s telemetry data was analysed by time periods within daytime active hours. These were periods of 4 hr, representing morning (05:00–09:00), midday (09:00–13:00), afternoon (13:00–17:00), and evening (17:00–21:00) activities. Movements across the whole daytime period were also analysed (05:00–21:00). This analysis was performed to examine the effects of circular journeys, when people travel to and back from a same place using a very similar route. By looking at specific time periods, we hoped to capture one-way journeys. As with the full-day analysis, any individuals with less than 50 relocations within the period of analysis were removed from the models.</p><p>A conditional logistic regression was used to estimate the selection coefficients for each of the environmental variables for a given individual. A separate model was used for each time period.<disp-formula id="equ2"><alternatives><mml:math id="m2"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mi>i</mml:mi><mml:mi>t</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>p</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi>β</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>β</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>β</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>β</mml:mi><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>β</mml:mi><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>β</mml:mi><mml:mrow><mml:mn>5</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn>5</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>β</mml:mi><mml:mrow><mml:mn>6</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn>6</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>β</mml:mi><mml:mrow><mml:mn>7</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn>7</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>β</mml:mi><mml:mrow><mml:mn>8</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn>8</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>α</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>t</mml:mi><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>t</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mi>m</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t2">\begin{document}$$\displaystyle logit\left (p\right)=\beta _{0}+\beta _{1}x_{1}+\beta _{2}x_{2}+\beta _{3}x_{3}+\beta _{4}x_{4}+\beta _{5}x_{5}\beta _{6}x_{6}+\beta _{7}x_{7}+\beta _{8}x_{8}+\alpha _{stratum_{j}}$$\end{document}</tex-math></alternatives></disp-formula></p><p>The model estimated the odds of a step being used compared to it being available and unused (<inline-formula><alternatives><mml:math id="inf9"><mml:mi>p</mml:mi></mml:math><tex-math id="inft9">\begin{document}$p$\end{document}</tex-math></alternatives></inline-formula>), with a logit transformation (<inline-formula><alternatives><mml:math id="inf10"><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mi>i</mml:mi><mml:mi>t</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mi>p</mml:mi></mml:mrow></mml:mfenced></mml:math><tex-math id="inft10">\begin{document}$logit\left (p\right)$\end{document}</tex-math></alternatives></inline-formula>). The first three variables included in the model (<inline-formula><alternatives><mml:math id="inf11"><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:math><tex-math id="inft11">\begin{document}$x_{1}- x_{3}$\end{document}</tex-math></alternatives></inline-formula>) represented the different environmental factors (central stream, open sewers, and domestic rubbish piles) and their corresponding selection coefficients (<inline-formula><alternatives><mml:math id="inf12"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>β</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>β</mml:mi><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft12">\begin{document}$\beta _{1}- \beta _{3}$\end{document}</tex-math></alternatives></inline-formula>). Distance rasters and buffer rasters were included in separate models. The household buffer rasters were included in the next variable (<inline-formula><alternatives><mml:math id="inf13"><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub></mml:math><tex-math id="inft13">\begin{document}$x_{4}$\end{document}</tex-math></alternatives></inline-formula>). The following three variables (<inline-formula><alternatives><mml:math id="inf14"><mml:mstyle><mml:mrow><mml:mstyle displaystyle="false"><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn>5</mml:mn></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn>7</mml:mn></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="inft14">\begin{document}$x_{5}- x_{7}$\end{document}</tex-math></alternatives></inline-formula>) represent the movement characteristics of the individual: the step length (<inline-formula><alternatives><mml:math id="inf15"><mml:mi>s</mml:mi><mml:mi>l</mml:mi></mml:math><tex-math id="inft15">\begin{document}$sl$\end{document}</tex-math></alternatives></inline-formula>), the natural logarithm of the step lengths (<inline-formula><alternatives><mml:math id="inf16"><mml:mi>l</mml:mi><mml:mi>o</mml:mi><mml:mi>g</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mi>s</mml:mi><mml:mi>l</mml:mi></mml:mrow></mml:mfenced></mml:math><tex-math id="inft16">\begin{document}$log\left (sl\right)$\end{document}</tex-math></alternatives></inline-formula>), and the cosine of the turning angle (<inline-formula><alternatives><mml:math id="inf17"><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>s</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mi>θ</mml:mi></mml:mrow></mml:mfenced></mml:math><tex-math id="inft17">\begin{document}$cos\left (\theta \right)$\end{document}</tex-math></alternatives></inline-formula>). These are the same movement characteristics used to create the set of available steps. The final variable included (<inline-formula><alternatives><mml:math id="inf18"><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>8</mml:mn></mml:mrow></mml:msub></mml:math><tex-math id="inft18">\begin{document}$x_{8}$\end{document}</tex-math></alternatives></inline-formula>) was the hour within which each step was recorded. The model was stratified by each used step (<inline-formula><alternatives><mml:math id="inf19"><mml:msub><mml:mrow><mml:mi>α</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>t</mml:mi><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>t</mml:mi><mml:mi>u</mml:mi><mml:msub><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:math><tex-math id="inft19">\begin{document}$\alpha _{stratum_{i}}$\end{document}</tex-math></alternatives></inline-formula>), where <inline-formula><alternatives><mml:math id="inf20"><mml:mi>j</mml:mi></mml:math><tex-math id="inft20">\begin{document}$j$\end{document}</tex-math></alternatives></inline-formula> represents each used step and its associated available steps. This model estimates a selection coefficient for each of the environmental factors of interest, conditioned on all other environmental factors, the individual’s household location, the individual’s movement characteristics, and the hour of the day. These selection coefficients can be interpreted as the likelihood of moving into a specific environmental condition whilst keeping other environmental factors, movement characteristics, and hour of the day constant. For distance rasters, the selection coefficient represents odds of moving further away from the reference point. For buffer rasters, it represents the odds of moving inside of the 20 m buffer of each reference point.</p></sec><sec id="s2-5-2"><title>Phase 2: Population-level model</title><p>To assess movement differences between individual characteristics, a population-level linear regression model was used. Separate models were created for each of the three environmental factors, using their corresponding selection coefficients as the outcome, and for each time period (whole daytime period, morning, midday, afternoon, and evening). We used two main groups of models: (1) those assessing differences between genders and ages, which were conditioned on both of these variables and the study area; (2) those assessing differences between <italic>Leptospira</italic> antibody statuses, which were conditioned on gender, age, and study area. The shared equation for each of the models is defined as follows:<disp-formula id="equ3"><alternatives><mml:math id="m3"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mover><mml:msub><mml:mi>β</mml:mi><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">^</mml:mo></mml:mover></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi>γ</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>γ</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>γ</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>γ</mml:mi><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>γ</mml:mi><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>Z</mml:mi><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mstyle></mml:mrow></mml:mstyle></mml:math><tex-math id="t3">\begin{document}$$\displaystyle \hat{\beta _{k}}=\gamma _{0}+\gamma _{1}x_{1}+\gamma _{2}x_{2}+\gamma _{3}x_{3}+\gamma _{4}x_{4}+Z_{k}$$\end{document}</tex-math></alternatives></disp-formula></p><p>In these models, the outcome was the estimated selection coefficient (<italic>β</italic>) for each environmental factor (<inline-formula><alternatives><mml:math id="inf21"><mml:mi>k</mml:mi></mml:math><tex-math id="inft21">\begin{document}$k$\end{document}</tex-math></alternatives></inline-formula>). The first two variables, <inline-formula><alternatives><mml:math id="inf22"><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math><tex-math id="inft22">\begin{document}$x_{1}$\end{document}</tex-math></alternatives></inline-formula> and <inline-formula><alternatives><mml:math id="inf23"><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math><tex-math id="inft23">\begin{document}$x_{2}$\end{document}</tex-math></alternatives></inline-formula>, represented gender (taking values 0 for male and 1 for female) and age, used as a continuous variable. The third variable, <inline-formula><alternatives><mml:math id="inf24"><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:math><tex-math id="inft24">\begin{document}$x_{3}$\end{document}</tex-math></alternatives></inline-formula>, represented <italic>Leptospira</italic> antibody status, as a binary variable taking values 1 for a positive test and 0 otherwise. As mentioned previously, a positive result was defined as a positive MAT result for any <italic>Leptospira</italic> serovar. The final variable in the model, <inline-formula><alternatives><mml:math id="inf25"><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub></mml:math><tex-math id="inft25">\begin{document}$x_{4}$\end{document}</tex-math></alternatives></inline-formula>, represented the study area, included to adjust for any unmeasured differences between study areas. The error term, <inline-formula><alternatives><mml:math id="inf26"><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math><tex-math id="inft26">\begin{document}$Z_{k}$\end{document}</tex-math></alternatives></inline-formula>, captured the residuals from the model, which also accounted for any variation between individuals which was not measured, as well as the sampling error inherent to the estimates of the selection coefficients. To account for variation in the standard errors of the selection coefficients, the variance of <inline-formula><alternatives><mml:math id="inf27"><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math><tex-math id="inft27">\begin{document}$Z_{k}$\end{document}</tex-math></alternatives></inline-formula> was defined as <inline-formula><alternatives><mml:math id="inf28"><mml:msub><mml:mrow><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mtext>/</mml:mtext><mml:msup><mml:mrow><mml:mi>τ</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:math><tex-math id="inft28">\begin{document}$w_{k}\text{/}\tau ^{2}$\end{document}</tex-math></alternatives></inline-formula>, where <inline-formula><alternatives><mml:math id="inf29"><mml:msub><mml:mrow><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math><tex-math id="inft29">\begin{document}$w_{k}$\end{document}</tex-math></alternatives></inline-formula> is the estimated variance of <inline-formula><alternatives><mml:math id="inf30"><mml:mover accent="true"><mml:mrow><mml:msub><mml:mrow><mml:mi>β</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:math><tex-math id="inft30">\begin{document}$\overset{\hat }{\beta _{k}}$\end{document}</tex-math></alternatives></inline-formula> which was used to account for the heterogeneity in the estimate of <inline-formula><alternatives><mml:math id="inf31"><mml:mover accent="true"><mml:mrow><mml:msub><mml:mrow><mml:mi>β</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:math><tex-math id="inft31">\begin{document}$\overset{\hat }{\beta _{k}}$\end{document}</tex-math></alternatives></inline-formula>.</p></sec></sec></sec><sec id="s3" sec-type="results"><title>Results</title><sec id="s3-1"><title>Descriptive statistics</title><p>There were a total of 130 individuals who consented to take part in this movement study. Of these, 2 individuals were removed from further analysis due to not having sufficient relocations within the study area boundaries during the 5 am to 9 pm period. They were both male, older than 50 and tested negative for leptospirosis serology. The remaining 128 individuals represented 11.7% of the sample population from the parent study (n=1086). Of the participants in the movement study, 59 (46.0%) were female and their ages ranged from 18 to 83, with a median age of 38 and mean age of 39.5 (SD = 15.5). There were 13 individuals (10.2%) who tested positive for <italic>Leptospira</italic> antibodies. Although these proportions were very similar to those present in the larger sample population from the parent study, the individuals in the movement analysis skewed female and older (<xref ref-type="table" rid="table1">Table 1</xref>).</p><table-wrap id="table1" position="float"><label>Table 1.</label><caption><title>Summary table comparing parent study participants and movement study participants.</title></caption><table frame="hsides" rules="groups"><thead><tr><th align="left" valign="bottom"/><th align="left" valign="bottom" colspan="2">Parent study participants</th><th align="left" valign="bottom" colspan="2">Movement study participants</th></tr></thead><tbody><tr><td align="left" valign="bottom"/><td align="left" valign="bottom"><italic>n</italic>=1086</td><td align="left" valign="bottom">%/mean</td><td align="left" valign="bottom"><italic>n</italic>=128</td><td align="left" valign="bottom">%/mean</td></tr><tr><td align="left" valign="bottom"><bold>Study area</bold></td><td align="left" valign="bottom"/><td align="left" valign="bottom"/><td align="left" valign="bottom"/><td align="left" valign="bottom"/></tr><tr><td align="left" valign="bottom">1—Nova Sussuarana</td><td align="left" valign="bottom">297</td><td align="left" valign="bottom">27.3%</td><td align="left" valign="bottom">32</td><td align="left" valign="bottom">25.0%</td></tr><tr><td align="left" valign="bottom">2—Arenoso</td><td align="left" valign="bottom">246</td><td align="left" valign="bottom">22.7%</td><td align="left" valign="bottom">28</td><td align="left" valign="bottom">21.9%</td></tr><tr><td align="left" valign="bottom">3—Jardim Santo Inacio</td><td align="left" valign="bottom">278</td><td align="left" valign="bottom">25.6%</td><td align="left" valign="bottom">35</td><td align="left" valign="bottom">27.3%</td></tr><tr><td align="left" valign="bottom">4—Calabetao</td><td align="left" valign="bottom">265</td><td align="left" valign="bottom">24.4%</td><td align="left" valign="bottom">33</td><td align="left" valign="bottom">25.7%</td></tr><tr><td align="left" valign="bottom"><bold>Gender</bold></td><td align="left" valign="bottom"/><td align="left" valign="bottom"/><td align="left" valign="bottom"/><td align="left" valign="bottom"/></tr><tr><td align="left" valign="bottom">Female</td><td align="left" valign="bottom">454</td><td align="left" valign="bottom">41.8%</td><td align="left" valign="bottom">59</td><td align="left" valign="bottom">46.1%</td></tr><tr><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">632</td><td align="left" valign="bottom">58.2%</td><td align="left" valign="bottom">69</td><td align="left" valign="bottom">53.9%</td></tr><tr><td align="left" valign="bottom"><bold>Age (mean±SD</bold>)</td><td align="left" valign="bottom">32.2</td><td align="left" valign="bottom">±19.7</td><td align="left" valign="bottom">39.4</td><td align="left" valign="bottom">±15.4</td></tr><tr><td align="left" valign="bottom"><italic>Leptospira</italic> <bold>antibody status</bold></td><td align="left" valign="bottom"/><td align="left" valign="bottom"/><td align="left" valign="bottom"/><td align="left" valign="bottom"/></tr><tr><td align="left" valign="bottom">Positive</td><td align="left" valign="bottom">94</td><td align="left" valign="bottom">8.7%</td><td align="left" valign="bottom">13</td><td align="left" valign="bottom">10.2%</td></tr><tr><td align="left" valign="bottom">Negative</td><td align="left" valign="bottom">992</td><td align="left" valign="bottom">91.3%</td><td align="left" valign="bottom">115</td><td align="left" valign="bottom">89.8%</td></tr></tbody></table></table-wrap><p>The majority of individuals spent most of their recorded time during their active daytime hours within their study area boundaries. The percentage of recorded time spent within the study area boundaries ranged from 4% to 100%. The mean percentage was 80%, with a median of 91% and a standard deviation of 25%. Females spent less time within the boundaries than men (females: mean = 76%, SD = 28%; males: mean = 83%, SD = 22%). Individuals who had antibodies against <italic>Leptospira</italic> spent the same time within the study area boundaries as individuals with no antibodies (positive: mean = 83%, SD = 26%; negative: mean = 80%, SD = 25%).</p><p>The maximum values for the different environmental distance rasters varied across the four study areas. The maximum distance to open sewers was lowest in study area 3 and highest in study area 2 (1: 199 m; 2: 235 m; 3: 80 m; 4: 208 m). Similarly, the maximum distance to domestic rubbish piles was lowest in study area 3 and highest in study area 2 (1: 214 m; 2: 363 m; 3: 153 m; 4: 247 m). These differences are attributed to the number of open sewer points and domestic rubbish piles within each study area. The maximum distance to the central stream was highest in study area 1 and lowest in study area 3 (1: 217 m; 2: 209 m; 3: 94 m; 4: 172 m).</p><p>Similarly, the proportion of tracked time spent within the various environmental buffers varied across characteristics. These can be found in <xref ref-type="table" rid="table2">Table 2</xref>. There were significant differences between characteristics and within characteristics, represented by the high standard deviations. More detailed descriptive statistics are available in Appendix 1.</p><table-wrap id="table2" position="float"><label>Table 2.</label><caption><title>Proportion of tracked time (full-day period, 9 am to 5 pm) spent within each buffer.</title><p>Mean (standard deviation).</p></caption><table frame="hsides" rules="groups"><thead><tr><th align="left" valign="bottom"/><th align="left" valign="bottom"/><th align="left" valign="bottom">River buffer</th><th align="left" valign="bottom">Open sewer buffer</th><th align="left" valign="bottom">Domestic rubbish buffer</th></tr></thead><tbody><tr><td align="left" valign="bottom"><bold>Total</bold></td><td align="left" valign="bottom"/><td align="left" valign="bottom">0.54 (0.33)</td><td align="left" valign="bottom">0.33 (0.31)</td><td align="left" valign="bottom">0.07 (0.15)</td></tr><tr><td align="left" valign="bottom"><bold>Area</bold></td><td align="left" valign="bottom">1—Nova Sussuarana</td><td align="left" valign="bottom">0.54 (0.29)</td><td align="left" valign="bottom">0.43 (0.29)</td><td align="left" valign="bottom">0.15 (0.18)</td></tr><tr><td align="left" valign="bottom"/><td align="left" valign="bottom">2—Arenoso</td><td align="left" valign="bottom">0.65 (0.25)</td><td align="left" valign="bottom">0.28 (0.29)</td><td align="left" valign="bottom">0.03 (0.13)</td></tr><tr><td align="left" valign="bottom"/><td align="left" valign="bottom">3—Jardim Santo Inacio</td><td align="left" valign="bottom">0.36 (0.35)</td><td align="left" valign="bottom">0.41 (0.31)</td><td align="left" valign="bottom">0.08 (0.18)</td></tr><tr><td align="left" valign="bottom"/><td align="left" valign="bottom">4—Calabetao</td><td align="left" valign="bottom">0.67 (0.31)</td><td align="left" valign="bottom">0.21 (0.28)</td><td align="left" valign="bottom">0.01 (0.02)</td></tr><tr><td align="left" valign="bottom"><bold>Gender</bold></td><td align="left" valign="bottom">Female</td><td align="left" valign="bottom">0.56 (0.32)</td><td align="left" valign="bottom">0.37 (0.32)</td><td align="left" valign="bottom">0.07 (0.15)</td></tr><tr><td align="left" valign="bottom"/><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">0.53 (0.34)</td><td align="left" valign="bottom">0.30 (0.29)</td><td align="left" valign="bottom">0.06 (0.16)</td></tr><tr><td align="left" valign="bottom" rowspan="2"><bold>Leptospirosis serological status</bold></td><td align="left" valign="bottom">Negative</td><td align="left" valign="bottom">0.55 (0.33)</td><td align="left" valign="bottom">0.35 (0.31)</td><td align="left" valign="bottom">0.07 (0.16)</td></tr><tr><td align="left" valign="bottom">Positive</td><td align="left" valign="bottom">0.48 (0.29)</td><td align="left" valign="bottom">0.25 (0.30)</td><td align="left" valign="bottom">0.02 (0.05)</td></tr></tbody></table></table-wrap></sec><sec id="s3-2"><title>Movement analysis</title><p>The results from the movement analysis are presented in the odds scale. A positive value represents higher odds of moving towards an increasing value for each raster. As described previously, for distance rasters, this is interpreted as moving further away from the point of reference (<xref ref-type="table" rid="table3">Table 3</xref>), whilst for buffer rasters this is interpreted as moving into the 20 m buffer area for each point of reference (<xref ref-type="table" rid="table4">Table 4</xref>).</p><table-wrap id="table3" position="float"><label>Table 3.</label><caption><title>Estimated differences (<italic>γ</italic>) in selection coefficients (<italic>β</italic>) for each environmental factor using distance-based rasters.</title><p>Values &gt;1 represent increasing distance from points of reference.</p></caption><table frame="hsides" rules="groups"><thead><tr><th align="left" valign="top"/><th align="left" valign="top" colspan="2">Community stream</th><th align="left" valign="top" colspan="2">Open sewers</th><th align="left" valign="top" colspan="2">Domestic rubbish piles</th></tr></thead><tbody><tr><td align="left" valign="top"/><td align="left" valign="top">Estimate</td><td align="left" valign="top">95% CI</td><td align="left" valign="top">Estimate</td><td align="left" valign="top">95% CI</td><td align="left" valign="top">Estimate</td><td align="left" valign="top">95% CI</td></tr><tr><td align="left" valign="top"><bold>Gender</bold><xref ref-type="table-fn" rid="table3fn2">*</xref></td><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">Male</td><td align="left" valign="top">(Ref)</td><td align="left" valign="top">–</td><td align="left" valign="top">(Ref)</td><td align="left" valign="top">–</td><td align="left" valign="top">(Ref)</td><td align="left" valign="top">–</td></tr><tr><td align="left" valign="top">Female</td><td align="left" valign="top">0.98</td><td align="left" valign="top">0.97, 0.99</td><td align="left" valign="top">1.04</td><td align="left" valign="top">1.02, 1.06</td><td align="left" valign="top">0.99</td><td align="left" valign="top">0.98, 1.01</td></tr><tr><td align="left" valign="top"><bold>Age</bold><xref ref-type="table-fn" rid="table3fn3"><sup>†</sup></xref></td><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">Per year increase</td><td align="left" valign="top">1.00</td><td align="left" valign="top">1.00, 1.00</td><td align="left" valign="top">1.00</td><td align="left" valign="top">1.00, 1.00</td><td align="left" valign="top">1.00</td><td align="left" valign="top">1.00, 1.00</td></tr><tr><td align="left" valign="top"><bold><italic>Leptospira</italic> serological status</bold> <xref ref-type="table-fn" rid="table3fn4"><sup>‡</sup></xref></td><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">Negative</td><td align="left" valign="top">(Ref)</td><td align="left" valign="top">–</td><td align="left" valign="top">(Ref)</td><td align="left" valign="top">–</td><td align="left" valign="top">(Ref)</td><td align="left" valign="top">–</td></tr><tr><td align="left" valign="top">Positive</td><td align="left" valign="top">0.99</td><td align="left" valign="top">0.96, 1.01</td><td align="left" valign="top">1.03</td><td align="left" valign="top">1.00, 1.07</td><td align="left" valign="top">1.00</td><td align="left" valign="top">0.98, 1.02</td></tr></tbody></table><table-wrap-foot><fn><p>(Ref) is the referrence group for the Odds Ratio.</p></fn><fn id="table3fn2"><label>*</label><p>Adjusted for age and study area.</p></fn><fn id="table3fn3"><label>†</label><p>Adjusted for gender and study area. Values represent increases by 1 year of age.</p></fn><fn id="table3fn4"><label> ‡</label><p>Adjusted for gender, age, and study area.</p></fn></table-wrap-foot></table-wrap><table-wrap id="table4" position="float"><label>Table 4.</label><caption><title>Estimated differences (<italic>γ</italic>) in selection coefficients (<italic>β</italic>) for each environmental factor using 20 m buffers around each point of reference.</title><p>Values&gt;1 represent movement within the buffer zone for each point of reference.</p></caption><table frame="hsides" rules="groups"><thead><tr><th align="left" valign="top"/><th align="left" valign="top" colspan="2">Community stream</th><th align="left" valign="top" colspan="2">Open sewers</th><th align="left" valign="top" colspan="2">Domestic rubbish piles</th></tr></thead><tbody><tr><td align="left" valign="top"/><td align="left" valign="top">Estimate</td><td align="left" valign="top">95% CI</td><td align="left" valign="top">Estimate</td><td align="left" valign="top">95% CI</td><td align="left" valign="top">Estimate</td><td align="left" valign="top">95% CI</td></tr><tr><td align="left" valign="top"><bold>Gender</bold><xref ref-type="table-fn" rid="table4fn2">*</xref></td><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">Male</td><td align="left" valign="top">(Ref)</td><td align="left" valign="top">–</td><td align="left" valign="top">(Ref)</td><td align="left" valign="top">–</td><td align="left" valign="top">(Ref)</td><td align="left" valign="top">–</td></tr><tr><td align="left" valign="top">Female</td><td align="left" valign="top">1.22</td><td align="left" valign="top">1.02, 1.46</td><td align="left" valign="top">0.95</td><td align="left" valign="top">0.80, 1.14</td><td align="left" valign="top">0.92</td><td align="left" valign="top">0.66, 1.27</td></tr><tr><td align="left" valign="top"><bold>Age</bold><xref ref-type="table-fn" rid="table4fn3"><sup>†</sup></xref></td><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">Per year increase</td><td align="left" valign="top">1.00</td><td align="left" valign="top">1.00, 1.00</td><td align="left" valign="top">0.99</td><td align="left" valign="top">0.98, 1.00</td><td align="left" valign="top">1.00</td><td align="left" valign="top">0.99, 1.01</td></tr><tr><td align="left" valign="top"><bold><italic>Leptospira</italic> serological status</bold> <xref ref-type="table-fn" rid="table4fn4"><sup>‡</sup></xref></td><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/><td align="left" valign="top"/></tr><tr><td align="left" valign="top">Negative</td><td align="left" valign="top">(Ref)</td><td align="left" valign="top">–</td><td align="left" valign="top">(Ref)</td><td align="left" valign="top">–</td><td align="left" valign="top">(Ref)</td><td align="left" valign="top">–</td></tr><tr><td align="left" valign="top">Positive</td><td align="left" valign="top">0.89</td><td align="left" valign="top">0.67, 1.19</td><td align="left" valign="top">0.64</td><td align="left" valign="top">0.47, 0.87</td><td align="left" valign="top">0.85</td><td align="left" valign="top">0.48, 1.49</td></tr></tbody></table><table-wrap-foot><fn><p>(Ref) is the referrence group for the Odds Ratio.</p></fn><fn id="table4fn2"><label>*</label><p>Adjusted for age and study area.</p></fn><fn id="table4fn3"><label>†</label><p>Adjusted for gender and study area. Values represent increases by 1 year of age.</p></fn><fn id="table4fn4"><label> ‡</label><p>Adjusted for gender, age, and study area.</p></fn></table-wrap-foot></table-wrap><p>We found no differences in how individuals moved with regard to the distance to the central stream by age (OR: 1.00; 95% CI: 1.00, 1.00; p=0.697) or <italic>Leptospira</italic> antibody status (OR: 0.99; 95% CI: 0.96, 1.01; p=0.273). Similarly, movements relative to the 20 m buffer for the central stream were the same across ages (OR: 1.00; 95% CI: 1.00, 1.01; p=0.280) and across <italic>Leptospira</italic> serological status (OR: 0.89; 95% CI: 0.67, 1.19; p=0.433). There was evidence that women moved closer to the stream than men, even after accounting for the effects of age, study area, and the location of their households (OR: 0.98; 95% CI: 0.97, 0.99; p=0.003). This effect was more pronounced in the analysis of the 20 m buffered area (OR: 1.22, 95% CI: 1.02, 1.46; p=0.026).</p><p>As with the above, there was no evidence of different movement behaviours relative to distance to open sewers by age (OR: 1.00; 95% CI: 1.00, 1.00; p=0.572) or <italic>Leptospira</italic> antibody status (OR: 1.03; 95% CI: 1.00, 1.07; p=0.054). Women were found to move further away from open sewers compared to men (OR: 1.04; 95% CI: 1.02, 1.06; p&lt;0.001). When analysing movements relative to the 20 m buffer around open sewers, we found no evidence of differences between genders (OR: 0.95; 0.80, 1.14; p=0.580). We found evidence of a small tendency to move outside of the 20 m buffer around open sewers as people aged, although the effect could be considered negligible (OR: 0.99; 95% CI: 0.98, 1.00; p=0.003). We also found evidence of a strong inclination for people with <italic>Leptospira</italic> antibodies to move outside of the buffers around open sewers, compared to people with no antibodies (OR: 0.64; 95% CI: 0.47, 0.87; p=0.005).</p><p>Our analysis showed no evidence of different movement behaviours relative to the distance to rubbish piles across genders (OR: 0.99; 95% CI: 0.98, 1.01; p=0.280), ages (OR: 1.00; 95% CI: 1.00, 1.00; p=0.466), or <italic>Leptospira</italic> antibody statuses (OR: 1.00; 95% CI: 0.98, 1.02; p=0.760). We also found no evidence when analysing movements relative to the 20 m buffer around rubbish piles across genders (OR: 0.92; 95% CI: 0.66, 1.27; p=0.600), ages (OR: 1.00; 95% CI: 0.99, 1.01; p=0.989), or <italic>Leptospira</italic> antibody statuses (OR: 0.80; 95% CI: 0.44, 1.49; p=0.482).</p><p>It is important to highlight that the effect sizes of the selection coefficients for the distance-based rasters (<xref ref-type="table" rid="table3">Table 3</xref>) are very small and could be considered negligible. This may be linked to the spatial scale used, as these values represent increases of 1 m. A coarser scale may have produced larger effect sizes that may have been easier to conceptualise. However, given the focus on fine-scale movement, we decided to keep this spatial scale for the analysis.</p></sec><sec id="s3-3"><title>Analysis by time periods</title><p>Movements were subdivided into four time periods: morning (5 am to 9 am), midday (9 am to 1 pm), afternoon (1 pm to 5 pm), and evening (5 pm to 9 pm). The demographic characteristics of all individuals removed from analyses for having less than 50 relocations within a specific time period can be found in Appendix 1. The interactions with the environmental factors were similar to those reported for whole-day activities, although there were some key differences (<xref ref-type="fig" rid="fig4">Figure 4</xref>).</p><fig id="fig4" position="float"><label>Figure 4.</label><caption><title>Graph showing results of final analyses.</title><p>(<bold>A</bold>) Results for distance-based rasters; values above 1 interpreted as increasing distance to points of reference. (<bold>B</bold>) Results for 20 m buffer-based rasters; values above 1 show movement within buffer zones. Each horizontal band represents a specific time period (right hand side y-axis label): all day (5 am to 9 pm, <xref ref-type="table" rid="table2 table3">Tables 2 and 3</xref>), morning (5 am to 9 am), midday (9 am to 1 pm), afternoon (1 pm to 5 pm), and evening (5 pm to 9 pm). All data points include their corresponding 95% confidence intervals, some of which are too narrow to show up clearly.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-107153-fig4-v1.tif"/></fig><p>We found no differences in movements relative to the central stream as people aged or between <italic>Leptospira</italic> antibody status across the four periods. Women still moved closer to the central stream than men across all periods. We also saw that women had a higher tendency to move within the 20 m buffer for the stream compared to men across all periods.</p><p>Movement in relation to distance to open sewer points and their respective 20 m buffers showed no difference across all four periods. The strength of the selection effect seen in serologically positive individuals for moving outside of the 20 m buffer varied, with stronger effects seen in the morning and evening periods.</p><p>Domestic rubbish piles did not appear to have an effect on movement differences between ages or <italic>Leptospira</italic> antibody status across all periods. We found women moved outside of the 20 m buffer zone more than men during the morning period only. Otherwise, no notable differences were seen.</p></sec></sec><sec id="s4" sec-type="discussion"><title>Discussion</title><p>Our study aimed to apply a novel methodology to the area of human mobility analysis in infectious disease epidemiology, focusing on leptospirosis in four urban slums in Salvador, Brazil. We assessed movements in relation to central streams, open sewer points, and domestic rubbish piles and observed changes throughout the day using step selection functions. These are a modelling approach which we have taken and adapted from animal movement ecology. Our findings showed that step selection functions could be an effective method to identify movement behaviours. To understand how the results could be described in the context of infectious disease epidemiology, we have explained our interpretation of the findings, including strengths and limitations. However, it is important to highlight that, given this is a novel methodology, the evidence we present is not conclusive and further research is required.</p><p>The results suggested no movement differences between <italic>Leptospira</italic> antibody statuses or ages concerning the distances to stream, open sewer points, or domestic rubbish piles. Our findings consistently showed that women tended to move closer to the central stream and farther from open sewer points than men, adjusted for age and study area. We also found that women had a tendency to move within the 20 m buffer of the central streams compared to men, and that seropositive individuals were more inclined to move outside of the buffer zone for open sewers compared to seronegative individuals. Movement patterns did not vary significantly throughout the day. Previous research indicates that men in similar communities perceive themselves as less vulnerable to leptospirosis compared to women (<xref ref-type="bibr" rid="bib8">Khalil et al., 2021</xref>). Additionally, a knowledge, attitudes, and practices analysis showed that men have lower scores for both knowledge and attitudes towards leptospirosis and its associated risks (<xref ref-type="bibr" rid="bib12">Palma et al., 2022</xref>). Our findings align with these studies, suggesting that women may avoid open sewers due to perceived risks, while men may not share these perceptions. Social areas, which may have gender differences, also contribute to different movement behaviours. One might conclude that the stream is used for gendered chores such as washing clothes. However, this is not the case in our study areas. Following discussion with residents, we know that they perceive the stream as highly contaminated and avoid using its waters for cleaning or other household chores.</p><p>Our results contrast those reported by <xref ref-type="bibr" rid="bib11">Owers et al., 2018</xref>, who found no differences in space use between genders after using GPS loggers to analyse individuals’ movements. This discrepancy could be explained by the differences in length of time being analysed. Owers et al. were only able to analyse data collected over 24 hr periods, whereas our analysis was longer and included data collected over periods of up to 48 hr, which could be repeated. The contrasting results could also be attributed to the different populations studied. Although overall these populations resided in very similar communities in Salvador, they could have different characteristics that affect movement behaviours.</p><p>Our findings regarding the interactions with rubbish piles may be explained by various reasons. There is evidence that proximity to rubbish piles does not drive <italic>Leptospira</italic> seropositivity in similar areas to those used in our analysis (<xref ref-type="bibr" rid="bib8">Khalil et al., 2021</xref>). Whilst this proximity does increase rat sightings, this reduced effect on infection risk could lead individuals to disregard the locations of rubbish piles when choosing their travel paths. Another possible explanation is that there may be an unmeasured environmental variable that is interacting with the distance to rubbish piles, which needs further investigation. For example, violence could be interacting with where rubbish accumulates. We discuss violence further in a paragraph below.</p><p>The evidence showing <italic>Leptospira</italic>-positive individuals avoiding open sewers was surprising. Although we were expecting to see an effect in the opposite direction, showing individuals with <italic>Leptospira</italic> antibodies interacting closely with open sewers, there are a few possible explanations for our findings. If individuals with antibodies are also actively infected, they could be symptomatic and therefore alter their behaviour to avoid high-risk areas. Alternatively, individuals with antibodies could be more aware of risks due to previous infections and display more protective behaviours than people who have not had any previous infections.</p><p>During informal conversations with community residents, it became clear that violence plays a key role in individuals’ decisions on where they go. Violence in these communities is perceived as hyper-local, restricted to one corner or small square within the communities. It is unclear what drives this perception, but nevertheless, it is an important factor that could be accounted for. Further research is required to develop methods that can capture these perceptions in spatial formats that could be incorporated into similar movement studies. Age did not affect movement choices, suggesting consistent perceptions of environmental risks or stable use of urban spaces across ages.</p><p>We expected different movement patterns at various times of day, anticipating circular journeys (an individual going somewhere and back again on the same route). However, our results showed consistent movement patterns, possibly due to the analysis period’s length or other unmeasured factors modulating movements. Our results could also be indicative of evidence that strictly circular journeys through these communities, where individuals are travelling through the exact same path for both journeys, are not common, and that movement interactions with urban surroundings do not vary throughout the day.</p><p>To our knowledge, this is the first study that uses step selection functions to model movement behaviours in the context of human infectious disease epidemiology. This method has provided quantitative evidence that there may be differences in how men and women move through their communities, strengthening the argument that the variation in leptospirosis exposure and infection risk between genders is due to behavioural differences rather than physiological differences. Additionally, we show that individuals consider environmental features differently when moving through their communities. Highlighting the effects of these variables on movement would not have been possible with the approaches previously used to model human movement. Our approach provides a better understanding of how individuals relate to their surrounding urban environment and how they interact with features that could increase the risk of leptospirosis.</p><p>Several important limitations must be highlighted. This study involves a relatively small sample of a larger population, slightly skewed towards older women compared to the parent study. There are few individuals testing positive for <italic>Leptospira</italic> antibodies. As a result, the findings are biased towards the more represented individuals, limiting their generalisability. Additionally, all participants are from specific areas in Salvador, which may further limit the generalisability to similar contexts. Further research is needed to develop appropriate study designs using these methods, including how many individuals should be recruited. The small number of <italic>Leptospira</italic>-positive individuals also makes the estimation for the effect of this characteristic more difficult. We would also like to restate that a positive antibody response to any <italic>Leptospira</italic> serovar does not indicate active infection. A positive result merely indicates that the individual has been infected at some stage, either symptomatically or asymptomatically, and has produced an immune response. Information on the timing of the infection could instead be a variable showing a stronger association with movement. Another important limitation is that we did not collect data on behaviours. If risky or protective behaviours, such as the use of closed footwear, had been available at the appropriate temporal resolution (e.g. hourly intervals), these could have been included in the step selection functions and could have shown significant associations. Although these are important limitations which require cautious interpretation of results, they do not detract from the value of exploring this novel methodology in this context. This methodology also provides a crucial starting point for exploring how movement characteristics can differ between individuals in these environments.</p><p>Step selection functions also have limitations that must be considered. While these methods can model the choice of moving in a specific direction, they do not account for the initial distance from the individual. For instance, an individual moving towards the central stream from far away will have a high selection coefficient for this environmental factor, which does not indicate their starting distance. This is important because environmental risk factors cease to provide risk beyond a certain distance. This limitation was overcome by using buffer zones around specific points of interest, but it is crucial to highlight the importance of correctly interpreting all results. Similarly, step selection functions do not quantify how long an individual spent within this high-risk distance. Additionally, these models have some underlying assumptions that may be violated in this study. Step selection functions assume each step is independent, conditioned on the previous step. This can be violated by circular journeys. Although we attempted to account for these by analysing specific periods of the day, a higher temporal resolution of analysis may be needed if circular journeys are still present within each period. Another assumption is that movement is smooth through the environment. In urban environments, this may not hold true, as street layouts may force sharp corners in movements. The effect of violating this assumption is not immediately clear and requires further methodological research to understand its significance. Finally, we assumed that by including movement characteristics (step lengths and turning angles) into our models, we were accounting for goal-oriented behaviour. These assumptions need to be considered in future studies that attempt to use step selection functions to analyse human mobility.</p><p>Despite these limitations, this study has several valuable strengths. By including steps an individual could have taken but did not (i.e. available steps, grey dots in <xref ref-type="fig" rid="fig3">Figure 3B</xref>), the models allow us to estimate choice. Additionally, the models use each individual’s movement characteristics to create these available steps, resulting in a realistic representation of movement behaviours. This creates more realistic estimates of environmental interactions than those created using existing methods.</p><p>Another significant strength is the specificity of the individual-level and population-level models. First, the population-level linear regression models allow multiple individual characteristics to be included, producing results that can be adjusted as needed. Although not considered in this study, these models also provide flexibility in the type of variable interactions that can be specified, allowing for non-linear effects if necessary. Second, the individual-level conditional logistic regression models are conditioned for all included variables. This enables the estimation of the selection coefficients for each environmental factor after adjusting for potential confounders. This is particularly useful in our case, as open sewer points are often close to the central stream in all study areas (<xref ref-type="fig" rid="fig1">Figure 1</xref>).</p><p>Overall, we believe this method is a useful tool in analysing human mobility in the context of infectious disease epidemiology. This modelling approach could also be used in other areas of research which analyse human movements and choice relating to surrounding environmental features, such as urban planning. A major benefit of step selection functions is the use of rasters, which provide flexibility when investigating environmental features. Creative uses of rasters could provide interesting questions and results. Although the focus of these models is looking at choice in space, the methods could also be adapted to analyse choice in time (e.g. are there temporal variables that affect when a rat enters a household).</p><p>To conclude, we provide a worked example of how to use step selection functions to analyse human movements in the field of infectious disease epidemiology. This highlights the usefulness of adapting methods from other fields to answer questions that would otherwise be difficult to answer with the existing methodology. By doing so, we develop a better understanding of environmental interactions and how to leverage the large datasets provided by GPS loggers. Although our focus was leptospirosis, these methods can be adapted to model the exposure to any disease where movement and the environment play an important role.</p></sec></body><back><sec sec-type="additional-information" id="s5"><title>Additional information</title><fn-group content-type="competing-interest"><title>Competing interests</title><fn fn-type="COI-statement" id="conf1"><p>No competing interests declared</p></fn></fn-group><fn-group content-type="author-contribution"><title>Author contributions</title><fn fn-type="con" id="con1"><p>Conceptualization, Data curation, Software, Formal analysis, Investigation, Visualization, Methodology, Writing – original draft, Writing – review and editing</p></fn><fn fn-type="con" id="con2"><p>Conceptualization, Resources, Data curation, Software, Formal analysis, Investigation, Writing – original draft, Project administration, Writing – review and editing</p></fn><fn fn-type="con" id="con3"><p>Data curation, Investigation, Writing – review and editing, Field team, laboratory</p></fn><fn fn-type="con" id="con4"><p>Investigation, Writing – review and editing, Field team, laboratory</p></fn><fn fn-type="con" id="con5"><p>Formal analysis, Supervision, Writing – review and editing</p></fn><fn fn-type="con" id="con6"><p>Data curation, Software, Investigation, Writing – review and editing</p></fn><fn fn-type="con" id="con7"><p>Data curation, Investigation, Writing – review and editing, Laboratory</p></fn><fn fn-type="con" id="con8"><p>Data curation, Investigation, Writing – review and editing, Field team</p></fn><fn fn-type="con" id="con9"><p>Data curation, Validation, Investigation, Writing – review and editing, Field team</p></fn><fn fn-type="con" id="con10"><p>Data curation, Investigation, Writing – review and editing, Field team</p></fn><fn fn-type="con" id="con11"><p>Data curation, Investigation, Writing – review and editing, Laboratory</p></fn><fn fn-type="con" id="con12"><p>Data curation, Investigation, Writing – review and editing, Field team, laboratory</p></fn><fn fn-type="con" id="con13"><p>Validation, Investigation, Writing – review and editing</p></fn><fn fn-type="con" id="con14"><p>Supervision, Investigation, Writing – review and editing</p></fn><fn fn-type="con" id="con15"><p>Resources, Data curation, Supervision, Validation, Investigation, Writing – review and editing</p></fn><fn fn-type="con" id="con16"><p>Conceptualization, Resources, Formal analysis, Supervision, Funding acquisition, Validation, Investigation, Project administration, Writing – review and editing</p></fn><fn fn-type="con" id="con17"><p>Conceptualization, Software, Formal analysis, Supervision, Investigation, Methodology, Writing – review and editing</p></fn></fn-group><fn-group content-type="ethics-information"><title>Ethics</title><fn fn-type="other"><p>Ethical approval for this study was obtained from the ethics committee at the Collective Health Institute, Federal University of Bahia (CEP/ISC/UFBA) under number CAEE 32361820.7.0000.5030, and the national research ethics committee (CONEP) linked to the Brazilian Ministry of Health under approval number 4.235.251. All participants involved in the study provided written informed consent before data collection.</p></fn></fn-group></sec><sec sec-type="supplementary-material" id="s6"><title>Additional files</title><supplementary-material id="mdar"><label>MDAR checklist</label><media xlink:href="elife-107153-mdarchecklist1-v1.docx" mimetype="application" mime-subtype="docx"/></supplementary-material><supplementary-material id="sdata1"><label>Source data 1.</label><caption><title>Data used in population-level models, showing step selection coefficients for each individual and each environmental factor.</title></caption><media xlink:href="elife-107153-data1-v1.zip" mimetype="application" mime-subtype="zip"/></supplementary-material><supplementary-material id="scode1"><label>Source code 1.</label><caption><title>R code used for individual-level step selection functions.</title></caption><media xlink:href="elife-107153-code1-v1.zip" mimetype="application" mime-subtype="zip"/></supplementary-material><supplementary-material id="scode2"><label>Source code 2.</label><caption><title>R code used for population-level models.</title></caption><media xlink:href="elife-107153-code2-v1.zip" mimetype="application" mime-subtype="zip"/></supplementary-material></sec><sec sec-type="data-availability" id="s7"><title>Data availability</title><p>All data are managed in accordance with the ethical standards and data management policies of the affiliated institutions. Due to the inclusion of personal information from survey participants, the datasets used and/or analysed during the current study cannot be publicly shared. Interested researchers can contact Dr Federico Costa (fcosta2001@gmail.com) to obtain the raw data, clearly stating the purpose of their study including the protocol and analysis plan. They will also have to obtain the necessary ethical approvals from the ethics committee at the Collective Health Institute of the Federal University of Bahia and the National Ethics Committee linked to the Brazilian Ministry of Health. Relevant details are available in the ethics section of the manuscript. Anonymized data used for the population-level models has been made available in the supplementary material along with the code used to create it and analyse it. This data represents the selection coefficients of each of the individual-level step selection functions used.</p></sec><ack id="ack"><title>Acknowledgements</title><p>We would like to thank all residents from the study areas, without whom this work would not have been able to be completed. The authors would also like to specially thank the GIC (Grupo Impulsor Comunitario) for their support and warmth. This work was supported by the Wellcome Trust, NIHR/Wellcome Global Health Partnership (218987/Z/19/Z) to FC. FNS received a research scholarship from the Brazilian National Research Council (CNPq:150142/2024-2). PRC is in receipt of a studentship from the Medical Research Council, UK. ME was supported through a Reckitt Global Hygiene Institute fellowship. JMR acknowledges support from the National Institute of Allergy and Infectious Diseases (Grant number 1R01AI160780-01).</p></ack><ref-list><title>References</title><ref id="bib1"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Adler</surname><given-names>B</given-names></name><name><surname>de la Peña Moctezuma</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2010">2010</year><article-title>Leptospira and leptospirosis</article-title><source>Veterinary Microbiology</source><volume>140</volume><fpage>287</fpage><lpage>296</lpage><pub-id pub-id-type="doi">10.1016/j.vetmic.2009.03.012</pub-id><pub-id pub-id-type="pmid">19345023</pub-id></element-citation></ref><ref id="bib2"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Costa</surname><given-names>F</given-names></name><name><surname>Hagan</surname><given-names>JE</given-names></name><name><surname>Calcagno</surname><given-names>J</given-names></name><name><surname>Kane</surname><given-names>M</given-names></name><name><surname>Torgerson</surname><given-names>P</given-names></name><name><surname>Martinez-Silveira</surname><given-names>MS</given-names></name><name><surname>Stein</surname><given-names>C</given-names></name><name><surname>Abela-Ridder</surname><given-names>B</given-names></name><name><surname>Ko</surname><given-names>AI</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Global morbidity and mortality of leptospirosis: a systematic review</article-title><source>PLOS Neglected Tropical Diseases</source><volume>9</volume><elocation-id>e0003898</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pntd.0003898</pub-id><pub-id pub-id-type="pmid">26379143</pub-id></element-citation></ref><ref id="bib3"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Cremonese</surname><given-names>C</given-names></name><name><surname>Souza</surname><given-names>FN</given-names></name><name><surname>Palma</surname><given-names>FAG</given-names></name><name><surname>Sodré</surname><given-names>JFA</given-names></name><name><surname>Brito</surname><given-names>RL</given-names></name><name><surname>Ribeiro</surname><given-names>PDS</given-names></name><name><surname>Santana</surname><given-names>JO</given-names></name><name><surname>Coelho</surname><given-names>RH</given-names></name><name><surname>Ticona</surname><given-names>JPA</given-names></name><name><surname>Nazaré</surname><given-names>RJ</given-names></name><name><surname>de Oliveira</surname><given-names>D</given-names></name><name><surname>Silva</surname><given-names>CQ</given-names></name><name><surname>Eyre</surname><given-names>MT</given-names></name><name><surname>de A Mendes</surname><given-names>V</given-names></name><name><surname>Knee</surname><given-names>J</given-names></name><name><surname>Ristow</surname><given-names>P</given-names></name><name><surname>Stauber</surname><given-names>CE</given-names></name><name><surname>López</surname><given-names>YAA</given-names></name><name><surname>Giorgi</surname><given-names>E</given-names></name><name><surname>Diggle</surname><given-names>PJ</given-names></name><name><surname>Reis</surname><given-names>MGG</given-names></name><name><surname>Cumming</surname><given-names>O</given-names></name><name><surname>Ko</surname><given-names>A</given-names></name><name><surname>Costa</surname><given-names>F</given-names></name></person-group><year iso-8601-date="2023">2023</year><article-title>Simplified sewerage to prevent urban leptospirosis transmission: a cluster non-randomised controlled trial protocol in disadvantaged urban communities of Salvador, Brazil</article-title><source>BMJ Open</source><volume>13</volume><elocation-id>e065009</elocation-id><pub-id pub-id-type="doi">10.1136/bmjopen-2022-065009</pub-id><pub-id pub-id-type="pmid">37355266</pub-id></element-citation></ref><ref id="bib4"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Fieberg</surname><given-names>J</given-names></name><name><surname>Signer</surname><given-names>J</given-names></name><name><surname>Smith</surname><given-names>B</given-names></name><name><surname>Avgar</surname><given-names>T</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>A “How to” guide for interpreting parameters in habitat-selection analyses</article-title><source>The Journal of Animal Ecology</source><volume>90</volume><fpage>1027</fpage><lpage>1043</lpage><pub-id pub-id-type="doi">10.1111/1365-2656.13441</pub-id><pub-id pub-id-type="pmid">33583036</pub-id></element-citation></ref><ref id="bib5"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Fornace</surname><given-names>KM</given-names></name><name><surname>Alexander</surname><given-names>N</given-names></name><name><surname>Abidin</surname><given-names>TR</given-names></name><name><surname>Brock</surname><given-names>PM</given-names></name><name><surname>Chua</surname><given-names>TH</given-names></name><name><surname>Vythilingam</surname><given-names>I</given-names></name><name><surname>Ferguson</surname><given-names>HM</given-names></name><name><surname>Manin</surname><given-names>BO</given-names></name><name><surname>Wong</surname><given-names>ML</given-names></name><name><surname>Ng</surname><given-names>SH</given-names></name><name><surname>Cox</surname><given-names>J</given-names></name><name><surname>Drakeley</surname><given-names>C</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Local human movement patterns and land use impact exposure to zoonotic malaria in Malaysian Borneo</article-title><source>eLife</source><volume>8</volume><elocation-id>e47602</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.47602</pub-id><pub-id pub-id-type="pmid">31638575</pub-id></element-citation></ref><ref id="bib6"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hagan</surname><given-names>JE</given-names></name><name><surname>Moraga</surname><given-names>P</given-names></name><name><surname>Costa</surname><given-names>F</given-names></name><name><surname>Capian</surname><given-names>N</given-names></name><name><surname>Ribeiro</surname><given-names>GS</given-names></name><name><surname>Wunder</surname><given-names>EA</given-names><suffix>Jr</suffix></name><name><surname>Felzemburgh</surname><given-names>RDM</given-names></name><name><surname>Reis</surname><given-names>RB</given-names></name><name><surname>Nery</surname><given-names>N</given-names></name><name><surname>Santana</surname><given-names>FS</given-names></name><name><surname>Fraga</surname><given-names>D</given-names></name><name><surname>Dos Santos</surname><given-names>BL</given-names></name><name><surname>Santos</surname><given-names>AC</given-names></name><name><surname>Queiroz</surname><given-names>A</given-names></name><name><surname>Tassinari</surname><given-names>W</given-names></name><name><surname>Carvalho</surname><given-names>MS</given-names></name><name><surname>Reis</surname><given-names>MG</given-names></name><name><surname>Diggle</surname><given-names>PJ</given-names></name><name><surname>Ko</surname><given-names>AI</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>Spatiotemporal determinants of urban leptospirosis transmission: four-year prospective cohort study of slum residents in Brazil</article-title><source>PLOS Neglected Tropical Diseases</source><volume>10</volume><elocation-id>e0004275</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pntd.0004275</pub-id><pub-id pub-id-type="pmid">26771379</pub-id></element-citation></ref><ref id="bib7"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Johnson</surname><given-names>MAS</given-names></name><name><surname>Smith</surname><given-names>H</given-names></name><name><surname>Joseph</surname><given-names>P</given-names></name><name><surname>Gilman</surname><given-names>RH</given-names></name><name><surname>Bautista</surname><given-names>CT</given-names></name><name><surname>Campos</surname><given-names>KJ</given-names></name><name><surname>Cespedes</surname><given-names>M</given-names></name><name><surname>Klatsky</surname><given-names>P</given-names></name><name><surname>Vidal</surname><given-names>C</given-names></name><name><surname>Terry</surname><given-names>H</given-names></name><name><surname>Calderon</surname><given-names>MM</given-names></name><name><surname>Coral</surname><given-names>C</given-names></name><name><surname>Cabrera</surname><given-names>L</given-names></name><name><surname>Parmar</surname><given-names>PS</given-names></name><name><surname>Vinetz</surname><given-names>JM</given-names></name></person-group><year iso-8601-date="2024">2024</year><article-title>Environmental exposure and leptospirosis, Peru</article-title><source>Emerging Infectious Diseases</source><volume>10</volume><fpage>1016</fpage><lpage>1022</lpage><pub-id pub-id-type="doi">10.3201/eid1006.030660</pub-id></element-citation></ref><ref id="bib8"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Khalil</surname><given-names>H</given-names></name><name><surname>Santana</surname><given-names>R</given-names></name><name><surname>de Oliveira</surname><given-names>D</given-names></name><name><surname>Palma</surname><given-names>F</given-names></name><name><surname>Lustosa</surname><given-names>R</given-names></name><name><surname>Eyre</surname><given-names>MT</given-names></name><name><surname>Carvalho-Pereira</surname><given-names>T</given-names></name><name><surname>Reis</surname><given-names>MG</given-names></name><name><surname>Ko</surname><given-names>AI</given-names></name><name><surname>Diggle</surname><given-names>PJ</given-names></name><name><surname>Alzate Lopez</surname><given-names>Y</given-names></name><name><surname>Begon</surname><given-names>M</given-names></name><name><surname>Costa</surname><given-names>F</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Poverty, sanitation, and Leptospira transmission pathways in residents from four Brazilian slums</article-title><source>PLOS Neglected Tropical Diseases</source><volume>15</volume><elocation-id>e0009256</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pntd.0009256</pub-id><pub-id pub-id-type="pmid">33788864</pub-id></element-citation></ref><ref id="bib9"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kraemer</surname><given-names>MUG</given-names></name><name><surname>Sadilek</surname><given-names>A</given-names></name><name><surname>Zhang</surname><given-names>Q</given-names></name><name><surname>Marchal</surname><given-names>NA</given-names></name><name><surname>Tuli</surname><given-names>G</given-names></name><name><surname>Cohn</surname><given-names>EL</given-names></name><name><surname>Hswen</surname><given-names>Y</given-names></name><name><surname>Perkins</surname><given-names>TA</given-names></name><name><surname>Smith</surname><given-names>DL</given-names></name><name><surname>Reiner</surname><given-names>RC</given-names></name><name><surname>Brownstein</surname><given-names>JS</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Mapping global variation in human mobility</article-title><source>Nature Human Behaviour</source><volume>4</volume><fpage>800</fpage><lpage>810</lpage><pub-id pub-id-type="doi">10.1038/s41562-020-0875-0</pub-id><pub-id pub-id-type="pmid">32424257</pub-id></element-citation></ref><ref id="bib10"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Moncayo-Unda</surname><given-names>MG</given-names></name><name><surname>Van Droogenbroeck</surname><given-names>M</given-names></name><name><surname>Saadi</surname><given-names>I</given-names></name><name><surname>Cools</surname><given-names>M</given-names></name></person-group><year iso-8601-date="2023">2023</year><article-title>A longitudinal analysis of the COVID-19 effects on the variability in human activity spaces in Quito, Ecuador</article-title><source>Journal of Transport Geography</source><volume>113</volume><elocation-id>103735</elocation-id><pub-id pub-id-type="doi">10.1016/j.jtrangeo.2023.103735</pub-id></element-citation></ref><ref id="bib11"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Owers</surname><given-names>KA</given-names></name><name><surname>Odetunde</surname><given-names>J</given-names></name><name><surname>de Matos</surname><given-names>RB</given-names></name><name><surname>Sacramento</surname><given-names>G</given-names></name><name><surname>Carvalho</surname><given-names>M</given-names></name><name><surname>Nery</surname><given-names>N</given-names><suffix>Jr</suffix></name><name><surname>Costa</surname><given-names>F</given-names></name><name><surname>Reis</surname><given-names>MG</given-names></name><name><surname>Childs</surname><given-names>JE</given-names></name><name><surname>Hagan</surname><given-names>JE</given-names></name><name><surname>Diggle</surname><given-names>PJ</given-names></name><name><surname>Ko</surname><given-names>AI</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Fine-scale GPS tracking to quantify human movement patterns and exposure to leptospires in the urban slum environment</article-title><source>PLOS Neglected Tropical Diseases</source><volume>12</volume><elocation-id>e0006752</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pntd.0006752</pub-id><pub-id pub-id-type="pmid">30169513</pub-id></element-citation></ref><ref id="bib12"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Palma</surname><given-names>FAG</given-names></name><name><surname>Costa</surname><given-names>F</given-names></name><name><surname>Lustosa</surname><given-names>R</given-names></name><name><surname>Mogaji</surname><given-names>HO</given-names></name><name><surname>de Oliveira</surname><given-names>DS</given-names></name><name><surname>Souza</surname><given-names>FN</given-names></name><name><surname>Reis</surname><given-names>MG</given-names></name><name><surname>Ko</surname><given-names>AI</given-names></name><name><surname>Begon</surname><given-names>M</given-names></name><name><surname>Khalil</surname><given-names>H</given-names></name></person-group><year iso-8601-date="2022">2022</year><article-title>Why is leptospirosis hard to avoid for the impoverished? Deconstructing leptospirosis transmission risk and the drivers of knowledge, attitudes, and practices in a disadvantaged community in Salvador, Brazil</article-title><source>PLOS Global Public Health</source><volume>2</volume><elocation-id>e0000408</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pgph.0000408</pub-id><pub-id pub-id-type="pmid">36962720</pub-id></element-citation></ref><ref id="bib13"><element-citation publication-type="software"><person-group person-group-type="author"><collab>R Development Core Team</collab></person-group><year iso-8601-date="2024">2024</year><data-title>R: a language and environment for statistical computing</data-title><publisher-loc>Vienna, Austria</publisher-loc><publisher-name>R Foundation for Statistical Computing</publisher-name><ext-link ext-link-type="uri" xlink:href="https://www.r-project.org">https://www.r-project.org</ext-link></element-citation></ref><ref id="bib14"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Reis</surname><given-names>RB</given-names></name><name><surname>Ribeiro</surname><given-names>GS</given-names></name><name><surname>Felzemburgh</surname><given-names>RDM</given-names></name><name><surname>Santana</surname><given-names>FS</given-names></name><name><surname>Mohr</surname><given-names>S</given-names></name><name><surname>Melendez</surname><given-names>AXTO</given-names></name><name><surname>Queiroz</surname><given-names>A</given-names></name><name><surname>Santos</surname><given-names>AC</given-names></name><name><surname>Ravines</surname><given-names>RR</given-names></name><name><surname>Tassinari</surname><given-names>WS</given-names></name><name><surname>Carvalho</surname><given-names>MS</given-names></name><name><surname>Reis</surname><given-names>MG</given-names></name><name><surname>Ko</surname><given-names>AI</given-names></name></person-group><year iso-8601-date="2008">2008</year><article-title>Impact of environment and social gradient on Leptospira infection in urban slums</article-title><source>PLOS Neglected Tropical Diseases</source><volume>2</volume><elocation-id>e228</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pntd.0000228</pub-id><pub-id pub-id-type="pmid">18431445</pub-id></element-citation></ref><ref id="bib15"><element-citation publication-type="software"><person-group person-group-type="author"><name><surname>Signer</surname><given-names>J</given-names></name><name><surname>Smith</surname><given-names>B</given-names></name><name><surname>Reineking</surname><given-names>B</given-names></name><name><surname>Schlaegel</surname><given-names>U</given-names></name><name><surname>Fieberg</surname><given-names>J</given-names></name></person-group><year iso-8601-date="2024">2024</year><data-title>Amt: animal movement tools</data-title><version designator="0.3.0.0">0.3.0.0</version><source>R Package</source><ext-link ext-link-type="uri" xlink:href="https://cran.r-project.org/web/packages/amt/index.html">https://cran.r-project.org/web/packages/amt/index.html</ext-link></element-citation></ref><ref id="bib16"><element-citation publication-type="software"><person-group person-group-type="author"><name><surname>Wickham</surname><given-names>H</given-names></name></person-group><year iso-8601-date="2023">2023</year><data-title>Tidyverse: easily install and load the “tidyverse”</data-title><version designator="2.0.0">2.0.0</version><source>R Package</source><ext-link ext-link-type="uri" xlink:href="https://cran.r-project.org/web/packages/tidyverse/index.html">https://cran.r-project.org/web/packages/tidyverse/index.html</ext-link></element-citation></ref></ref-list><app-group><app id="appendix-1"><title>Appendix 1</title><sec sec-type="appendix" id="s8"><title>Descriptive statistics</title><sec sec-type="appendix" id="s8-1"><title>Telemetry data</title><p>The mean number of hours of telemetry data provided by an individual was 13.3 hr, with a standard deviation of 13.5 hr. The mean number of locations recorded by the GPS loggers was 2767 points (SD = 1947.2). There were no differences in the number of hours or number of locations recorded by gender, age, or leptospirosis antibody status. There were notable differences in the number of hours recorded and the number of locations by study area. Study area 1 (NVS) had the lowest number of hours recorded (mean = 5.6 hr, SD = 5.6), whilst all other areas had similar hours recorded (area 2: mean = 15.0, SD = 11.4; area 3: mean = 10.9, SD = 14.0; area 4: mean = 20.7, SD = 15.3). The mean number of locations recorded was all similar across all study areas (area 1: mean = 2048, SD = 1206; area 2: mean = 2831, SD = 1302; area 3: mean = 2992, SD = 2737; area 4: mean = 3107, SD = 1761).</p><fig id="app1fig1" position="float"><label>Appendix 1—figure 1.</label><caption><title>Distribution of telemetry data provided by each individual across 24 hr periods (<italic>x</italic>-axis), separated into each of the four study areas (1: NVS, 2: ARE, 3: JSI, 4: CAL).</title><p>Overlapping areas represent multiple days. Vertical bars represent 5 am (left-hand bar) and 9 pm (right-hand bar), the period of analysis.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-107153-app1-fig1-v1.tif"/></fig></sec><sec sec-type="appendix" id="s8-2"><title>Excluded individuals</title><table-wrap id="app1table1" position="float"><label>Appendix 1—table 1.</label><caption><title>Demographic details of excluded individuals due to having less than 50 relocations.</title></caption><table frame="hsides" rules="groups"><thead><tr><th align="left" valign="bottom">ID (anonymised)</th><th align="left" valign="bottom">Relocation below 50</th><th align="left" valign="bottom">Period</th><th align="left" valign="bottom">Gender</th><th align="left" valign="bottom">Age group</th><th align="left" valign="bottom">Leptospirosis serological status</th></tr></thead><tbody><tr><td align="left" valign="bottom">60</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">05–21</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">50–54</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">91</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">05–21</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">&gt;55</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">15</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">05–09</td><td align="left" valign="bottom">Female</td><td align="left" valign="bottom">45–49</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">60</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">05–09</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">50–54</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">81</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">05–09</td><td align="left" valign="bottom">Female</td><td align="left" valign="bottom">50–54</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">91</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">05–09</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">&gt;55</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">108</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">05–09</td><td align="left" valign="bottom">Female</td><td align="left" valign="bottom">50–54</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">109</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">05–09</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">20–24</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">128</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">05–09</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">25–29</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">129</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">05–09</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">40–44</td><td align="left" valign="bottom">Pos</td></tr><tr><td align="left" valign="bottom">15</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">09–13</td><td align="left" valign="bottom">Female</td><td align="left" valign="bottom">45–49</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">24</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">09–13</td><td align="left" valign="bottom">Female</td><td align="left" valign="bottom">50–54</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">60</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">09–13</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">50–54</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">70</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">09–13</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">35–39</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">71</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">09–13</td><td align="left" valign="bottom">Female</td><td align="left" valign="bottom">35–39</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">76</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">09–13</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">35–39</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">91</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">09–13</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">&gt;55</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">108</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">09–13</td><td align="left" valign="bottom">Female</td><td align="left" valign="bottom">50–54</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">109</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">09–13</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">20–24</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">128</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">09–13</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">25–29</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">129</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">09–13</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">40–44</td><td align="left" valign="bottom">Pos</td></tr><tr><td align="left" valign="bottom">24</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">13–17</td><td align="left" valign="bottom">Female</td><td align="left" valign="bottom">50–54</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">60</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">13–17</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">50–54</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">71</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">13–17</td><td align="left" valign="bottom">Female</td><td align="left" valign="bottom">35–39</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">76</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">13–17</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">35–39</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">91</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">13–17</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">&gt;55</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">5</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">17–21</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">35–39</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">7</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">17–21</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">50–54</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">18</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">17–21</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">30–34</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">22</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">17–21</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">45–49</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">24</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">17–21</td><td align="left" valign="bottom">Female</td><td align="left" valign="bottom">50–54</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">27</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">17–21</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">30–34</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">30</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">17–21</td><td align="left" valign="bottom">Female</td><td align="left" valign="bottom">&gt;55</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">60</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">17–21</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">50–54</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">71</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">17–21</td><td align="left" valign="bottom">Female</td><td align="left" valign="bottom">35–39</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">91</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">17–21</td><td align="left" valign="bottom">Male</td><td align="left" valign="bottom">&gt;55</td><td align="left" valign="bottom">Neg</td></tr><tr><td align="left" valign="bottom">114</td><td align="left" valign="bottom">TRUE</td><td align="left" valign="bottom">17–21</td><td align="left" valign="bottom">Female</td><td align="left" valign="bottom">40–44</td><td align="left" valign="bottom">Neg</td></tr></tbody></table></table-wrap></sec></sec><sec sec-type="appendix" id="s9"><title>Serological data</title><p>Serologically positive individuals were equally distributed across ages and genders, although the oldest male included in the analysis was also serologically positive (<xref ref-type="fig" rid="app1fig2">Appendix 1—figure 2</xref>).</p><p>There were also no significant skews in the household characteristics relative to the environmental factors being analysed (<xref ref-type="fig" rid="app1fig3">Appendix 1—figure 3</xref>).</p></sec><sec sec-type="appendix" id="s10"><title>Laboratory work</title><p>All samples were tested using the MAT test, the reference test for serological diagnosis of leptospirosis, as designated by the WHO. The diagnostic panel used included the following serovars:</p><list list-type="bullet" id="list1"><list-item><p><italic>Leptospira kirschneri</italic> serovar Cynopteri strain 3522C</p></list-item><list-item><p><italic>L. kirschneri</italic> serovar Grippothyphosa strain Duyster</p></list-item><list-item><p><italic>Leptospira interrogans</italic> serovar Canicola strain H. Ultrech</p></list-item><list-item><p><italic>L. interrogans</italic> serovar Autumnlais strain Akiyami A</p></list-item><list-item><p><italic>Leptospira borgspetersenii</italic> serovar Ballum strain MUS 127</p></list-item><list-item><p><italic>L. interrogans</italic> serovar Copenhageni strain Fiocruz L1-130 (locally isolated in 1996)</p></list-item><list-item><p><italic>L. interrogans</italic> serovar Copenhageni strain Fiocruz LV3954</p></list-item></list><fig id="app1fig2" position="float"><label>Appendix 1—figure 2.</label><caption><title>Distribution of <italic>Leptospirosis</italic> antibody status (serological status) by gender and age.</title></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-107153-app1-fig2-v1.tif"/></fig><fig id="app1fig3" position="float"><label>Appendix 1—figure 3.</label><caption><title>Distribution of nearest distance to each of the environmental factors being analysed (central stream, open sewer points, and domestic rubbish piles) by serological status (<italic>x</italic>-axis) and study area (1: NVS, 2: ARE, 3: JSI, 4: CAL).</title><p>NA represents the rest of households in the study area that did not take part in movement analysis.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-107153-app1-fig3-v1.tif"/></fig></sec></app></app-group></back><sub-article article-type="editor-report" id="sa0"><front-stub><article-id pub-id-type="doi">10.7554/eLife.107153.3.sa0</article-id><title-group><article-title>eLife Assessment</article-title></title-group><contrib-group><contrib contrib-type="author"><name><surname>Wirsiy</surname><given-names>Frankline</given-names></name><role specific-use="editor">Reviewing Editor</role><aff><institution>Africa Centres for Disease Control and Prevention, Amref Health Africa</institution><country>Cameroon</country></aff></contrib></contrib-group><kwd-group kwd-group-type="evidence-strength"><kwd>Compelling</kwd></kwd-group><kwd-group kwd-group-type="claim-importance"><kwd>Valuable</kwd></kwd-group></front-stub><body><p>This study makes a novel and <bold>valuable</bold> contribution by adapting step selection functions, traditionally used in animal ecology, to explore human movement and environmental risk exposure in urban slums, offering a promising framework for spatial epidemiology, particularly regarding leptospirosis. The integration of GPS telemetry with environmental data and the stratification by gender and serostatus are notable strengths that enhance the study's relevance for public health applications. The strength of evidence is <bold>compelling</bold>.</p></body></sub-article><sub-article article-type="referee-report" id="sa1"><front-stub><article-id pub-id-type="doi">10.7554/eLife.107153.3.sa1</article-id><title-group><article-title>Reviewer #1 (Public review):</article-title></title-group><contrib-group><contrib contrib-type="author"><anonymous/><role specific-use="referee">Reviewer</role></contrib></contrib-group></front-stub><body><p>Summary:</p><p>The study investigated how individuals living in urban slums in Salvador, Brazil, interact with environmental risk factors, particularly focusing on domestic rubbish piles, open sewers, and a central stream. The study makes use of the step selection functions using telemetry data, which is a method to estimate how likely individuals move towards these environmental features, differentiating among groups by gender, age, and leptospirosis serostatus. The results indicated that women tended to stay closer to the central stream while avoiding open sewers more than men. Furthermore, individuals who tested positive for leptospirosis tended to avoid open sewers, suggesting that behavioral patterns might influence exposure to risk factors for leptospirosis, hence ensuring more targeted interventions.</p><p>Strengths:</p><p>(1) The use of step selection functions to analyze human movement represents an innovative adaptation of a method typically used in animal ecology. This provides a robust quantitative framework for evaluating how people interact with environmental risk factors linked to infectious diseases (in this case, leptospirosis).</p><p>(2) Detailed differentiation by gender and serological status allows for nuanced insights, which can help tailor targeted interventions and potentially improve public health measures in urban slum settings.</p><p>(3) The integration of real-world telemetry data with epidemiological risk factors supports the development of predictive models that can be applied in future infectious disease research, helping to bridge the gap between environmental exposure and health outcomes.</p></body></sub-article><sub-article article-type="referee-report" id="sa2"><front-stub><article-id pub-id-type="doi">10.7554/eLife.107153.3.sa2</article-id><title-group><article-title>Reviewer #2 (Public review):</article-title></title-group><contrib-group><contrib contrib-type="author"><anonymous/><role specific-use="referee">Reviewer</role></contrib></contrib-group></front-stub><body><p>Summary:</p><p>Pablo Ruiz Cuenca et al. conducted a GPS logger study with 124 adult participants across four different slum areas in Salvador, Brazil, recording GPS locations every 35 seconds for 48 hours. The aim of their study was to investigate step-selection models, a technique widely used in movement ecology to quantify contact with environmental risk factors for exposure to leptospires (open sewers, community streams, and rubbish piles). The authors built two different types of models based on distance and based on buffer areas to model human environmental exposure to risk factors. They show differences in movement/contact with these risk factors based on gender and seropositivity status. This study shows the existence of modest differences in contact with environmental risk factors for leptospirosis at small spatial scales based on socio-demographics and infection status.</p><p>Strengths:</p><p>The authors assembled a rich dataset by collecting human GPS logger data, combined with field-recorded locations of open sewers, community streams, and rubbish piles, and testing individuals for leptospirosis via serology. This study was able to capture fine-scale exposure dynamics within an urban environment and shows differences by gender and seropositive status, using a method novel to epidemiology (step selection).</p><p>[Editors' note: I have reviewed the authors' revised submission and confirm that they have adequately addressed the reviewers' comments for this manuscript.]</p></body></sub-article><sub-article article-type="author-comment" id="sa3"><front-stub><article-id pub-id-type="doi">10.7554/eLife.107153.3.sa3</article-id><title-group><article-title>Author response</article-title></title-group><contrib-group><contrib contrib-type="author"><name><surname>Ruiz Cuenca</surname><given-names>Pablo</given-names></name><role specific-use="author">Author</role><aff><institution>Lancaster University</institution><addr-line><named-content content-type="city">Lancaster</named-content></addr-line><country>United Kingdom</country></aff></contrib><contrib contrib-type="author"><name><surname>Souza</surname><given-names>Fábio N</given-names></name><role specific-use="author">Author</role><aff><institution>Universidade Federal da Bahia</institution><addr-line><named-content content-type="city">Salvador</named-content></addr-line><country>Brazil</country></aff></contrib><contrib contrib-type="author"><name><surname>Coutinho do Nascimento</surname><given-names>Roberta</given-names></name><role specific-use="author">Author</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/02698kt06</institution-id><institution>Faculdades Oswaldo Cruz</institution></institution-wrap><addr-line><named-content content-type="city">Salvador</named-content></addr-line><country>Brazil</country></aff></contrib><contrib contrib-type="author"><name><surname>Goncalves da Silva</surname><given-names>Ariane</given-names></name><role specific-use="author">Author</role><aff><institution>Universidade Federal da Bahia</institution><addr-line><named-content content-type="city">Salvador</named-content></addr-line><country>Brazil</country></aff></contrib><contrib contrib-type="author"><name><surname>Eyre</surname><given-names>Max T</given-names></name><role specific-use="author">Author</role><aff><institution>London School of Hygiene &amp; Tropical Medicine</institution><addr-line><named-content content-type="city">London</named-content></addr-line><country>United Kingdom</country></aff></contrib><contrib contrib-type="author"><name><surname>Santana</surname><given-names>Juliet O</given-names></name><role specific-use="author">Author</role><aff><institution>Universidade Federal da Bahia</institution><addr-line><named-content content-type="city">Salvador</named-content></addr-line><country>Brazil</country></aff></contrib><contrib contrib-type="author"><name><surname>de Oliveira</surname><given-names>Daiana</given-names></name><role specific-use="author">Author</role><aff><institution>Universidade Federal da Bahia</institution><addr-line><named-content content-type="city">Salvador</named-content></addr-line><country>Brazil</country></aff></contrib><contrib contrib-type="author"><name><surname>Ribeiro de Souza</surname><given-names>Emile V</given-names></name><role specific-use="author">Author</role><aff><institution>Universidade Federal da Bahia</institution><addr-line><named-content content-type="city">Salvador</named-content></addr-line><country>Brazil</country></aff></contrib><contrib contrib-type="author"><name><surname>Palma</surname><given-names>Fabiana G</given-names></name><role specific-use="author">Author</role><aff><institution>Universidade Federal da Bahia</institution><addr-line><named-content content-type="city">Salvador</named-content></addr-line><country>Brazil</country></aff></contrib><contrib contrib-type="author"><name><surname>de Carvalho Santiago</surname><given-names>Diogo C</given-names></name><role specific-use="author">Author</role><aff><institution>Universidade Federal da Bahia</institution><addr-line><named-content content-type="city">Salvador</named-content></addr-line><country>Brazil</country></aff></contrib><contrib contrib-type="author"><name><surname>dos Santos Ribeiro</surname><given-names>Priscyla</given-names></name><role specific-use="author">Author</role><aff><institution>Universidade Federal da Bahia</institution><addr-line><named-content content-type="city">Salvador</named-content></addr-line><country>Brazil</country></aff></contrib><contrib contrib-type="author"><name><surname>Ferreira dos Santos</surname><given-names>Priscilla Elizabeth</given-names></name><role specific-use="author">Author</role><aff><institution>Universidade Federal da Bahia</institution><addr-line><named-content content-type="city">Bahia</named-content></addr-line><country>Brazil</country></aff></contrib><contrib contrib-type="author"><name><surname>Khalil</surname><given-names>Hussein</given-names></name><role specific-use="author">Author</role><aff><institution>Swedish University of Agricultural Sciences</institution><addr-line><named-content content-type="city">Umeå</named-content></addr-line><country>Sweden</country></aff></contrib><contrib contrib-type="author"><name><surname>Read</surname><given-names>Jonathan M</given-names></name><role specific-use="author">Author</role><aff><institution>Lancaster University</institution><addr-line><named-content content-type="city">Lancaster</named-content></addr-line><country>United Kingdom</country></aff></contrib><contrib contrib-type="author"><name><surname>Cremonese</surname><given-names>Cleber</given-names></name><role specific-use="author">Author</role><aff><institution>Universidade Federal da Bahia</institution><addr-line><named-content content-type="city">Salvador</named-content></addr-line><country>Brazil</country></aff></contrib><contrib contrib-type="author"><name><surname>Costa</surname><given-names>Federico</given-names></name><role specific-use="author">Author</role><aff><institution>Universidade Federal da Bahia</institution><addr-line><named-content content-type="city">Salvador</named-content></addr-line><country>Brazil</country></aff></contrib><contrib contrib-type="author"><name><surname>Giorgi</surname><given-names>Emanuele</given-names></name><role specific-use="author">Author</role><aff><institution>Lancaster University</institution><addr-line><named-content content-type="city">Lancaster</named-content></addr-line><country>United Kingdom</country></aff></contrib></contrib-group></front-stub><body><p>The following is the authors’ response to the original reviews.</p><disp-quote content-type="editor-comment"><p><bold>Reviewer #1 (Public review):</bold></p><p>Summary:</p><p>The study investigated how individuals living in urban slums in Salvador, Brazil, interact with environmental risk factors, particularly focusing on domestic rubbish piles, open sewers, and a central stream. The study makes use of the step selection functions using telemetry data, which is a method to estimate how likely individuals move towards these environmental features, differentiating among groups by gender, age, and leptospirosis serostatus. The results indicated that women tended to stay closer to the central stream while avoiding open sewers more than men. Furthermore, individuals who tested positive for leptospirosis tended to avoid open sewers, suggesting that behavioral patterns might influence exposure to risk factors for leptospirosis, hence ensuring more targeted interventions.</p><p>Strengths:</p><p>(1) The use of step selection functions to analyze human movement represents an innovative adaptation of a method typically used in animal ecology. This provides a robust quantitative framework for evaluating how people interact with environmental risk factors linked to infectious diseases (in this case, leptospirosis).</p><p>(2) Detailed differentiation by gender and serological status allows for nuanced insights, which can help tailor targeted interventions and potentially improve public health measures in urban slum settings.</p><p>(3) The integration of real-world telemetry data with epidemiological risk factors supports the development of predictive models that can be applied in future infectious disease research, helping to bridge the gap between environmental exposure and health outcomes.</p><p>Weaknesses:</p><p>(1) The sample size for the study was not calculated, although it was a nested cohort study.</p></disp-quote><p>We thank Reviewer #1 for highlighting this weakness. We will make sure that this is explained in the next version of the manuscript. At the time of recruiting participants, we found no literature on how to perform a sample size calculation for movement studies involving GPS loggers and associated methods of analysis. Therefore, we aimed to recruit as many individuals as possible within the resource constraints of the study.</p><p>“Participants who were already enrolled in the cohort study were recruited to take part in the movement analysis study. At the time of recruitment, we found no published scientific studies detailing how to perform sample size calculations for research using GPS data in humans. Therefore, we opted to use convenience sampling instead. A target of 30 people per study area, balanced by gender and blind to their serological status, was chosen for this study.” [Lines 163 - 169]</p><disp-quote content-type="editor-comment"><p>(2) The step‐selection functions, though a novel method, may face challenges in fully capturing the complexity of human decision-making influenced by socio-cultural and economic factors that were not captured in the study.</p></disp-quote><p>We agree with Reviewer #1 that this model may fail to capture the full breadth of human decisionmaking when it comes to moving through local environments. We included a section discussing the aspect of violence and how this influences residents’ choices, along with some possibilities on how to record and account for this. Although it is outside of the scope of this study, we believe that coupling these quantitative methods with qualitative studies would provide a comprehensive understanding of movement in these areas.</p><disp-quote content-type="editor-comment"><p>(3) The study's context is limited to a specific urban slum in Salvador, Brazil, which may reduce the generalizability of its findings to other geographical areas or populations that experience different environmental or socio-economic conditions.</p></disp-quote><p>We thank the reviewer for highlighting this limitation. We have made this more clear in the discussion section:</p><p>“As a result, the findings are biased towards the more represented individuals, limiting their generalisability. Additionally, all participants are from specific areas in Salvador, which may further limit the generalisability to similar contexts.” [Lines 561 - 564]</p><disp-quote content-type="editor-comment"><p>(4) The reliance on self-reported or telemetry-based movement data might include some inaccuracies or biases that could affect the precision of the selection coefficients obtained, potentially limiting the study's predictive power.</p></disp-quote><p>We agree that telemetry data has inherent inaccuracies, which we have tried to account for by using only those data points within the study areas. We would like to clarify that there is no self-reported movement data used in this study. All movement data was collected using GPS loggers.</p><disp-quote content-type="editor-comment"><p>(5) Some participants with less than 50 relocations within the study area were excluded without clear justification, see line 149.</p></disp-quote><p>We found that the SSF models would not run properly if there weren’t enough relocations. Therefore, we decided to remove these individuals from the analysis. They are also removed from any descriptive statistics presented. We have now clarified this in the manuscript.</p><p>“Individuals with less than 50 relocations within the study area were excluded from the analysis to ensure good model convergence. Details of these excluded individuals can be found in Supplementary Material I.” [Lines 183 – 186]</p><disp-quote content-type="editor-comment"><p>(6) Some figures are not clear (see Figure 4 A &amp; B).</p></disp-quote><p>We have improved the resolution of the image and believe it is more clear now. Please let us know if the resolution still is not clear enough.</p><disp-quote content-type="editor-comment"><p>(7) No statement on conflict of interest was included, considering sponsorship of the study.</p></disp-quote><p>The conflict of interest forms for each author were sent to eLife separately. I believe these should be made available upon publication, but please reach out if these need to be re-sent.</p><disp-quote content-type="editor-comment"><p><bold>Reviewer #2 (Public review):</bold></p><p>Summary:</p><p>Pablo Ruiz Cuenca et al. conducted a GPS logger study with 124 adult participants across four different slum areas in Salvador, Brazil, recording GPS locations every 35 seconds for 48 hours. The aim of their study was to investigate step-selection models, a technique widely used in movement ecology to quantify contact with environmental risk factors for exposure to leptospires (open sewers, community streams, and rubbish piles). The authors built two different types of models based on distance and based on buffer areas to model human environmental exposure to risk factors. They show differences in movement/contact with these risk factors based on gender and seropositivity status. This study shows the existence of modest differences in contact with environmental risk factors for leptospirosis at small spatial scales based on socio-demographics and infection status.</p><p>Strengths:</p><p>The authors assembled a rich dataset by collecting human GPS logger data, combined with fieldrecorded locations of open sewers, community streams, and rubbish piles, and testing individuals for leptospirosis via serology. This study was able to capture fine-scale exposure dynamics within an urban environment and shows differences by gender and seropositive status, using a method novel to epidemiology (step selection).</p><p>Weaknesses:</p><p>Due to environmental data being limited to the study area, exposure elsewhere could not be captured, despite previous research by Owers et al. showing that the extent of movement was associated with infection risk. Limitations of step selection for use in studying human participants in an urban environment would need to be explicitly discussed.</p></disp-quote><p>The environmental factors used in the study required research teams to visit the sites and map the locations. Given that individuals travelled throughout the city of Salvador, performing this task at a large scale would be unachievable. Therefore, we limited the data to only those points within the study area boundaries to avoid any biases from interactions with unrecorded environmental factors.</p><disp-quote content-type="editor-comment"><p><bold>Reviewing Editor Comments:</bold></p><p>The manuscript would benefit from clearer articulation of SSF assumptions, data exclusions, and buffer choices, as well as improvements in figure clarity, to strengthen its generalizability and impact.</p></disp-quote><p>Please see replies to Reviewer #2 below regarding the assumptions (2.3), data exclusions (2.1) and buffer choices (2.2). We have improved Figure 4 clarity, please let us know if this is not sufficient.</p><disp-quote content-type="editor-comment"><p><bold>Reviewer #1 (Recommendations for the authors):</bold></p><p>(1) Provide comprehensive details on telemetry data collection for improved data quality and reproducibility.</p></disp-quote><p>Details for this are included under the “Methods/GPS Data” section. We have included a sentence to explain that we used to GPS device manufacturer’s software to programme them. We believe this provides enough information on how to collect the data for reproducibility, but please let us know if there is further information that we could provide.</p><p>“Individuals who consented to take part in this study were asked to wear GPS loggers for continuous periods of up to 48 hours, which could be repeated. The GPS loggers used were i-got U GT-600, set to record their location every 35 seconds. We used the manufacturer’s software to programme the devices. Data were collected between March and November 2022.” [Lines 172 - 176]</p><disp-quote content-type="editor-comment"><p>(2) Check all figures and improve on clarity (see Figure 4).</p></disp-quote><p>We have updated Figure 4 and believe the resolution is better now. Please let us know if this it not the case from the readers perspective.</p><disp-quote content-type="editor-comment"><p>(3) Revisit sentence structures to improve readability and reduce overly complex phrasing.</p></disp-quote><p>We have reviewed the manuscript and made some changes to improve readability.</p><disp-quote content-type="editor-comment"><p><bold>Reviewer #2 (Recommendations for the authors):</bold></p><p>I thank Ruiz Cuenca et al. for putting together this interesting manuscript on the use of step selection functions for understanding exposure to leptospires in urban Brazil. I thoroughly enjoyed reading it and have a few suggestions that may improve the manuscript.</p><p>I also apologise, but I was not able to find some of the supplementary materials, for instance, Supplementary Material I. That may have been my oversight.</p></disp-quote><p>To eLife: These should have been included with the submitted manuscript file. Please let me know if it has to be resubmitted to eLife.</p><disp-quote content-type="editor-comment"><p>(1) Descriptive statistics</p><p>Some more descriptive statistics would be helpful. For instance, what was the leptospirosis infection status of the six individuals who were removed due to having &lt;50 points inside the area? As part of the analysis relies on exposure, defined as GPS locations within a 20m buffer of open sewers, community streams, and rubbish piles, it would be good to have some descriptive statistics around this. How many visits to these different sites did people make, and how did these statistics vary by study area, age, gender, and leptospirosis infection status?</p></disp-quote><p>We thank Reviewer #2 for highlighting this. Thanks to their comment, we noticed a mistake in the code which excluded more individuals from the summary statistics table than were actually excluded from the full analysis. There were only 2 individuals that had less than 50 relocations across the whole day (5 am to 9 pm) which were excluded from further analysis. The mistake has been rectified and the summary statistics updated. (see table 1)</p><p>We have included the demographic details of excluded participants as a table in the supplementary material, which we have referenced to in the manuscript. We have also explained that the exclusion is to aid model convergence, as we found that too few relocations would result in SSF models not working properly.</p><p>“Individuals with less than 50 relocations within the study area were excluded from the analysis to ensure good model convergence. Details of these excluded individuals can be found in Supplementary Material I.” [Lines 183 – 186]</p><p>We have also now included a table (Table 2), to show more descriptive statistics of how much time individuals spent within each of the environmental buffers.</p><disp-quote content-type="editor-comment"><p>(2) Definitions of buffers</p><p>I was surprised that the authors chose a 20m buffer for each factor but 10m around the household.Could this be more clearly justified, especially given that there will be location errors in both the GPS location point and the GPS logger points? These buffers do appear quite small, particularly in an urban environment where obstruction from buildings can be expected to yield substantial GPS errors.</p></disp-quote><p>The 20 meter buffer represents an intense interaction with the point of interest. This distance was decided after visiting the sites and seeing the points of interest in person. The 10 meter buffer accounts for the size of dwellings in these areas. We have included these explanations in the new manuscript:</p><p>“The buffer rasters, one for each factor, were created using a 20 meter buffer around each reference point. The size of this buffer was decided after visiting the study areas and represented an area within which it could be considered a strong interaction with the point of interest.” [Lines 198 – 202]</p><p>“Buffer rasters were also created for each individual’s household location, with a 10 meter buffer around each location.This represented space within and immediately outside each house. This buffer size accounted for the size of dwellings in these study areas.” [Lines 205 - 208]</p><disp-quote content-type="editor-comment"><p>(3) Assumptions of the step selection function</p><p>Step selection functions (SSFs) rely on a number of assumptions. Whether these assumptions are met needs to be critically discussed within the article. (For a discussion of the assumptions, I am relying on points raised in this article: Integrated step selection analysis: bridging the gap between resource selection and animal movement (2015): Tal Avgar, Jonathan R. Potts, Mark A. Lewis, Mark S. Boyce, DOI: <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1111/2041-210X.12528">https://doi.org/10.1111/2041-210X.12528</ext-link>).</p><p>First, SSFs typically assume each step is independent, conditional only on the previous step (Markovian process). This is violated in circular movements, for instance. Circular movements are highly likely in human movement as people will leave and return to their homes during the day. While this is partially addressed by conducting separate analyses by time of day, circular journeys can still exist within these segments.</p><p>Second, SSFs do not account for goal-oriented behaviour like intentional destination-seeking. So, for instance, when someone executes a plan to visit a specific stream to fetch drinking water, such behaviour is poorly approximated using SSFs because SSFs compare observed steps to random alternatives drawn from a movement kernel, assuming movement is opportunistic rather than intentional.</p></disp-quote><p>This is true of SSF that do not include movement attributes. However, in our SSF we have included both step lengths and turning angles, which, according to Avgar et al, should be enough to account for this goal-oriented behaviour. It may be clearer to call the model an integrated step selection function (iSSF), as they do in Avgar et al., which we can change in the next version of the manuscript.</p><disp-quote content-type="editor-comment"><p>Third, turning angles in human movement are often sharp due to regular street layout, which can violate the assumptions of SSFs, which usually assume smooth, correlated movement.</p><p>As this paper proposes SSFs as a novel method to measure exposure to environmentally transmitted pathogens, a discussion on the extent to which assumptions of SSFs are valid for this purpose should be included in the paper.</p></disp-quote><p>We thank Reviewer #2 for highlighting these points. We have included a section discussing these assumptions in detail:</p><p>“Additionally, these models have some underlying assumptions that may be violated in this study. Step-selection functions assume each step is independent, conditioned on the previous step. This can be violated by circular journeys. Although we attempted to account for these by analysing specific periods of the day, a higher temporal resolution of analysis may be needed if circular journeys are still present within each period. Another assumption is that movement is smooth through the environment. In urban environments this may not hold true, as street layouts may force sharp corners in movements. The effect of violating this assumption is not immediately clear and requires further methodological research to understand its significance. Finally, we assumed that by including movement characteristics (step lengths and turning angles) into our models, we were accounting for goal-oriented behaviour. These assumptions need to be considered in future studies that attempt to use step-selection functions to analyse human mobility.” [Lines 593 - 607]</p><disp-quote content-type="editor-comment"><p>(4) Abstract</p><p>While it is highlighted in the abstract that this &quot;study introduces a novel method for analysing human telemetry data in infectious disease research, providing critical insights for targeted interventions&quot;, I did not see any discussion about how the findings can inform interventions.</p></disp-quote><p>We thank Reviewer #2 for highlighting this. We have now removed this wording from the abstract to avoid misunderstanding.</p><disp-quote content-type="editor-comment"><p>(5) Effect sizes</p><p>It would have helped me if there had been some discussion around the size of these effects. Especially for the distance-based models, the effects seem very small. Maybe this is a misinterpretation on my part, but it would help to contextualise if the observed effect were small or large.</p></disp-quote><p>We agree with Reviewer #2 on this point and have now included a paragraph explaining that these effect sizes are indeed very small. We believe that this may be linked to the spatial scale of the rasters used (1 meter), as the selection coefficients represent changes with regards to increasing distances of 1 meter. This may not be that significant for human mobility. However, given the focus on analysing fine scale movement, we decided to keep the spatial scale of the rasters as small as possible.</p><p>“It is important to highlight that the effect sizes of the selection coefficients for the distance based rasters are very small and could be considered negligible. This may be linked to the spatial scale used, as these values represent increases of 1 meter. A coarser scale may have produced larger effect sizes that may have been easier to conceptualise. However, given the focus on fine-scale movement, we decided to keep this spatial scale for the analysis.” [Lines 421 - 427]</p></body></sub-article></article>