1
$\begingroup$

Suppose I am looking to forecast the 2 Year Treasury Bond rate with an ARIMA type model. The series is I(1) but its first difference does not look stationary due to non-constant variance. A general rule of thumb is that one way to stabilize the variance is to take the natural log of the series. Is there anything wrong with taking the natural log of an interest rate series? I don't see it done much and I don't understand why. If not, then in this case, the solution could be to take the natural log first and then first difference it to obtain a stationary looking series.

Here is a professor's opinion (that I do not agree with), in which he says "taking logs of an interest rate is pointless (no exponential trend to linearize), taking logs of an exchange rate can make sense (it can stabilize the variance of the time series)." https://www.researchgate.net/post/Log_transformation_of_variables_in_Rates_or_percentage/58f340875b4952592f7d0ff5/citation/download

Here's a sentence from Brockwell and Davis (page 14)"...if the magnitude of the fluctuations appear to grow roughly linearly with the level of the series, the the transformed series {lnX1,...,lnXn} will have fluctuations of more constant magnitude... If some of the data are negative, add a positive before taking logarithms". So negative rates aren't really much of a concern. We can add 1000 to every rate and move forward.

Here's prof. Hyndman on the topic: "Plot a graph of the data against time. If it looks like the variation increases with the level of the series, take logs. Otherwise model the original data." No statement about how this does not apply to interest rates. https://stats.stackexchange.com/a/6333/198058

I followed prof. Hyndman's advice and plotted the data. The variation decreases with the level - therefore I took the log.

$\endgroup$
13
  • 2
    $\begingroup$ I think there could be a problem since the log function changes very quickly for values close to 0. Also, if your rates ever go negative log would be undefined. A less 'harsh' variance stabilizing transformation you could try is the square root transformation (although does not help with the negative rate case). $\endgroup$ Commented Sep 14, 2021 at 17:47
  • $\begingroup$ Good points, David. To try to focus my question, let's assume that the series always stays positive (I believe the 2 year treasury bond rate has always stayed positive). $\endgroup$ Commented Sep 14, 2021 at 17:55
  • $\begingroup$ In ARIMA modeling, the goal of such a pre-transformation before removing the deterministic trend and deterministic seasonality (in this case there is none) is to obtain a stationary residual. Suppose that taking the natural log of the 2 year treasury rate and then first differencing it has accomplished just that - it produces a stationary looking residual. Anything wrong with proceeding this way? $\endgroup$ Commented Sep 14, 2021 at 17:59
  • 2
    $\begingroup$ Let’s say that a very low interest rate is of the order of 0.1% and a high interest rate of the order of 10%, so a range of two orders of magnitude. Then logarithmic thinking commits you to regarding the difference between 0.1 and 1% as equivalent to that between 1 and 10%. I know as an individual in the economy I don’t believe that at all; the deeper question is surely whether e.g. firms, sectors, economies behave that way. What does your data tell you? If interest rates are negative, cube roots, neglog and asinh are available, but the doubt remains. $\endgroup$
    – Nick Cox
    Commented Sep 14, 2021 at 18:28
  • 1
    $\begingroup$ Have you looked at auto.arima() in the forecast package for R (whose author is precisely Rob Hyndman)? It will try to fit an appropriate Box-Cox transformation, which is more general than the log. Also, do remember the bias adjustment if you back-transform forecasts. See otexts.com/fpp3/ftransformations.html. $\endgroup$ Commented Sep 14, 2021 at 20:12

2 Answers 2

3
$\begingroup$

Let’s say that a very low interest rate is of the order of 0.1% and a high interest rate of the order of 10%, so there is a likely range of say two orders of magnitude.

Then logarithmic thinking commits you to regarding the difference between 0.1 and 1% as equivalent to that between 1 and 10%. Is that sensible or accurate economically?

I know as an individual in the economy I don’t believe that at all. I use logarithmic thinking in thinking about house prices -- participants play with adding or subtracting large sums to buy or sell a house -- but not about interest rates.

The deeper question is surely whether e.g. firms, sectors, economies behave that way. What does your data tell you?

If interest rates are ever negative, then transformations such as cube roots, neglog and asinh are available, but the doubt remains whether logarithms help here.

$\endgroup$
2
  • $\begingroup$ Gelman & Hill in their book "Data Analysis Using Regression and Multilevel/Hierarchical Models" discuss transformations along these same lines: page 65, for example. $\endgroup$ Commented Sep 21, 2021 at 10:27
  • $\begingroup$ "Fitting a linear model to the raw, untransformed scale seemed inappropriate. Expressed in a different way than before, we would expect the differences between people earning nothing versus those earning USD10,000 to be far greater than the differences between people earning, say, USD80,000 versus USD90,000.". "With logarithms, the differences between populations earning USD5000 versus USD10,000 is equivalent to the differences between those earning USD40,000 versus those earning USD80,000. Gelman, Andrew; Hill, Jennifer. Data Analysis Using Regression and Multilevel/Hierarchical Models $\endgroup$ Commented Sep 21, 2021 at 10:34
1
$\begingroup$

Not a finance expert, but there’s nothing wrong with taking a log transform, provided your values are all greater than zero.

I guess your question is more generally about taking log transforms of values which are percentages? Again, I don’t see an issue. If the transform is useful for improving forecasts and there’s a convenient inverse transform for regaining raw values then it’s all good (again assuming you’ll never want to predict a negative/zero value).

$\endgroup$
4
  • $\begingroup$ Thank you, Adam. This is my opinion as well, but I ask myself why I have never seen it done in any textbook. Can you point to a textbook or an article where the author takes the natural log of an interest rate. $\endgroup$ Commented Sep 14, 2021 at 18:13
  • $\begingroup$ I don’t have a good answer why it isn’t done in practice. I would guess it has to do with either the fact that interest rates can in some cases be zero or negative (or positive but very very small). There is a similar question with a good answer here $\endgroup$
    – Adam Kells
    Commented Sep 14, 2021 at 18:21
  • $\begingroup$ Adam, note that the accepted answer there is one that I do not agree with for the reasons stated above. Prof. Hyndman commented below there and gathered more votes than the accepted answer by saying "Plot a graph of the data against time. If it looks like the variation increases with the level of the series, take logs. Otherwise model the original data." That is exactly what I am suggesting. Interest rates are no special in this context, contrary to what some are saying. $\endgroup$ Commented Sep 14, 2021 at 18:55
  • $\begingroup$ Please see Nick Cox' comment. I think that's the main point. $\endgroup$ Commented Sep 16, 2021 at 17:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.