Towards Causal Analysis of Empirical Software Engineering Data: The Impact of Programming Languages on Coding Competitions
Journal article, 2023

There is abundant observational data in the software engineering domain, whereas running large-scale controlled experiments is often practically impossible. Thus, most empirical studies can only report statistical correlations-instead of potentially more insightful and robust causal relations. To support analyzing purely observational data for causal relations and to assess any differences between purely predictive and causal models of the same data, this article discusses some novel techniques based on structural causal models (such as directed acyclic graphs of causal Bayesian networks). Using these techniques, one can rigorously express, and partially validate, causal hypotheses and then use the causal information to guide the construction of a statistical model that captures genuine causal relations-such that correlation does imply causation. We apply these ideas to analyzing public data about programmer performance in Code Jam, a large worldwide coding contest organized by Google every year. Specifically, we look at the impact of different programming languages on a participant's performance in the contest. While the overall effect associated with programming languages is weak compared to other variables-regardless of whether we consider correlational or causal links-we found considerable differences between a purely associational and a causal analysis of the very same data. The takeaway message is that even an imperfect causal analysis of observational data can help answer the salient research questions more precisely and more robustly than with just purely predictive techniques- where genuine causal effects may be confounded.

Causality analysis

statistical analysis

programming contests

empirical software engineering

Author

Carlo A Furia

Universita della Svizzera italiana

Richard Torkar

University of Gothenburg

Stellenbosch Institute for Advanced Study (STIAS)

Robert Feldt

University of Gothenburg

Chalmers, Computer Science and Engineering (Chalmers), Software Engineering (Chalmers)

ACM Transactions on Software Engineering and Methodology

1049-331X (ISSN) 15577392 (eISSN)

Vol. 33 1 13

Subject Categories

Computer Science

DOI

10.1145/3611667

More information

Latest update

2/19/2024