## Sunday, December 4, 2016

### Stock-flow consistency is tangential to stock-flow consistent model claims

Update 3 February 2017: Welcome visitors from some unknown link. (If someone could leave a comment saying where you stumbled upon this post, I'd be interested. It's rapidly becoming my most popular post of all time, but I have no idea why.) Also, you might find this of interest: desired wealth to income ratio (mentioned below) as an information equilibrium model.
Update 25 August 2017: Welcome visitors from some unknown link. Maybe you might be interested in my book A random physicist takes on economics: out now on Amazon.com!
Steve Roth has a nice article up at Evonomics about the only recently available data from the Fed's quarterly Z.1 report. And as a description of the data available, it's great. And more data is always great.

However, the article is unfortunately framed in terms of "Stock Flow Consistent" (SFC) analysis and "Modern Monetary Theory" (MMT). Here's a good discussion of SFC (actually a response to response to a previous post about SFC) from Simon Wren-Lewis. I've talked about SFC before, but I thought I'd do a thorough job here using an analogy from engineering.

Let me say this clearly: SFC analysis is tangential to the results claimed by SFC models.

That's the charitable way of putting it. The uncharitable way of putting it is that SFC is obfuscation designed to cover up the fact that the underlying model is entirely ad hoc. Wren-Lewis gives the example of a desired wealth to income ratio. Sure, it's a ratio of a stock and a flow, so it's best to be consistent with them. But the assertion that the ratio is relevant to macroeconomics is of questionable empirical validity.

I like Wren-Lewis's description:
It is true that stock-flow accounting is important in modelling, in the sense that doing it stops you making silly errors.
SFC is like the "natural" label on food in the US. More literally, saying something is SFC is little more than asserting that you got the math right. "An SFC model" is basically just "a model".

That's the TL;DR. Here's the full account ...

*  *  *

Ok, let's begin. Stock-flow consistency basically uses a matrix to make sure that all the "money" is accounted for, whether it is a lump of money ("a stock") or money moving from one element (node) in the model to another ("a flow"). It's essentially a kind of conservation law (there's non conservation via e.g. revaluation that I'll mention later). In fact, SFC is practically isomorphic to another set of rules that follow from conservation laws: Kirchhoff's circuit laws.

The currents through a node must sum to zero and the sum of voltage drops around a loop must equal zero. You can think of the currents as flows of electrons and the voltages as stocks of electrons [1]. You are now armed with the equivalent of SFC for electric circuits. So, what does this circuit do?

No idea, right? Kirchhoff's laws tell us that

$$V_{0} + V_{1} + V_{2} + V_{3} = 0$$

The current law only tells us there's a single current. If the block on the left was a battery (voltage $V_{0}$) and the three blocks on the right were resistors ($R_{i}$, $V_{i \neq 0} = 0$), then you'd say that there's a steady state current that sets up such that

$$V = i (R_{1} + R_{2} + R_{3})$$

But that required us to add in Ohm's law ($V = i R$). Kirchhoff's laws only told us that

$$V_{0} + V_{1} + V_{2} + V_{3} = 0$$

we used Ohm's law to say

$$V_{0} - i R_{1} - i R_{2} - i R_{3} = 0$$

Ok, so SFC, I mean, Kirchhoff plus Ohm's "behavior" law let's us understand how this circuit works. You may have noticed that I just blocked out the elements in that diagram; let's analyze the original circuit:

Ah, an RLC circuit. We can used Kirchhoff's voltage law to give us

$$V_{R}(t) + V_{L}(t) + V_{C}(t) = V(t)$$

