To explain why major evolutionary transitions are so common in the history of life we need to find the causes that systematically generate the irreversible emergence of cooperation and specialization. For this purpose it is necessary to consider selection at both the individual and group level. The co-author of the concept of major evolutionary transitions (Szathmáry) recently proposed to analyze the evolution of populations subject to multilevel selection by means of Bayesian hierarchical models, making use of the isomorphism between evolutionary theory and Bayesian inference. However, the proposal remains open. In this paper we specify a probabilistic causal model, in which individuals are affected by the environment and by the social be...