The document proposes a new statistical framework for modeling, analyzing, and evaluating anonymity in sensor networks. The framework introduces the notion of "interval indistinguishability" to quantitatively measure anonymity. It maps the source anonymity problem to the statistical problem of binary hypothesis testing with nuisance parameters. This transforms the problem from analyzing real-valued samples to binary codes, allowing coding theory techniques to be applied for improving anonymity in sensor networks.