# Is gold highly correlated with money supply?

Now presumably, this tweet was aimed at countering the inconvenient fact that the correlation between price inflation (i.e. CPI) and gold is virtually zero. And, if predictions of imminent hyperinflation have yet to materialise, well then at least "hard money" types can point to way in which

*monetary*inflation has manifesting itself in the surging gold price of the last decade. (There's a lesson to be learned here about the velocity of money, kids, but that will have to wait until another time...)

Anyway here's a graph of the gold price and U.S. M2 since 2004, taken from the FRED website. Both are shown in terms of moving monthly averages and, sure enough, the correlation looks very high indeed.

Unfortunately, there are two things wrong with this picture. The first is that the time-frame really

*does*matter. The second has to do with the statistical properties of these series. Let's take these two issues in turn.

Consider what happens when we look at the period from 1981 (which is first date for which FRED has data on both series) until 2004.

Woah! That positive relationship isn't looking too good all of a sudden. Now, of course, I can already hear angry golden-tinged voices accusing me of dueling a strawman. The correlation coefficient was specifically cited for the 2004-post period, so who really cares about what happened 20 or 30 years ago? Okay, perhaps something special happened around the mid-2000s that explains why the two variables have since become so intertwined. Fine, but then don't try to tell me that it's anything specifically to do with money supply. The noticeable kink in the M2 series leading up to that moment occurs around 1995 (after a period of mild tapering), which is close on a

*decade*before the supposed special relationship with gold prices begins.

The broader point here is that if you are going posit a structural theory for why two variables are related, then that relationship needs to have enduring qualities. If not, how can you be sure that gold and M2, rather than one causing the other, aren't both being driven by some other factor? (For one thing, the money supply is

*supposed*to be endogenous to what is happening in the broader economy...) I'm inclined to argue that focusing on the period since 2004 is just a form of data-mining and, as we'll see next, not a particularly good example of that anyway.

Okay. So, ignore the fact that the (weak) longer-term correlation between M2 and gold prices matters. Surely, eight years of data showing a 90%+ correlation can't be denied? Surely, we can say with extreme confidence that recent gold prices have been greatly influenced by money supply? Right?

RIGHT??

Sadly, no. Whenever someone points excitedly to very high correlations between trending time-series, your spidey-sense should be going off like Peter Parker on methylamphetamine. The reason lies with one of the fundamental concepts in time-series econometrics:

*Nonstationarity*.

Wait a minute. Are those series... nonstationary? |

Without getting too bogged down by statistical concepts, nonstationary series are characterized by a mean and variance that are changing over time. It's not that they can't be growing or declining over time, but rather that they should consistently return to some kind of mean trend. The most important thing from our perspective is failing to account for this issue will generally lead to spurious (i.e. "nonsense") regression results; an idea that goes all the way back to a classic paper by Yule in 1926.

Aaaaaaaand.... as you might have guessed by now, the above series

*are*nonstationary. In technical parlance, they are referred to as random walks with drift. Now, there is a famous exception to this rule that occurs when two series are said to be "cointegrated". Again, I'd rather avoid delving too deeply into the murky waters of statistics in a blog post, but suffice to say that that cointegration does not hold here.

To avoid the problems of

*[*

**UPDATE**: Based on the comments, let me again emphasise that these numbers are specifically for the "highly" correlated post-2004 period.]**THOUGHT FOR THE DAY:**Simply regressing gold prices on any nonstationary series — whether that be iPhone sales or the number of Crocs™ wearers in Bangladesh — would likely produce equally impressive, but obviously bogus, results. Now gold fans might be inclined to protest loudly at this point: "

*Duh*",

*but there's no theoretical basis for linking those goods to gold. We have a theory that predicts the price of gold will rise with (monetary) inflation!*" Except that we've just tested that theory and found it, if not entirely wanting, then at least highly oversold.

PS - For anyone interested in checking all of this for themselves, here is some Stata code that I used to test the series. The code will always call the most recently available FRED data, so the exact figures you get may differ from those presented here depending on when you run it.

## Comments