Now what? Well, we need to know how the various components work. This doesn't come from Kirchhoff's laws, but rather the behavior of the components (e.g. Ohm's law). We find that (after differentiating)

$$\frac{d^{2}i}{dt^{2}} + \frac{R}{L} \; \frac{di}{dt} + \frac{1}{LC} i = 0$$

Cool. Now we've narrowed down the behavior of the economy, I mean, circuit right? Not really. All of these functions are solutions to that differential equation:

So we could have an oscillating circuit ($R = 0$), a damped oscillator, or simply decay ($L = 0$). The behavior is characterized by the parameters $R/L$ (decay time) and $1/LC$ (oscillation frequency (squared)). The simple monetary model SIM in Godley and Lavoie's SFC/MMT tome can be thought of as the saturating voltage of an RC circuit (where they tell us what the voltage $V$ is, but "hide" $RC$ by defining it to be 1).

This has almost nothing to do with Kirchhoff's laws. Actually, it has nothing to do with Kirchhoff's laws. Why? Because you can get this exact same behavior from a pendulum where the equations are built using balancing forces [2].

Note that as it appears, energy is not conserved when $R > 0$; that's because we lose energy to heat in the resistor ($P = i^{2} R$). We could think of the "revaluation" that happens in an SFC model as a time-reverse of this power loss. In any case, that depends on thermodynamics (blackbody radiation) and diffusion, not Kirchhoff. The chemical reactions in a battery produce its voltage drop that is the source of the current. Again, not Kirchhoff.

The takeaway is that Kirchhoff's laws are simply one way to put a bunch of things that are models unto themselves together. You could put those elements together in other ways. And the behavior of the assembled circuit depends on the models of the elements. Kirchhoff's laws (and likewise, SFC) is just one step. And it's just one step in getting to the result assuming you are starting with that step. We can get to a damped oscillator is at least two ways:

1. Kirchhoff's laws
2. models of components
3. damped oscillator

Or:

1. free body diagram
2. (isomorphic) damped oscillator

There's also [2].

Similarly, an SFC model depends on the assumed behavior of the households, governments, firms, banks, whatever. In fact, Jo Michell pointed out something that Simon Wren Lewis noted in that link at the top of the page:
Any behavioural model contains some kind of theory. What I think I said was that [SFC] models often seemed ‘light on theory’, which means that they talk a great deal about the accounting and rather little about theory. ... For example, to say that consumers have a desired wealth to income ratio is light on theory. Why do they have such a ratio? Is it because of a precautionary motive? If it is, that will mean that this desired ratio will be influenced by the behaviour of banks. The liquidity structure of wealth will be important, so they may react differently to housing wealth and financial assets. Now the theory behind the equations in the Bank’s paper may be informed by a rich theoretical tradition, but it is normal to at least reference that tradition when outlining the equations of the model. ... If the point is to emphasise that stocks matter to behavioural decisions about flows, then that is making a theoretical point. As Jo says, DSGE models are stock-flow consistent, but in the basic model consumers have no desired wealth ratio: it is the latter that matters. So when Jo says this absence should ring alarm bells, he is making a theoretical statement.
When Wren Lewis says "light on theory", think ad hoc or assumed behavior of the components. Instead of Ohm's law coming from experiments with materials, the SFC models just assert some sort behavior for households. The example in the quote is a desired wealth to income ratio. This is like asserting that a component in a circuit tend to act such that

$$\frac{V}{I} \rightarrow \; \text{constant}$$

that is to say a component that attempts to achieve a specific impedance. I don't know if such a component is commonly available (it would have to adjust its inductance and/or capacitance depending on the input frequency, but my circuit theory is rusty), but if you wanted to assert it in a circuit, you'd have to design and test it first.

Stock-flow consistency is taken to absolve SFC models of these unfounded assertions [3] about the behavior of components. But those assertions are doing most of the work.

The information equilibrium model is completely compatible with stock-flow consistency (you can rewrite SFC models as information equilibrium models). How would the SFC advocates feel if I started calling my models SFC models? Sure, this model is completely stock-flow consistent, but it has all kinds of behaviors that depend on the entropy of the various "accounts" (see also here) [4].

And that's one of the issues with MMT and post-Keynesian economics. I think the unifying element is SFC. However, since SFC doesn't narrow things down all that much, and since the real behavior of models depends on the the pieces that are beyond SFC (i.e. models depend on the component behavior, not Kirchhoff's laws) what you have is just a bunch of different ideas that should really be tested separately.

*  *  *

Speaking of emergent concepts like entropy, what if we build a more complex nonlinear circuit? Like this:

And put several of them together in a network like this:

While Kirchhoff's laws are still in effect, once we reach this level of system complexity the stocks and flows of electrons stop being a useful way to understand the circuit. It's far better to look at the circuit as a "learning machine" -- in fact, the details of the underlying circuit stop mattering. Much like our behavior is "emergent" from the simpler behaviors of neurons, macroeconomics is (probably) "emergent" from the behaviors of households and firms. You could potentially use the SFC framework to set up a model of an economy (maybe even an accurate one!). However, much like the oscillating circuits above (or oscillating chemical reactions here [4]), the SFC is tangential [5] to the final result. I imagine you could build an SFC model that reproduces the IS-LM model. But you can end up with the IS-LM model lots of different ways (say, like this).

If you don't like the reservoir computing analogy, just think of the collection of capacitors, transistors, and other elements making up the computer's processor you're using now to read this. Is it an ARM? An i7? Running iOS running Chrome? Running Windows 10 running Firefox? At that level, understanding how those circuits work has little to do with Kirchhoff's laws, barely anything to do with registers and assembly language, and only tangentially related to the network protocols connecting computers on the Internet. In fact, the software was likely programmed using C++ or Java and compiled to work for your OS (which works for your processor). I didn't even have to write up most of the html used to encode this document and serve it to your browser.

Now there is nothing wrong with trying to understand Twitter using Kirchhoff's laws (theoretically you should be able to), it's just that several layers of abstraction exist between you and the electrons.

And that's the issue. As I mentioned above, the results of SFC analysis have little to do with the SFC itself, but instead depend on the assumptions about the behavior of the "circuit elements" (firms, households, government) about which SFC analysis tells us almost nothing.

*  *  *

Footnotes

[1] This is not exactly the best analogy (I'll leave that as an exercise for the reader; hint: what is the voltage law conservation of?). The "perfect" analogy is a bit more abstract, but not more illuminating.

[2] Another way to look at this is "effective field theory" where you have a field $x(t)$ and you simply say that

$$0 = c_{0} + c_{1} x(t) + c_{2} \frac{dx}{dt} +c_{3} \frac{d^{2}x}{dt^{2}} + c_{4} \frac{d^{3}x}{dt^{3}} + \cdots$$

and fit the coefficients $c_{i}$. This is closer to the modern way physicists would look at the harmonic oscillator if starting from scratch.

[3] Speaking of unfounded, does anyone know exactly how SFC was involved in Steve's claims about predicting the global financial crisis?
These accounting-based economists more than any others managed to accurately predict our recent Global Great Whatever. And Wynne Godley, rather the pater familias of MMT, predicted the current Euro crisis in amazingly precise and accurate detail — in 1992, before the project was even launched.
All of those predictions (at the links in the original quote) were basically that the housing crisis (which starts in 2005 or 2006) would likely lead to a recession (none say a financial crisis, just growth stagnation, unemployment -- the closest is a "bear market"). This has nothing to do with SFC -- a shock to consumption because people discovered they are poorer than they were does not require detailed analysis of flows. For example, Krugman.

Many people saw that the Euro monetary union without fiscal union would lead to economic crisis based on mainstream theory (e.g. optimum currency area, again Krugman).

[4] This points to another way to obtain oscillation without "Kirchhoff's laws": chemical oscillation.

[5] Sure, I have no problem starting with an SFC matrix as a way to begin the modeling process. However, there are other issues because SFC models tend to have lots of (sometimes hidden) parameters (such as the identification problem).

1. This is one of your best ever posts IMHO. I agree with almost everything but it also sets up a challenge. I will write a (long) reply, publish it as a Google document and post a link here later in the week.

SFC just means "follows conservation rules" which is good but just a starting point. Accounting's starting point with conservation rules was around 1500 years ago. Physics and chemistry's starting point was several hundred years ago. It is the insight that comes from the discipline of conservation rules which is important. The SFC modellers have confused a basic analysis technique with real insight.

Note that Steve Roth wants to praise SFC but criticise people who talk about specific conservation rules. That seem nuts to me (maybe I have misunderstood him).

1. Thanks, Jamie. Looking forward to it.

2. "Another way to look at this is "effective field theory" where you have a field x(t) and you simply say that..........and fit the coefficients ci."

That's right. Why bother with real behavioural theory? No need to worry about starting assumptions and axioms. We could dispense with all natural and social theory - as long as we have Mr. Taylor's expansion formula to play with and some data. All science could be prosecuted by statisticians and statisticians only. Although, we might still need scientists to collect data, so no need to give up the day job yet.

(And of course we know of the IE model's enduring love afair with Mr. Taylor.)

1. That is not a Taylor expansion. It is an expansion in derivatives of the field $x(t)$ with time scales $c_{i}$.

Since there isn't a mathematical theory of human behavior, maybe a little humility is called for? We don't know how humans work, so we don't know how to derive the analogs of the $c_{i}$.

Or maybe you have that theory and you're keeping it secret from us?

2. "Since there isn't a mathematical theory of human behavior"

There's nothing that defines human behaviour as does the RLC circuit equations above that define network behaviour.

So economics reduces to operational statistics.

May as well shut down every economics faculty on the planet and have economists retrain as electrical engineers. May as well. The economics profession is infiltrated with bored mathematicians, physicists and engineers already. The switch over should be not be too problematic.

3. "There's nothing that defines human behaviour as does the RLC circuit equations above that define network behaviour."

Exactly, I agree. That was my point. Therefore we should adopt a little humility and use effective theory and something like the derivative expansion in the footnote. We shouldn't be defining models in terms of "human behavior" terms that we made up in our hubris because we don't know how human behavior works.

4. " That was my point. "

I know.

"Therefore we should adopt a little humility.."

Sure. Just sack all economists and have them retrained as statisticians.

"..we made up in our hubris.."

There's plenty of that around here already.

5. I'm pretty sure making arrogant comments about e.g. what Taylor expansions are and being wrong accounts for nearly all of that hubris.

6. Only pretty sure?

3. "An SFC model" is basically just "a model".

Exactly. SFC is just a format for setting out models. Any model with consistent accounting, i.e. any valid model, can be set out in SFC format. You can set out a DSGE model in SFC format. It's easy.

The point about SFC is that the format lends itself to examining certain classes of model where assumed behaviour means that stock-flow ratios play an important role. This is often the case with models that consider the operation of the financial sector. These models may or may have explicit micro-foundations - it makes no difference to the SFC element - but often they are not.

Don't be misled by the label. I think most practitioners find it unfortunate, as they do not claim that SFC has a monopoly on consistency between stocks and flows.

1. Nick,

Here is an extract from a comment I made on another blog recently. The context was mainstream models but the comment is also relevant here.

"One of the things that my old (consulting) firm used to sell was mathematical models to solve problems at a micro level. It wasn’t my area at all but we were always encouraged to find out about other services the firm provided so that we could spot opportunities.

When our modellers talked about their work, they talked like anyone else in the private sector. They talked about their clients, the problems faced by their clients, and how they had helped their clients by building models. They would point out that the CEO of firm X had given them a publicity quote to the effect that he could not have solved his problem without our modellers’ help. They didn’t talk about their models.

The focus here is that client value from solving problems >>>>> modelling techniques.

or

WHY >>>>> WHAT >>>>> HOW.

I am always struck by the fact that economists talk about their modelling techniques a lot but rarely about what value their models create for others, or indeed whether they create any value at all. This is not just the New Keynesians. It is the Post-Keynesian / SFC people too.

Is it the case that these models do useful things (where useful is defined by a policy maker – not by the modeller) but economists don’t talk about it, or that the models just don’t work very well?

Non-economists assume it is the latter unless told otherwise, so if it is the former then economists should learn to talk more like my firm’s modellers"

2. Hi Nick, Thanks for stopping by.

I don't think I'm being misled by the label (I think I'm precisely pointing out that the label is misleading in that other elements, such as desired stock-flow ratios, are the real meat of the modeling effort).

However there is another element to my post that I think might not be as clear. Let me put it this way ...

Do we know that true models of macro that are empirically accurate are stock-flow consistent?

In physics, we know that we have conservative forces (so that the potential V is well-behaved) and charge conservation as general principles before building circuits. That is to say the equivalent of SFC comes from more fundamental physics that we know to be true for other reasons. Therefore all behavior of systems, not just interesting ones, must obey them.

Are SFC conditions known to be fundamental laws of macroeconomics such that all interesting behaviors must result from them?

Another way, why should we assume SFC? Are we adopting an ad hoc restriction on the possible economic models? Why are we adopting it? Do we know that the set of economic models (E) and the set restricted to SFC models (E|SFC) both contain the "true macro model" M?

Do we know M in E and M in E|SFC?

For example, I could define the accounting identity X = A + B + C along with another "aggregate" L. What if f(A, L) accounts for all of the interesting behavior of X?

I actually put together a model kind of like this where A is the nominal value of capital, and L is labor in terms of people (and X is nominal output).

It's not stock-flow consistent in terms of people or money (it is in terms of information, but SFC models are usually accounting in terms of money-value). In a sense, it is entirely an SFC revaluation term. You have one term in your SFC matrix (Y) and it is simply revalued depending on population and the value of capital.

3. Jamie,

If I've understood your question correctly, it's a good one.

In my opinion most macro models, are of limited use to anyone who isn't prepared to work through what they are doing. They are simply tools which help our understanding, but to benefit from that you have to actually understand what they are doing. The fact that a model shows X means nothing in itself, and I wouldn't recommend any policy-maker acted on X simply because some model shows it.

I find models very useful (particularly SFC, but not exclusively), because there are so many feedback effects in macro, that it can be really hard to get your head round things without setting it out in some kind of model. For example, say we think that the household debt to income ratio matters, then it can be useful to see in a model how things change when that ratio is growing. This may not be empirically very accurate, but seeing it happening in a model being able to trace why it does what it does is very helpful in identifying and understanding trends that may be happening in the real world.

Jason,

Most SFC practitioners would agree that the label is misleading.

I don't think I've ever considered the idea of a true model of macro before.

Stock-flow consistency is really a very weak condition; little more than maths. Any model that is not stock-flow consistent is wrong, but all models are wrong in some respects and it is possible that being wrong by being stock-flow inconsistent may not matter.

4. "it is possible that being wrong by being stock-flow inconsistent may not matter."

Well put.

5. Nick,

I am not sure that SFC is a weak condition (many SFC models seem to make assumptions not just about accounting, but that the time scales involved to be essentially equal to the time steps).

I am not entirely sure what this sentence means:

"Any model that is not stock-flow consistent is wrong ... and it is possible that being wrong by being stock-flow inconsistent may not matter."

I think you mean that any model is wrong, so not-SFC models are wrong along with SFC models -- and assuming SFC does not necessarily make a theory more incorrect.

However, that is simply not known. I think it is fine to use SFC models if you want (as long as there aren't hidden parameters). The bigger issues are how many parameters you introduce (identification problem -- in fact, that's what George Box meant when he said "all models are wrong").

However SFC models (incorporating stock/flow ratios in behavioral relationships) are advocated without dealing with the identification problem or showing empirical success. So it is their theoretical underpinnings (like the "microfoundations" push in macro) that motivate their use.

My post above is about how little consequence SFC has as a theoretical underpinning in terms of understanding economics. The primary consequence is to severely restrict the form of models. If that cost comes without apparent benefits, then it doesn't make any sense to adopt it.

4. Jason, A reply from me to Nick has been eaten by blogspot.

1. Sorry about that! Got it out.