Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Abstract
This project examined the optimal allocation of stocks based on the Markowitz Mean
Variance Optimization Model. It is mainly based on the comparison between two
samples of stock returns. The first sample is referred to as the full data set, and
contains the returns of the stocks GE, Baxter, Dow, Caterpillar, Apple, and Procter
and Gamble calculated over the period of five years. The second sample takes the 250
most recent daily returns as the base data set. The objective is to find the optimal
allocation in a portfolio of risky assets only and the Complete Portfolio that an
investor could choose in order to maximize his utility. Before analyzing the results
from the optimization process, we started by analyzing the data, and verifying that
the assumption of normality the model is valid in both data sets. Then we describe
the results given by the different optimizations that we calculated and we compared
both samples showing the optimal allocation for risky assets only and the optimal
allocation that includes the risk free asset. Then, we graph the efficient frontier along
with the capital allocation line, and we make some comments about the results
obtained. Finally, we formulate the recommendation to the investor based on the
results obtained, and we point out some of the limitations of the model that could
explain some of the unrealistic results that we found. The methodology of the
calculations, the tables and the charts used are all referenced in the appendix of this
paper in order to illustrate the results obtained.
Introduction
This project is based on the Markowitz Mean Variance Optimization Model for
defining the optimal weights of assets in a given portfolio based on various
investment constraints. The model generally seeks to maximize return for a given
level of risk, or minimize risk for a given level of return. Markowitz formulated the
portfolio construction problem as a utility maximization problem and used this to
develop a framework for selecting a range of optimal portfolios. In his model,
Markowitz made several assumptions on which this project is based. These
illustrated by the stocks demonstrating some extreme returns. This is mainly due the
shape of the recovery after the financial crisis, which displayed some significant
drops in the share prices and recovering back at a rapid rate of growth, after March
2009. However, the volatility has stabilized during the last year which means that
stocks are becoming less risky in comparison with the last three years.
Solver and we set the portfolio variance as the target to minimize given both the
constrained and unconstrained optimization criteria. The formula for the portfolio
variance is given in the Appendix and is derived from the correlation matrixes that
were computed for both data sets. The general parameters used in the Excel Solver
are also explained for both the constrained and the unconstrained portfolios.
suggested of 24.65%, and that is what one could consider as a realistic result since
the proportions to be invested are shared between two stocks as it is the minimum
diversification of risky assets that one could consider given the constraint of
maximizing the Sharpe ratio.
When comparing the two samples, we notice that the unconstrained portfolios in
both data sets provide some unrealistic results in terms of the portfolio weights as
some of them equal or exceed 100% of the portfolio's total weight. In the second data
sets when we eliminate some of the constraints that allow us to have more accurate
data, the result obtained show very large values that are completely unrealistic and
prevent us from drawing any meaningful conclusions. In the full data set, the LongOnly portfolio although it suggests that the investor should be mixed between risky
assets and the risk free asset does not provide proper diversification as the portfolio
of risky assets is concentrated on one stock which is Apple stock, however, it seems
that it is the one that provides the most realistic result.
Conclusion
The project's main objective was to identify the optimal allocation of assets from a
portfolio containing risky assets and one that includes a risk free asset. The
allocations obtained were based on the Markowitz Mean Variance Optimizations,
and resulted in three kinds of portfolio along with the efficient frontiers for both
samples of data that we have used. In the analysis of the results, we have found some
unrealistic values that we judge are due to the assumptions that we made earlier,
which reflect some of the limitations of the Model.
In fact the first limitation that we can state is the assumption of normality on the
returns in both data sets which seems to be unrealistic given the distributions that we
have obtained. There is strong evidence that most stock returns display asymmetrical
returns as well as showing excess Kurtosis which makes the model used hardly
applicable and is responsible for the large values obtained. Second, the model
assumes that investors will hold their investment on a fixed time horizon, and will
never change the asset allocation, which is false given that some times, investors
need to rebalance their portfolios shifting from the risky assets to treasury bills and
other risk free assets depending on the market. Finally, the model focuses mainly on
minimizing the volatility given a specific return or the opposite, and this is not
compatible with today's environment in the sense that investors' views and objectives
are more sophisticated, and therefore require to use enhanced models such as the
Black and Litterman Model.
AR = (R1 + R2 + R3 + + RN) / N
The returns obtained are then annualized by multiplying the expected returns by 250
trading days on average in a given year.
In order to calculate the risk of individual stocks, we used the STDEV function in
Excel by selecting the daily returns calculated in the two data sets, and annualizing
the values obtained by multiplying by the square root of 250 trading days on average
per year.
Skewness gives the measure of asymmetry of the distribution, and is defined by the
following formula:
Where T is the time period or the length of the data used, and
.
Kurtosis is the measure of the flatness of the distribution, and is defined as follows:
This leads to the computation of the Jarque-Bera test statistic which is as follows:
3. Volatility Clustering
Volatility clustering is another important factor that can help to understand the
patterns of the variations among stock returns. To show evidence of volatility
clustering in the two data sets, we plotted the stock returns in a time series graph,
and analyzed the different patterns of the individual stocks using the complete data
set first, and then analyzing the most recent 250 stock returns to see if the patterns
display some periods of high volatilities show some extreme returns, which are
followed by periods of relatively low volatilities.
(x,y) = covariance(x,y)/x y
Where xy is the correlation between assets x and y, and n is the standard
deviation of the nth asset. Hence we obtained the following:
In excel, we used the following formula given that we have already computed the
correlation matrix (appendix), the standard deviations and the expected returns of
the stocks:
{MMULT(MMULT(TRANSPOSE(wnn);
(x,y)); wnn)}
Where wnn is the matrix that results from the multiplication of the portfolio
weights with the standard deviations of individual stocks, and (x,y) is the
correlation matrix.
Determining the Portfolio's Expected Return
The portfolio expected return is the sum of the product of the holding of the assets by
the expected returns of the individual assets, and is represented as follows:
Where the sum of the weights = 1, n is the number of securities held in the portfolio
which is 6 stocks in our case, wi is the proportion invested in a given stock i, E(ri) is
the expected return on the stock i.
diversification between the risky asset and the risk free asset in both the constrained
and unconstrained portfolios.
Sharpe Ratio
The sharpe ratio is a risk adjusted measure to evaluate portfolio performance and is
based on the following formula:
Source: Investopedia.com
DOW
5.45%
43.86%
Baxter
7.68%
24.63%
Caterpillar
17.78%
38.93%
Apple
37.97%
40.29%
27.43%
DOW
31.99%
36.29%
Baxter
-14.10%
24.40%
Caterpillar
64.69%
29.83%
Apple
56.95%
25.49%
GE
DOW
BAX
CAT
P&G
AAPL
Kurtosis
9.283169
7.042409
7.47999063
5.080399
7.659262
4.260446
Skewness
0.417837
-0.08243
-0.622318643
0.160727
-0.03425
-0.02987
JB Test Statistic
2121.731
871.6094
1151.235074
235.9717
1156.239
84.78961
GE
DOW
BAX
CAT
P&G
AAPL
Kurtosis
2.414595
2.058731
21.2954
1.601479884
2.562847
2.396152
Skewness
0.170671
-0.32919
-2.61641
0.112397247
-0.20665
0.316714
JB Test Statistic
4.783472
13.74422
4.783472
20.89990707
3.769913
7.977748
Long Constraint
Unconstrained
Portfolio Expected return=
6.60%
7.48%
Portfolio Variance =
3.47%
3.40%
Portfolio SD =
18.63%
18.43%
Sharpe Ratio =
0.1933
0.2432
Portfolio Weights
GE
0.00%
-1.08%
DOW
0.00%
-7.75%
BAXTER
32.87%
33.66%
CAT
0.00%
3.90%
P&G
62.14%
65.22%
AAPL
4.99%
6.06%
Long Constraint
Unconstrained
Portfolio Expected Return=
9.84%
1.45%
Portfolio Variance =
2.28%
1.57%
Portfolio SD =
15.11%
12.52%
Sharpe Ratio =
45.31%
-12.37%
Portfolio Weights
GE
7.27%
3.05%
DOW
0.00%
-15.57%
BAXTER
32.14%
12.52%
CAT
0.00%
2.38%
P&G
39.40%
89.78%
AAPL
21.18%
7.82%
Long Constraint
Unconstrained
Sharpe Ratio =
86.79%
114.44%
Portfolio Variance =
16.23%
75.20%
Portfolio SD =
40.29%
86.72%
Portfolio Weights
GE
0.00%
-161.16%
DOW
0.00%
-32.51%
BAXTER
0.00%
48.77%
CAT
0.00%
91.02%
P&G
0.00%
-57.55%
AAPL
100.00%
211.44%
Long Constraint
Unconstrained
Sharpe Ratio =
232.49%
293.41%
Portfolio Variance =
6.08%
13.38%
Portfolio SD =
24.66%
36.58%
Portfolio Weights
GE
0.00%
-18.38%
DOW
0.00%
-41.73%
BAXTER
0.00%
-43.77%
CAT
43.63%
100.00%
P&G
0.00%
3.88%
AAPL
56.37%
100.00%
Long Constraint
Unconstrained
Investor Utility Function to Maximize
0.329779696
0.551279771
86.16%
52.77%
Portfolio Variance =
16.23%
75.26%
Portfolio SD =
40.29%
86.75%
Sharpe Ratio =
86.79%
114.44%
Portfolio Weights
GE
0.00%
-161.24%
DOW
0.00%
-32.53%
BAXTER
0.00%
48.76%
CAT
0.00%
91.06%
P&G
0.00%
-57.58%
AAPL
100.00%
211.53%
Long Constraint
Unconstrained
Portfolio Variance =
13.05%
48.46%
Portfolio SD =
36.13%
69.61%
Sharpe Ratio =
81.29%
156.62%
Portfolio Weights
GE
0.00%
100.00%
DOW
98.84%
100.00%
BAXTER
0.00%
-100.00%
CAT
1.16%
100.00%
P&G
0.00%
-64.13%
AAPL
0.00%
-35.87%
24.66%