If the net of inflows and outflows encode the complexity of the economy, in essence, we are talking about an information theoretical problem. We could, for instance, use a Hidden Markov model to infer an unobserved sequence of events from the observed outputs (outflows). Although the Markov method is formally considered memory-less (i.e. only the present state matters), in practice, it can be implemented with the memory of a number of previous events.