You can compare the percentage of GDP figure to this one showing military spending as percentage of all government spending, where it looks like we're spending less and less on weapons: https://data.worldbank.org/indicator/MS.MIL.XPND.ZS
So while total dollar amount is maybe a coarse measure, the GDP or the fraction worldwide government spending are so contingent on the details of literally every other human activity as to unusable for quick observations.
Assuming military budget planning has a window of a few years, would a moving average of GDP be an appropriate solution? Or am I thinking too simplistic?
I mean something X being highest right now is a pretty clear statement, it is either true or false, if X is well defined. But then your problem is you want to have Z instead, which hopefully is accounted for every other effect except for the factor you want to measure, such as inflation, GDP, etc. But the more you add, you either makes your Z definition sensitive to these other factors you’re not interested in (such as a peak comes from the denominator, not the numerator), or we really admit we can’t calculate Z for sure, and is now a statistical model (any kind of smoothing including the MA you mentioned is to admit we don’t know the true state but can only observe it with noise.) Now the statement of “Z is highest now” is no longer a true or false statement, but a probabilistic one.
Certainly then P(Z is highest) = 60% or so wouldn’t make much of a headline and can be confusing.
So my point was rather than trying to create a perfect model (which you can’t, and what you learn from it won’t be clear as well), sometimes just deal with the statement and methodology and judge if it is a clickbait or has some merit of truth there.