Many investigations in empirical software engineering look at sequences of data resulting from development or management processes. In this paper, we propose an analytical approach called the Gandhi-Washington Method (GWM) to investigate the impact of recurring events in software projects. GWM takes an encoding of events and activities provided by a software analyst as input. It uses regular expressions to automatically condense and summarize information and infer treatments. Relating the treatments to the outcome through statistical tests, treatment-outcome constructs are automatically mined from the data. The output of GWM is a set of treatment-outcome constructs. Each treatment in the set of mined constructs is significantly different from the other treatments considering the impact on the outcome and/or is structurally different from other treatments considering the sequence of events. We describe GWM and classes of problems to which GWM can be applied. We demonstrate the applicability of this method for empirical studies on sequences of file editing, code ownership, and release cycle time.Scenario #1: Project manager Alice is looking into ways to enhance the healthiness of the code developed by her team. The team doesn't have a unified way of committing, testing and reviewing the code. Some of the sub-project teams follow a commit-test-review process, while others apply review-test-commit. The rest does not follow either of these strategies to review their code. Alice wonders if the selection of one of these strategies affects the number of code bugs. To answer this question, she selects GWM and encodes each method for testing and reviewing a file by the sequence of testing (T), committing (C), and reviewing Experiment design