Optimal military spending in the US: A time series analysis