Skip to content

My Finance

University Home Page


  • Fit of 5 asset classes with Shiller CAPE

    Advantages of Shiller CAPE

    We employed various versions of the new valuation measure in this blog. However, we found one problem: It is designed to be approximately unchanged by the end period of analysis. Indeed, since we simply fit the linear trend and then remove it, the resulting terminal value will approximately match the initial value. Somehow this simple statistical trick has escaped our attention.

    We attempt to improve our model by regressing the total returns over three factors: (a) the valuation measure before detrending; (b) the linear trend; (c) the constant intercept. This might lead to useful results. But this is still work in progress. And we are not sure whether it will bear fruit, or whether the explaining power is better than the classic Shiller yield.

    Meanwhile, existing Shiller yield is well-modeled by a simple time series model with Gaussian IID noise terms if we only allow division by annual volatility. But this is what we were doing to stock returns and bond rates!

    Last but not least, the Shiller CAPE is well known, while our valuation measure did not gain widespread attention in the financial econometrics community; although some prominent researchers have praised it in private conversations.

    White Noise Analysis

    Unlike the previous blog posts, we analyze whether the given series  \varepsilon of residuals/noise terms is independent identically distributed (IID) by applying the two following tests using the empirical autocorrelation function (ACF):

    • Ljung-Box test for 10 lags of the ACF of  \varepsilon(1), \ldots, \varepsilon(T)
    • Ljung-Box test for 10 lags of the ACF of  |\varepsilon(1)|, \ldots, |\varepsilon(T)|

    If both of these tests give  p > 5\% then we accept that  \varepsilon are IID. Moreover, we create the two ACF plots to visually evaluate it and see that no lag has an ACF far from zero. If we applied the Ljung-Box test in the second item above to the squares  \varepsilon^2(1), \ldots, \varepsilon^2(T) rather than absolute values, this would be called the McLeod-Li test.

    Also, unlike the previous blog posts, we analyze whether this series of residuals is Gaussian by applying the two following normality tests: Shapiro-Wilk and Jarque-Bera. If both give  p > 5\% and we accepted the IID model then we accept the IID Gaussian model. We also make the quantile-quantile plot of the data versus the Gaussian distribution.

    Shiller CAPE Modeling

    We wish to do a more traditional valuation method of the stock market. To this end, we employed Shiller CAPE, or, more precisely, its inverse: the 10-year trailing averaged earnings divided by the end-of-year S&P level, taken from Angel Piotrowski’s work. This is called the Shiller yield  Y(t). We can model it using the same idea of normalizing by Angel Piotrowski’s volatility  V(t).

    Correction: In previous blog posts, I claimed that S&P end-of-year level, as opposed to annual volatility, 1927-2025, was compiled by Ian Anderson, my other undergraduate student. This is not true. He has done normalization of annual earnings growth using division by Angel’s volatility. The computation of annual total returns, in fact, was also done by Angel Piotrowski.

    The equation for the Shiller CAPE is given by a random walk with stochastic volatility:  \ln Y(t) - \ln Y(t-1) = \mu_YV(t) + V(t)W_Y(t) where  \mu_Y is a constant.

    Other Time Series

    In the data file we add dividends, earnings, and the Consumer Price Index from 1918; BAA from 1919; long-term Treasury rates since 1925. However, we do not really use the data before 1925, as shown below.

    Annual Angel’s volatility modeling is done, as before, as an autoregression of  F(\ln V) where  F is the Yeo-Johnson transform with index  \lambda = -0.5.

    For each of three stock asset classes: S&P (USA), developed, and emerging, we model their annual geometric returns  Q(t) by the following equation, where  R(t) is the BAA rate of December of year  t:  Q(t) = aV(t) - d(R(t) - R(t-1)) + cY(t) + V(t)Z(t). Then, of course, we convert them into arithmetic returns.

    We call  d duration and  c sensitivity. For USA and developed markets, the  p < 1\% for the Student test for  c, d. But for the emerging markets,  p = 2.6\% for sensitivity and  p = 10.4\% for the duration. By the way, duration is  d = 6.4\%, 5.5\%, 7.8\% for US, developed, and emerging markets.

    As in this foundational blog post, the corporate bond BAA rate is modeled similarly to the Shiller yield:  \ln R(t) - \ln R(t-1) = \mu_RV(t) + V(t)W_R(t). Geometric corporate bond returns (taken from FRED 1973-2025) are modeled as  B(t) - 0.01R(t-1) = -a - d(R(t) - R(t-1)) + Z_B(t). Alternatively, we could use this model which uses the same Angel’s volatility even for bond returns.

    Finally, the log spread of logs  S(t) = \ln(\ln R(t) - \ln L(t)) is modeled as an autoregression of order 1, without any special normalization by volatility. And arithmetic Treasury bond returns in year  t are modeled as a deterministic function of  L(t-1) and  L(t). There is no random noise here.

    Each series of residuals passes the inspection discussed above. Therefore, we conclude it is IID Gaussian.

    Simulator Problems

    We saved our work here. We did not yet write the entire version of the simulator based on that, similar to this or this versions. I need to discuss with my PhD student Smaila Amoanu how to organize the simulation best. We will need a frequentist (classic version, with point estimates), Bayesian-lite (with objective Bayes only for regression coefficients), and Bayesian-full (with inverse Wishart distribution for the covariance matrix and flat prior for regression coefficients).

    There was also a problem of overflow: explosions when we run too many Monte Carlo simulations or too many years. It was for these aforementioned and the current versions as well. I think this is because the model is non-stationary or barely stationary; and because there is a lot of variance and exponentiating. Instead of putting artificial cutoffs or failsafes (like reflecting this heteroscedastic random walk or stopping the simulation when the parameters get too large), I decided simply to run the entire simulation for no more than 10 years.

    November 15, 2026

  • Current Simulation Version

    We did so many versions that we decided to focus on the simple one. We published it here. It has 8 innovation series.

    5 asset classes (all returns are total, nominal):

    1. US stocks
    2. developed stocks
    3. emerging stocks
    4. 10-year Treasury bonds
    5. corporate bonds

    4 market factors:

    1. Measure (last day of year)
    2. Volatility (annual)
    3. BAA rate (average daily December)
    4. 10-year Treasury rate (average daily December)

    Features: This is NOT a stationary model. All innovations are IID Gaussian, tested by Shapiro-Wilk and Jarque-Bera normality tests, and by the Ljung-Box test for 5 and 10 lags for original and absolute values of innovations.

    Updates:

    1. Volatility and S&P returns data thanks to Angel Piotrowski and Ian Anderson, 1928-2025
    2. Rate data for BAA and 10-year Treasury extended back to 1925 from 1927
    3. Corporate bond returns data extended 1926-1973 using Ibbotson SBBI data thanks to Smaila Amoanu
    4. Yeo-Johnson transform of log volatility with index -0.5 modeled as autoregression with lag 1
    5. Log risk spread of logs as autoregression with lag 1
    6. Valuation measure modeled as autoregression with lag 1 with stochastic volatility
    7. Log BAA rate as random walk with stochastic volatility
    8. Treasury 10-year returns (coupon bonds) deterministic formula thanks to Aswath Damodaran
    9. Corporate bond returns minus rates (log duration) as a function of rate change
    10. Domestic, developed, emerging stocks vs rate change and valuation measure (not risk spread) with stochastic volatility

    Future Research:

    1. A version with an objective Bayes inference for regression coefficients
    2. An online version instead of the old version with only 3 asset classes and non-Gaussian innovations
    3. Front end redesign, Smaila promised to do this
    4. New versions of the main model: For international stocks, its own dividend-based valuation measure rather than rely on US-based; for Treasury bonds, use actual returns data from SBBI or FRED to compare with predicted returns from Damodaran’s formula
    September 25, 2026

  • Ibbotson SBBI

    Smaila Amoanu helpfully scanned annual (total, nominal) long-term government and corporate bond returns 1926-2015.

    I augmented the corporate bond returns by adding 1976-2025 Novel Investor data. The previous model still holds, although without volatility!  \ln(1 + B(t) - 0.01R(t-1)) = -0.0152 - 0.0361(R(t) - R(t-1)) + \delta(t) with unfortunately very low  R^2 = 49\% .

    But  \delta are Gaussian IID, judging by the Ljung-Box test for 5 and 10 lags for  \delta(t) and  |\delta(t)| and by the Shapiro-Wilk and Jarque-Bera tests. The code is available here.

    Also, we can analyze long-term government returns. The regression of 1926-2015 similar to the above produces duration slightly less than 9 and  R^2 = 84\% but with residuals which are NOT Gaussian IID. Division by volatility does not improve the fit. See the GitHub repository. But we simply switch to deterministic generation of returns of Treasuries but with 10-year maturities. Or maybe with 9-year, since we had duration around 9 in the above regression?

    Also, in the new data file in the new repository https://github.com/asarantsev/Bayes9 we extended BAA and Long rates data from 1927 to 1925, two additional years. And we rewrote regressions to fit it.

    September 18, 2026

  • Rates and Spreads with Yeo-Johnson and Volatility

    Introduction. We combine the old analysis of four bond rates and six spreads (with extended and updated data, using autoregression and annual volatility  V(t) , abbreviated later as VAP) with our new tool, the Yeo-Johnson transform (abbreviated later as YJX). We wish to answer whether switch to IID Gaussian innovations can be done using YJX not VAP.

    Data. We take augmented December annual average rate data, all available in Github repository. All data is taken from the usual website, Federal Reserve Economic Data. These are:

    • Short-term Treasury rates, 1920-now
    • Long-term Treasury rates, 1925-now (from 1960 this corresponds to 10-year Treasury rates)
    • Moody’s AAA and BAA corporate bond rates, 1919-now

    The data series  X(t) which we analyze are:

    • ln(BAA), ln(AAA), ln(Long)
    • BAA-AAA, BAA-Long, AAA-Long
    • BAA-Short, AAA-Short, Long-Short
    • ln(BAA) – ln(AAA), ln(BAA) – ln(Long), ln(AAA) – ln(Long)
    • ln(BAA-AAA), ln(BAA-Long)
    • ln(ln(BAA) – ln(AAA)), ln(ln(BAA) – ln(Long))

    Analysis. We take data  X(t) which is either rate or spread, with or without logarithms.

    1. We run autoregression  X(t) = a + bX(t-1) + \delta(t).
    2. We test  \delta and  |\delta| using Ljung-Box tests for 5 or 10 lags, and we accept IID only if all four tests give us value greater than 5%.
    3. We apply the Shapiro-Wilk and Jarque-Bera tests for  \delta, and we accept Gaussianity only when both tests give us value greater than 5%.
    4. We divide  \delta(t)/V(t) and apply Steps 2-3 again.
    5. We apply the Yeo-Johnson transform  F to  X(t) and fit the autoregression  F(X(t)) = \alpha + \beta F(X(t-1)) + \varepsilon(t).
    6. We test  \varepsilon much like we tested  \delta in Steps 2-3.
    7. We divide  \varepsilon(t)/V(t) and apply Steps 2-3 again.

    Results: Unfortunately, success in making these IID Gaussian is achieved using YJX only for spreads BAA-AAA, BAA-Long and some combinations of logarithms. But not for the rates themselves. Thus we cannot model bond markets without VAP.

    September 14, 2026

  • Yeo-Johnson transform for monthly average VIX

    Now it is time to apply our new tool, the Yeo-Johnson transform, to monthly average CBOE VIX 1986-2025 as opposed to annual volatility. We discussed such autoregression of order 1 on the log scale in our previous manuscript. But the innovations are IID and not Gaussian. We tried (unsuccessfully) to fit the variance-gamma distribution. The new Python file is in the old GitHub repository together with the data file.

    But we are interested only in the time series modeling of volatility, since the normalized monthly returns are already IID Gaussian. Thus we apply the autoregression of order 1 to the transformed log VIX and analyze innovations of this autoregression.

    Results: Shapiro-Wilk  p = 2.4\% and Jarque-Bera  p = 13.7\% for transformed log volatility, with  \lambda = -1.85. However, autoregression innovations are IID but not Gaussian, both normality tests give extremely low values.

    September 14, 2026

  • Final Simulator

    Here we describe the final steps we make to complete the simulator, first as a collection of Python files, later an online web app.

    1. Make available classic (frequentist, with fixed point estimates for the covariance matrix of regression residuals and for regression coefficients) and Bayesian (what we called Bayesian-lite, with fixed point estimates for the covariance matrix of regression residuals but objective Bayes inference for only regression coefficients) options.
    2. Make two versions of the model for stocks: simple (with only volatility as factor for international developed and emerging stocks, but also BAA corporate bond duration and the new valuation measure based on dividends for domestic stocks) and complete (with BAA corporate bond duration for all three stock asset classes, and the new valuation measure for both domestic and developed, but not emerging stock markets).
    3. Make two versions of the model for bonds: simple (with Treasury long-term bond returns modeled as a deterministic function of this and last end-of-year rates) and complete (with noise components there, based on historical returns of 7-year zero-coupon Treasury bonds from 1962).
    4. All eight versions of the model must have 10000 simulations. Moreover, all coefficients and covariance matrices, including objective Bayes inference, encoded directly in the Python code, not inferred via reading external data file or separate fitting of regressions. The latter takes some time, and while this does not seem to be so much, it does take extra 3-4 seconds on my local computer, which translates into 1-1.5 seconds on the web app (which is generally 3 times faster than my local computer). The difference between say 1.5 and 3 seconds is huge for the casual user.
    5. There must be a separate Python file main.py which combines simulations from each of 8 chosen models and giving this graphical output, as well as a document about the exact equations and verification governing the chosen model.
    September 7, 2026

  • Bayesian-lite Simulator

    Finally, we have a long desired simulator for Bayesian-lite mode: coefficients from objective Bayes posterior and covariance matrix for innovations fixed. At first we did this only for one asset class: US stocks, and only one factor: volatility. Later, we do this for more asset classes, to complete this program. This is our main goal here.

    We transformed the volatility using the Yeo-Johnson transform. We used the simplest model:

     \tilde{V}(t) = \alpha + \beta\tilde{V}(t-1) + W(t)

     Q(t) = a + bV(t) + V(t)Z(t)

    where  V(t) = \exp(f(\tilde{V}(t))) and  f(v) is the inverse Yeo-Johnson transform.

    We created a new repository. One Python file new-sim.py contains:

    • reading the data file
    • fitting regressions
    • extracting regression parameters
    • running the loop for 10000 simulations
    • analyzing results (text version of the graph)

    A separate file bayesOLS.py contains objective Bayes simulation of regression parameters and simulation of noise terms, where we assume the standard error is constant. Finally, the inverse transform is coded in YJX.py.

    We were very positively surprised that it takes such a short time. Only 10 seconds on my office computer. But the previous version without reading and fitting the data takes only 2 seconds on my office computer. Maybe we can multiply time by 5?

    Update: I found a mistake, since I forgot to add correlation between the two innovation series. We need to: (a) simulate the two innovation series as bivariate Gaussian with mean zero vector and the covariance matrix which matches the empirical covariance matrix; (b) use one-dimensional innovations as an argument in the regression simulation functions.

    Update: I used a more rigorous method of runtime count on my personal notebook. Then the old and new simulators generally take 6.5-7.0 seconds to run, both with 100 and 10000 Monte Carlo simulations. But this is strange that reading the data, fitting regressions etc and running these multiple Gaussian random variables seems not to make a difference! Why?

    Update: I ran it on my office computer, both take around the same time. I think about 2 seconds. Crazy!

    Conclusion: For us this is very good news since we now can proceed with the new simulator.

    September 3, 2026

  • Yeo-Johnson transform & objective Bayes inference for stock returns with volatility factor

    0. First Remarks. We need to use the Yeo-Johnson transform, not the Box-Cox transform to make data normal, since we need to ensure data can be both positive and negative. When we run modified random walk and autoregression simulations, we can always get outside of set bounds where the inverse Box-Cox transform is defined. We succeeded in this. And we can run simulations of such transformed volatility, and transform it back using the inverse Yeo-Johnson transform, no problem.

    First, we must transform log volatility, then fit the autoregression. We should not first fit the autoregression for log volatility, then transform the residuals. This would give us IID Gaussian data, but will not allow us to make objective Bayes inference for linear regression. Transforming the original data first allows us to simulate regression coefficients and standard errors.

    The code and data are given in this new GitHub repository.

    1. Simulation Description. We fit a one-factor model for stock returns (nominal, total, geometric) for three asset classes:

    • US stocks (domestic, measured by S&P 500)
    • International developed markets (measured by 88% MSCI EAFE + 12% MSCI Canada)
    • International emerging markets (measured by MSCI EM)

    Of course, for the latter two, we have less data: 1927-2025 for US stocks, 1970-2025 for developed, and 1988-2025 for emerging. Therefore, we expect Bayesian inference to make a difference. For each of 3 classes, we have two choices:

    • Keep volatility original, as is
    • Apply the Yeo-Johnson transform

    We apply three modes of statistical inference, following this blog post:

    • Classic (frequentist, with point estimates for the covariance matrix of innovations and regression coefficients)
    • Bayesian lite (fixed covariance matrix for innovations, objective Bayes posterior for regression coefficients)
    • Bayesian full (fixed correlation matrix for innovations, objective Bayes posterior for standard errors and regression coefficients)

    For each of the 18 experiments, we run 10000 Monte Carlo simulations for 20 years. We return 10 results:

    • For average returns over 20 years, mean, stdev, and percentiles 10, 30, 50 (=median), 70, and 90.
    • For 3%, 4%, 5% withdrawal rules with 4% annual arithmetic increase to adjust for inflation, the ruin probability.

    2. Conclusion. We do not see much difference in ruin probability. But a lot of difference in lower quantiles and in the median. However, not much difference between Bayesian-lite and Bayesian-full. Therefore, later we simply consider Bayesian-lite mode as an alternative to the frequentist approach.

    Why do we need to simulate the objective Bayes posterior for the standard error? Instead, we can simply treat it as fixed, using the point estimate (in the same way as we do for the correlation matrix)? It is much easier to simulate only regression coefficients using the objective Bayes posterior. The latter coincides with classic frequentist confidence regions and intervals. Equivalent to fixed correlation matrix and standard errors is fixed covariance matrix.

    3. Tables of results. Here we have complete tables which corroborate the conclusion in Section 2.

    American stocks without and with the Yeo-Johnson transformation of log volatility, in %.

    StatisticFrequentist OriginalBayesian-lite OriginalBayesian-full OriginalFrequentist TransformedBayesian-lite TransformedBayesian-full Transformed
    Average9.209.059.059.008.728.71
    Stdev4.295.235.264.856.456.44
    Median9.549.639.659.569.589.62
    10%3.532.542.362.971.641.47
    30%7.306.937.017.146.756.78
    70%11.6211.9911.9611.7212.0412.00
    90%14.2915.0215.1114.7915.1615.19
    3% ruin161919182121
    4% ruin252827262928
    5% ruin353737363737

    Developed stocks without and with the Yeo-Johnson transformation of log volatility, in %.

    StatisticFrequentist OriginalBayesian-lite OriginalBayesian-full OriginalFrequentist TransformedBayesian-lite TransformedBayesian-full Transformed
    Average6.846.606.636.506.006.04
    Stdev5.647.427.396.569.529.40
    Median7.367.617.557.417.547.52
    10%-0.57-2.53-2.71-1.64-4.13-4.26
    30%4.333.833.864.083.463.53
    70%10.0810.7410.7910.2110.8710.93
    90%13.5814.8414.8513.7414.9815.01
    3% ruin343636353637
    4% ruin494545454545
    5% ruin555353545253

    Emerging stocks without and with the Yeo-Johnson transformation of log volatility, in %.

    StatisticFrequentist OriginalBayesian-lite OriginalBayesian-full OriginalFrequentist TransformedBayesian-lite TransformedBayesian-full Transformed
    Average8.558.298.338.217.697.75
    Stdev7.089.899.868.0412.3111.61
    Median9.159.349.349.189.359.31
    10%-0.72-3.82-4.27-1.74-5.26-5.97
    30%5.464.474.425.184.164.13
    70%12.5813.6713.8012.7013.7813.85
    90%16.9719.3319.7217.1319.5119.83
    3% ruin323535673636
    4% ruin414242594242
    5% ruin484848484748

    4. Verification. The content of this section is taken from the file vol-transform.py The transformed log volatility  \tilde{V}(t) is Gaussian, unlike the log volatility  \ln V(t) before the transformation. The  \lambda = -0.59 is the parameter for the transformation.

    Below we see the quantile-quantile plot of autoregression residuals  W(t). The regression fit is  \tilde{V}(t) = 0.34 + 0.60\tilde{V}(t-1) + W(t) with Shapiro-Wilk and Jarque-Bera normality tests for  W(t) give us  p = 33\% and  p = 97\%, respectively.

    And we see the autocorrelation function for original and absolute values of autoregression innovations. We see that they are well modeled by IID Gaussian random variables.

    5. Updates. Apologies, I absolutely forgot that series of the two innovations also need to be correlated. All this was done for two independent series of residuals. But we still benefited from it, since we made this mistake for both original and transformed data; and for classic vs Bayesian. We need to include covariance matrix of innovations, for both classic and Bayesian versions.

    Below we provide the three tables for domestic, developed, emerging stocks. Compare them with Section 3.

    US stocks, measured by S&P 500, with correlated innovations.

    StatisticFrequentist OriginalBayesian-lite OriginalBayesian-full OriginalFrequentist TransformedBayesian-lite TransformedBayesian-full Transformed
    Average8.17.87.97.77.27.1
    Stdev4.75.75.75.67.58.6
    Median8.68.68.68.58.48.5
    10%2.00.50.70.7-1.1-0.9
    30%6.15.65.75.75.15.3
    70%10.811.111.110.811.111.1
    90%13.814.414.413.914.414.4
    3% ruin232625252827
    4% ruin333534353736
    5% ruin434444444545

    Developed international markets, measured by 88% MSCI EAFE + 12% MSCI Canada, with correlated innovations.

    StatisticFrequentist OriginalBayesian-lite OriginalBayesian-full OriginalFrequentist TransformedBayesian-lite TransformedBayesian-full Transformed
    Average6.15.65.65.64.84.6
    Stdev6.17.98.27.210.316.4
    Median6.76.86.76.66.76.7
    10%-1.9-4.5-4.6-3.5-6.6-6.4
    30%3.42.72.73.02.22.4
    70%9.610.210.29.710.310.2
    90%13.314.414.513.514.414.6
    3% survival394040404141
    4% survival494949495049
    5% survival585857585757

    Emerging markets, measured by MSCI EM, with correlated innovations.

    StatisticFrequentist OriginalBayesian-lite OriginalBayesian-full OriginalFrequentist TransformedBayesian-lite TransformedBayesian-full Transformed
    Average6.69.056.15.95.14.9
    Stdev8.05.2311.09.413.719.3
    Median7.39.637.67.37.47.4
    10%-3.8-7.8-7.8-5.8-10.0-9.8
    30%3.22.01.92.61.41.6
    70%11.212.612.411.312.212.3
    90%16.118.118.216.318.218.4
    3% ruin414342424344
    4% ruin495049505050
    5% ruin565555565556

    We see that making residuals correlated makes values at risk for 10% and 30$ even more biased downward, especially for the international markets, where we have less data. Doesn’t it contradict the diversification principle, which states we need to ivnest even in riskier assets, when they are not well correlated with the benchmark? Turns out if there is not enough observations for these risky assets, then this uncertainty in parameter estimates outweighs the variance reduction.

    September 3, 2026

  • Final Changes to the Financial Simulator with Gaussian Noise

    We still need to make changes to our simulator in light of our very recent research:

    1. Replace volatility in the autoregression with its Box-Cox transform. This will model the volatility as the classic autoregression of order 1 with Gaussian IID innovations. Update: we need Yeo-Johnson transform because Box-Cox is valid only for positive values. In this new post, we discussed that Yeo-Johnson transform works for log volatility values, and enables us to apply objective Bayes inference for autoregression coefficients. Update: We did not simulate correlated innovations, as discussed here. We need to correct this.
    2. Edit total returns of 10-year zero-coupon bonds to update equations and account for noise. This will not improve much, but it is important for completeness and intellectual honesty. We will have 9 equations with 9 noise series. Update: we used total returns of 7-year zero-coupon Treasury bonds instead of 10-year zero-coupon Treasury bonds. They fit better because they have IID Gaussian regression residuals without the need of any transforms. And they have more data, going back to 1962.
    3. Add the intercept  cV(t) to the regression of (modified) corporate bond returns vs changes in the rate (which shows duration); this will help to make it classic simple linear regression. Regression residuals are still IID Gaussian. I think we did not include the intercept to stress the meaning of the duration. Update: We were successful, see this GitHub repository.
    4. Update the covariance and the correlation matrix of residuals. They will both be of size 9. Update: We only need the covariance matrix, see item 5 below.
    5. Add the Bayesian-full (not Bayesian-lite) option to the classic (frequentist) option. We did not add Bayesian-lite because we found there is not much difference between the two Bayesian versions. Update: As shown by simulations of simple models for a single stock asset class and a single volatility factor, Bayesian-lite and Bayesian-full are very close but quite different from the frequentist mode. Therefore, we use Bayesian-lite not Bayesian-full, since it is much easier to fix the point estimate of the entire covariance matrix of innovations, and then use objective Bayes inference for coefficients. Update: We did not simulate correlated innovations, as discussed here. We need to correct this.
    6. Later we add the following options: Instead of this full version, remove dependence of all three stock returns upon bond duration, valuation measure, and risk spread. Or pick any combination of 3 factors for each stocks. Update: It would be great to code regression fit inside the simulator, otherwise we will need to manually code each and every covariance matrix. This has many shortcomings: (a) It can introduce manual errors. (b) It would take a lot of time. (c) When we change model or data so slightly, even just updating this for one year, we will need to update the entire model, which can lead to (a) or (b). Update: We found, to our shock, there is no loss in runtime. Moreover, 100 or 10000 Monte Carlo simulations? this does not matter for the runtime!
    7. In the above item, check that each version has Gaussian IID residuals, and add Bayesian-full version. Update: We only need the Bayesian-lite version, see item 5 above.

    Total 8 versions in item 6, times 2 in item 7, so 16 versions. We could have more options, but let us keep it simple for now. And do not forget to add explicit initial values of the four market factors. Do not write a separate advanced version of the simulator. Fix the current values of these market factors as default ones. But users must see them explicitly and be able to change them.

    September 1, 2026

  • Treasury 10-year bond annual returns

    0. Introduction. Previously, we wrote a deterministic equation connecting the zero-coupon bond rates and the total returns for 10-year bonds. But we only approximated the zero-coupon bond rates with classic 10-year rates, for which we have much more data, back from 1927. And we need zero-coupon bonds to compute exact returns, not classic coupon Treasuries. Here, we explain and address this discrepancy.

    1. Why we need zero-coupon bonds. Classic Treasury bonds pay semiannual coupons, so they pay 20 such coupons during their (for example) 10-year lifetime. We choose 10-year bond rates because they have the most data for them, going back to 1927 or even further. There are classic Treasury bonds with other maturities, for example 7-year or 30-year, but their data does not go back enough. Therefore, 10-year Treasury bond rates serve as the classic benchmark for long-term Treasury rates. They are free of default risk, but very much exposed to interest rate risk: If interest rates rise then bond prices fall. This is shown by duration, which is defined as the (minus) partial derivative of the price with respect to the rate. This can be thought of as average time of payments, weighted by the amount of payments (coupons and the principal). Thus we cannot exactly compute returns of such coupon bonds knowing only yield to maturity. We need to know the coupon rate, but usually only yield to maturity is quoted as the rate. This is a solution to a complicated equation which states that if we get coupons and reinvest them at the same rate, then the current price exactly matches all future payments. But this assumes the constant rate, which never happens.

    The price (and therefore total returns) is much easier to compute for zero-coupon bonds, which pay only the principal amount. Their maturity, in fact, coincides with their duration. More precisely, if  R_k(t) is end-of-year  t rate for the zero-coupon bond with maturity  k years and ith continuous compounding, then the price of this bond is  S_0 = \exp(-kR_k(t)).  One year later, at end of year  t + 1, this becomes a zero-coupon bond with maturity  k - 1. The new price is  S_1 = \exp(-(k-1)R_{k-1}(t+1)). There are no coupons, therefore price and total returns coincide. The log returns are  \ln(S_1/S_0) = kR_k(t) - (k-1)R_{k-1}(t+1). But where do we get these zero-coupon rates?

    2. Data. Previously, it was not great with regard to zero-coupon bond rates data. We had Federal Reserve daily data from January 1990 until now, for maturities 1 year, 2 years, etc up to 10 years. But this is not nearly enough to make inference! Only 36 years. Instead, we found an article in Federal Reserve repository (their own internal version of arXiv or SSRN) which includes data from 1961 for zero-coupon maturities from 1 to 7 years and from 1971 for 8, 9, 10 years.

    Target: We compute these log returns using these data for 9-year and 10-year end-of-year zero-coupon bonds, as in the subsection above.

    Benchmark: But in addition, we replace  R_9(t+1) and  R_{10}(t) both by  R(t) which is 10-year December average for year  t 10-year coupon Treasury rates. And we compute the new version of these log returns. See the GitHub repository where we put our newest version of the simulator with Gaussian innovations. We created a separate subfolder treasury-bonds with data and code files. The data file, as usual, contains detailed description.

    We would use the target if we had data for zero-coupon bonds all the way from 1927. But unfortunately, we have them only from 1971. Which is a lot, but not enough. We approximate them by replacing them by the classic 10-year Treasury rate. But of course, this intorduces an error.

    3. Analysis. How to compare these target and benchmark? The correlation is 97.7%. But this masks big differences, as shown in these data files. See the scatterplot and the time series plot below.

    Run regression: Target = 0.954 * Benchmark + 0.01 + Residuals with  R = 97.7\%. But residuals are not Gaussian.

    We tried dividing by volatility and thi did not work. Why such autocorrelation with lag 1? Because this difference is proportional to the long-short term spread (the slope of the Treasury yield curve), but this one has autocorrelation with lag 1, as shown in my current version of the financial simulator.

    The Box-Cox transform works: Residuals become Gaussian, but still such a big autocorrelation. Still, lag 1 is the only one, so Ljung-Box white noise test for lags 5 and 10 gives us high p-values, so we fail to reject the IID null hypothesis. The Ljung-Box test for absolute values of residuals also gives us fail to reject.

    4. Seven-year zero-coupon Treasury bonds. This turns out to be a better fit. For more years, 1962-2025 (64 years), not 1972-2026 (54 years), you can compute total returns. The above formula in Section 1 works for  k = 7 instead of  k = 10. The correlation is 97.3%, the linear regression is Target = 0.713 * Benchmark + 0.0205 + Residuals. And all tests above give p values above 5%. Thus we really can fit this regression. I will add these total returns for 7-year zero-coupon bonds into my main financial data library. See the Python file in the same subfolder treasury-bonds. We do not need the Box-Cox transform, after all.

    September 1, 2026

Next Page

Blog at WordPress.com.

Loading Comments...
  • Subscribe Subscribed
    My Finance

    Have a WordPress.com account? Log in now.

  • My Finance
    View site in Reader
    Manage subscriptionsSign upLog in
    Report this content
    Collapse this bar