COMPUTER CODES RELATED TO Lopez-Garcia M, King M-F, Noakes CJ (2019) A multicompartment SIS stochastic model with zonal ventilation for the spread of nosocomial infections: detection, outbreak management and infection control. Risk Analysis, DOI: 10.1111/risa.13300 Author: Martin Lopez-Garcia (Department of Applied Mathematics, School of Mathematics, University of Leeds, Leeds LS2 9JT, UK) Date: 13 March 2019 Correspondence for questions: m.lopezgarcia@leeds.ac.uk These computer codes allow one to reproduce Figures 3-6 and Table X. Results in Tables III, IV, VIII and IX are directly obtained when running codes Figure3.py, Figure4.py, Figure5.py and Figure6.py, respectively. Programming Language: Python Python version used: Python 2.6.6 Operative system: Linux, CentOS 6.9