AbstractScientists working with uncertain data, such as climate simulations, medical images, or ensembles of physical simulations, regularly confront the problem of comparing observations, e.g., to identify similarities, differences, or patterns. Current approaches in comparative visualization of uncertain scalar fields mainly rely on juxtaposition of both data and uncertainties, where each is represented using, e.g., color mapping or volume rendering. While interpretation of uncertain scalar data from visual encodings is already cognitively challenging, comparison of uncertain fields without explicit visualization support adds a further layer of complexity. In this paper, we present a theoretical framework to devise and describe a class of techniques that directly visualize differences between two or more uncertain scalar fields in a single image. We model each such technique as a combination of one or more interpolation stages, with the application of distance measures on random variables to the resulting distributions, and an appropriate visual encoding. Our framework captures existing methods and lends itself well to formulating new comparative visualization techniques for uncertain data for different visualization scenarios. Furthermore, by modeling uncertain scalar field differences as random variables themselves, we enable additional opportunities for comparison. We demonstrate the usefulness of our framework and its properties by applying it to effective comparative visualization techniques for several synthetic and real-world data sets.