Is It Possible to Visualise Any Stock Flow Consistent Model as a Directed Acyclic Graph?
Yes it is. We rigorously demonstrate the equivalence of any stock flow consistent (SFC) model to a directed acyclic graph (DAG) using condensation graphs. The equivalence between stock flow models and DAGs is useful both for visualising large-scale macroeconomic models of this type and for inferring causality within these models. We developed a new package to build and simulate any SFC model and generate the corresponding DAGs, and we provide an example of this package using a well known model from the literature.
KeywordsStock flow consistent models Directed graphs Macroeconomic modeling
JEL ClassificationE01 E12 E17
- Godley, W., & Lavoie, M. (2007). Monetary economics an integrated approach to credit, money, income, production and wealth. Basingstoke: Palgrave-Macmillan.Google Scholar
- Hopcroft, J. E. (1983). Data structures and algorithms. Boston: Pearson Education.Google Scholar
- Lauritzen, S. L. (2001). Causal inference from graphical models. In Complex stochastic systems (pp. 63–107).Google Scholar
- Pearl, J. (2000). Causality: Models, reasoning and inference (Vol. 29). Cambridge: Cambridge University Press.Google Scholar