PDA

View Full Version : Analysis of allocation problem using Excel



eukrate
11-03-2004, 02:00 PM
An anlysis using 3 TSP funds:
The problem is optimal asset allocation among a set of investments. In the TSP, one can choose to invest in 3 funds: in a common stock index (S&P500) fund "C", or in a Fixed Income Index Investment Fund "F" (Shearson Lehman Hutton Aggregate), or in a special Government Securities Investment Fund "G" (short term US Treasuries specially issued to the TSP Plan).
What fraction of one's money should be invested in each? Assume the fractions are Kc,Kf, and Kg. For example if one allocated his money 40 % to the stock fund C, 34% to the bond fund F and 26% to G, then this set is kc=.40, kf=.34, kg=.26 Note kc+kf+kg = 1 (by design).

I make the (unsubstantiated) assumption that each investment can be characterized as a normally-distributed random variable with a known mean and standard deviation.
(It is more correct to assume log-normal distributions, but the mathis harder). Thus the funds have Means Mc,Mf,Mg and standard deviations Sc,Sf and Sg. My investment is then the random variable R = kc * C + kf * F + kg * G where C,F,G are random variables drawn from their respective distributions. Make the further assumption that C,F,G are independent processes so they are uncorrelated and have zero covariances. Then R is also gaussian, with the following Mean and Standard deviation:

Mr = kc Mc + kf Mf + kg Mg

Sr = ( kc^2 Sc^2 + kf^2 Sf^2 + kg^2 Sg^2) ^0.5

( "^" is exponentiation: ^2=squared ^.5 = square root)
Thus the fund variances, when weighted by their respective squared investment fractions, sum linearly to the variance of R. Define the ratio Mr/Sr = W. W sets the tradeoff between maximizing the return,(mean value Mr) and minimizing the risk (Sr). For example: the choice W=1.645 puts the mean value of R at 1.645 standard deviations above zero. For this choice, 95% of the time one can expect a positive return R : the cumulative distribution from -infinity to 0 is 5% of the area.
So 5% of the time, or 1 year in 20, one could expect a negative return on this investment.

W should be selected to be consistent with one's risk tolerance and investment horizon; an investor with 25 years horizon may view a positive return 80% of the time ( w=0.842 ) as acceptable while someone with a 5 year horizon may demand 99.9% positive return years ( w = 3.091). The Excel function "Normsinv" gives the cumulative function: Normsinv(0.95)=1.645 Given W, and the means Mc, Mf, Mg and risks Sc,Sf,Sg, one then maximizes Mr subject to the constraints Mr = W Sr, kc + kf + kg =1, 0< kc <1 and kf,kg similarly.

I have used the "Solver" feature in Microsoft Excel on the following statistics (actual returns over the period 1976-1993):
C F G
mean 14.170 9.530 9.420
std dev 12.700 8.510 2.380

Solver uses a quasi-Newton search algorithm to optimize
a variable subject to nonlinear constraints. Results for the above set of data (solving for kc,kf and kg) are given below - the "Success" parameter shows the percentage of time a positive return can be expected.

Success Kc Kf Kg Mr Sr W
86.77% 1.000 0.000 0.000 14.2 12.7 1.115748
86.86% 0.000 1.000 0.000 9.530 8.510 1.119859
90.0% 0.816 0.052 0.132 13.3 10.38 1.28131
93.0% 0.670 0.056 0.275 12.61 8.54 1.476581
95.0% 0.577 0.058 0.365 12.17 7.40 1.644595
99.0% 0.358 0.063 0.579 11.12 4.78 2.32636
99.90% 0.229 0.066 0.705 10.51 3.40 3.091176
99.9962% 0.000 0.000 1.000 9.420 2.380 3.957983

Note how full investment in the stock fund, kc =1, yields
a positive return 86.77% of the time; putting some money
into the rock solid (low Sg) but lower-yielding G fund
(Mg=9.42) improves the success period to over 90%. The F
fund gets little weight, since it returns only slightly more than G but at 4 times higher risk. For my money, 93% is anice operating point, with an expected return of 12.61% and a risk of 8.54%.

I believe this approach may have general applicability to
the asset allocation problem.

rokid
11-03-2004, 07:49 PM
You also might want to tryMarkowitz Mean Variance Optimization (MVO) on the allocation problem.He won the Nobel Prize for it in 1990. Efficient Solutions sells a single period MVO for $89. It allows up to 20 investments. You can also download it for a 30 day free trial. The free version allows up to 5 investments (perfect for the TSP). Ibbotson Associates also sells a highly regarded but more expensive MVO. MVO allows you to take correlation into consideration.

To use the MVO: Input your expected returns, standard deviations, and correlations for the G, F, C, S, and I funds. The output isthe efficient frontier for those investments. Pick your desired return and level of risk (standard deviation) and the efficient frontier provides the suggested allocation.

Of course, the outputs are only as good as the inputs.However, I used it with 1988-2003 historical data to suggestmy"buy and hold" allocations (which included some non-TSP funds). Iselected a 12.75%expected return (beat the mean S&P 500 return) with a10.71% standard deviation (significantly lower than the S&P 500 standard deviation) and exerted some minimal allocation constraints (I wanted all of the funds, except the G, represented). So far, my return for the year is 11.99% (interesting, but a coincidence).

http://www.effisols.com/ (http://www.effisols.com/)

In addition, my data 1988-2003 shows:

G - 6.78 mean, 1.4Standard Deviation

F - 8.07 mean, 5.64 Standard Deviation

C - 13.93 mean, 18.36 Standard Deviation

The more recent F/G data is somewhat different than yours, i.e. better for the F fund. Finally,you might want to check your12.7 standard deviation for the C Fund. I think it is too low and couldnegatively impact your results.

eukrate
11-05-2004, 11:37 AM
Thanks for the suggestion, but as you can see it is possible to do one's own allocation without buying commercial software. One of these days I'm planning to generalize to all 5 funds and update the data, but for the moment I'm busy analyzing the dollar / I-fund correlation. Hopefull others on this board will expand on this work, perhaps using other probability densities.

rokid
11-05-2004, 03:23 PM
Hi,



You probably already know this but, if not,Excel has a correlation function.

tsptalk
11-06-2004, 12:34 AM
eukrate wrote:
Mr = kc Mc + kf Mf + kg Mg

Sr = ( kc^2 Sc^2 + kf^2 Sf^2 + kg^2 Sg^2) ^0.5

( "^" is exponentiation: ^2=squared ^.5 = square root)
Thus the fund variances, when weighted by their respective squared investment fractions, sum linearly to the variance of R. Define the ratio Mr/Sr = W. W sets the tradeoff between maximizing the return,(mean value Mr) and minimizing the risk (Sr).
Einstein said compound interest was the human race's greatest discovery. I guess he didn't see eukrate's formula. :)