%0 Generic %A Morozova, Olga %A Cohen, Ted %A Crawford, Forrest W. %D 2017 %T simulation_functions.R from Risk ratios for contagious outcomes %U https://rs.figshare.com/articles/dataset/simulation_functions_R_from_Risk_ratios_for_contagious_outcomes/5745555 %R 10.6084/m9.figshare.5745555.v1 %2 https://rs.figshare.com/ndownloader/files/10117530 %K risk ratio %K confounding %K infectious disease %K Simpson's paradox %K transmission %X Epidemiologists commonly use the risk ratio to summarize the relationship between a binary covariate and outcome, even when outcomes may be dependent. Investigations of transmissible diseases in clusters—households, villages or small groups—often report risk ratios. Epidemiologists have warned that risk ratios may be misleading when outcomes are contagious, but the nature of this error is poorly understood. In this study, we assess the meaning of the risk ratio when outcomes are contagious. We provide a mathematical definition of infectious disease transmission within clusters, based on the canonical stochastic susceptible-infective model. From this characterization, we define the individual-level ratio of instantaneous infection risks as the inferential target, and evaluate the properties of the risk ratio as an approximation of this quantity. We exhibit analytically and by simulation the circumstances under which the risk ratio implies an effect whose direction is opposite that of the true effect of the covariate. In particular, the risk ratio can be greater than one even when the covariate reduces both individual-level susceptibility to infection, and transmissibility once infected. We explain these findings in the epidemiologic language of confounding and Simpson's paradox, underscoring the pitfalls of failing to account for transmission when outcomes are contagious. %I The Royal Society