This report will try to find an association between gross domestic product(GDP) and interest rate and explain how they are related to each other using time series analysis.
Intuitively, the GDP represents the economic growth in the country and the Federal Reserve System usually raises interest rate when economic booms.
Albu and Ghizdeanu(2008) pointed out that there is a positive relationship between interest rate, investment and gross domestic product(GDP) [1]. It suggests that GDP and interest rate usually rise together, as demands for runds increase.
I am going to use the Interest Rate data set from the United States Federal Reserve System [2].
It is a collection of daily interest rate for United States from 1954-07-01 to 2016-03-03.
## date inte
## 6 1954-07-01 1.13
## 7 1954-07-02 1.25
## 8 1954-07-03 1.25
## 9 1954-07-04 1.25
## 10 1954-07-05 0.88
## 11 1954-07-06 0.25
inte
is the interest rates that we are interested in. The unit is percent per year.## date ex
## 11 1947-01-01 243.1
## 12 1947-04-01 246.3
## 13 1947-07-01 250.1
## 14 1947-10-01 260.3
## 15 1948-01-01 266.2
## 16 1948-04-01 272.9
The above time series data set is a collection of quarterly GDP data for the United States.
The ex
column records quarterly GDP in US. GDP is the market value of the goods and services produced by labor and property [3].
Write \({i_n^*}\) for interest rate in the \(t_n=n\) th quarter.
Write \({g_n^*}\) for GDP in quarter \(t_n\).
I use R to get the mean quarterly data for interst rate and combine these two data sets.
In the combined data set, we have time series data from Year 1954 3rd quarter to Year 2015 4th Quarter.
From the time series plot, we can see that GDP (top plot) is overrall growing for the past 50 years.
However, before the year 2010, the GDP decelerated. It reminds us of the 2008 Financial Crisis that stroke the financial market and stopped the economic growth.
The interest rate (bottom plot) seems to fluctuate for past years. It was first raised for the first few years and peaked around year 1982. Then it was lowered rapidly around 1993, 2002 and 2008. Now it is approimately on the same level as 1950s.
To see if GDP and interest rate cycle together, we first remove trends from these two time series. We use the Hodrick-Prescott method for filtering.
As suggested by Hodrick and Prescott, I use 1600 as a smoothing parameter for \(\lambda\) for the quarterly data [4].
Define the HP-detrended GDP to be \(g^{HP*}_{1:N}\), and detrended interest rate to be \(i^{HP*}_{1:N}\).
From this detrended plot, we can see that the detrended GDP and detrended interest rate cycle together, especially after the 100th quarter. It is around the year 1980.
Before the year 1980, we can see that they also cycle mostly together with ups and downs, but it is not strong enough to see that from the plot. The black lines (GDP) is more stable compared with the red lines (interest rates).
Due to extreme situations such as American Civil War and War in Vietnam, the data before 1980s are acting abnormal, especially for the detrended interest rate. It fluctuates heavily with rapid rise and decline. Since we are interested in association betweeen GDP and interest under stable economy market, we only use the data after the vertical line (quarters from 1980 to 2015, which is under economy market) for further exploratory data analysis and regression modeling.
The spectrum of a time series is the distribution of variance of the series as a function of frequency.
The unit of the x axis is cycles per quarter. The dominant frequencies for both detrended data are around 0.04 cycles per quarter. It is consistent with our time series plot, which shows a dominnant 25-quarter cycle after 1980.
The spectrum plot looks approximately alike when the frequency is low. It also supports our hypothesis that GDP and interest rate are associated with each other.
\[ g^{HP}_n = \alpha + \beta i^{HP}_n + \epsilon_n,\] where \(\{\epsilon_n\}\) is a Gaussian ARMA process.
MA0 | MA1 | MA2 | MA3 | MA4 | MA5 | |
---|---|---|---|---|---|---|
AR0 | 1800.12 | 1692.91 | 1635.69 | 1619.57 | 1596.00 | 1585.27 |
AR1 | 1598.40 | 1591.62 | 1590.40 | 1590.21 | 1580.33 | 1582.02 |
AR2 | 1587.80 | 1567.66 | 1592.98 | 1594.26 | 1581.94 | 1583.30 |
AR3 | 1585.38 | 1568.55 | 1570.53 | 1572.21 | 1583.91 | 1585.91 |
AR4 | 1584.24 | 1570.54 | 1585.64 | 1562.39 | 1564.38 | 1579.50 |
The AIC table suggests using the model with ARMA(2,1) errors.
There are models with smaller AIC values such as ARMA(4,4). However, we need to treat it with caution and pick the best small model.
##
## Call:
## arima(x = ex_hp, order = c(2, 0, 1), xreg = in_hp)
##
## Coefficients:
## ar1 ar2 ma1 intercept in_hp
## 1.8621 -0.9111 -1.0000 -0.0991 14.9162
## s.e. 0.0307 0.0306 0.0189 2.0991 5.6216
##
## sigma^2 estimated as 2772: log likelihood = -777.83, aic = 1567.66
I can also use the likelihood ratio test to check the p value for nested hypotheses
The model I have fitted is \[ (1-{\phi}_1 B)(1-{\phi}_2 B^2)(g^{HP}_n - \alpha - \beta i^{HP}_n) = \epsilon_n(1+{\psi}_1 B),\] where \({\epsilon_n}\) is Gaussian white noise with variance \(\sigma^2\).
The null hypothesis is \[\begin{eqnarray} H^{\langle 0\rangle} &:& \beta =0 \end{eqnarray}\] The alternative hypothesis is \[\begin{eqnarray} H^{\langle 1\rangle} &:& \beta\ne 0, \end{eqnarray}\]
The likelihood ratio test gives a p value of 0.0035. So we reject the null hypothesis, which indicates an association between detrended GDP and detrended interest rate.
There is an extremely low residual around 116. However, overall, the residuals are around 0 and do not increase or decrease over time. I would say it does not have heteroskedasticity. But I need to track the 116th residual in the dataset and investigate the reasons for this potential outlier.
The abnormal residual represents the 116th quarter starting from year 1980, which is the fourth quarter in year 2008. Again, it reminds us of the financial crisis in that year. It could probably be the reason that the GDP dropped so rapidly due to the sudden corruption. The Federal Reserve lowered the interest rate but could not do it that rapidly. Further economy reasons could be used to explain this phenomenon under extreme situation.
The dashed lines show the acceptance regions at the 5% confidence level under the null hypothesis of Gaussian white noise. Thus, under the null hypothesis, one expects a fraction of 1/20 of the lags of the sample ACF to fall outside this band.
There are two out of 22 lags narrowly lying outside the dashed line, which is not very bad. So we do not reject the null hypothesis, which means the hypothesis of Gaussian white noise holds.
From the ACF plot, we noticed that there seems to be a weak seasonal oscilation. The peaks occur at lags of around 7.
##
## Call:
## arima(x = ex_hp, order = c(2, 0, 1), seasonal = list(order = c(1, 0, 0), period = 7),
## xreg = in_hp)
##
## Coefficients:
## ar1 ar2 ma1 sar1 intercept in_hp
## 1.8624 -0.9107 -1.000 -0.0256 -0.0957 14.9810
## s.e. 0.0308 0.0308 0.019 0.0932 2.0811 5.6674
##
## sigma^2 estimated as 2770: log likelihood = -777.79, aic = 1569.58
sar1
is not statistically significant. So I choose to stick to our original simple model (linear regression with ARMA(2,1) errors).The detrended time series plot and spectral analysis suggests that GDP and interest rate has similar business cycles.
Due to Wars, the financial market was not stable before the year 1980. This makes it harder to see a relationship between GDP and interest rate since they are effected by extreme situations, so we only use data after the year 1980 to fit our model.
The time series analysis shows an evidence for the positive association between GDP and interest rate with an ARMA(2,1) error in United States. It is selected by AIC criterion and checked by likelihood ratio test.
The residual plots show no violation of equal variance or Gaussian white noise.
There seems to be a seasonal oscilation but the standard deviation calculated by observed Fisher information shows that the seasonal trend is not statistically significant.
Usually there is a positive relationship between GDP and interest rate. However, we cannot say that they have a causal relationship. There are other confounding factors such as foreign exchange rate, disasters such as wars and earthquakes that will somehow affect GDP and interest rate. We can think of interest rate as a proxy variable for fluctuation of GDP.
[1] Albu L., Ghizdeanu I., Stanica C. 2008. Interest rate - Investment - GDP growth relationship: theoretical and empirical investigation. “THE FUTURE OF EUROPE IN A WORLD OF UNCERTAINTIES” Romania, September 25-27th, 2008.
[2] Board of Governors of the Federal Reserve System. “Selected Interest Rates”. http://www.federalreserve.gov/releases/h15/data.htm
[3] Economic Research. “Gross Domestic Product”. https://research.stlouisfed.org/fred2/series/GDP#
[4] Hodrick-Prescott filter. (2015, August 8). In Wikipedia, The Free Encyclopedia. Retrieved 08:02, March 10, 2016. https://en.wikipedia.org/w/index.php?title=Hodrick%E2%80%93Prescott_filter&oldid=675114572