DTU406 - Application Portfolio Optimization
DTU406 - Application Portfolio Optimization
DTU406 - Application Portfolio Optimization
T(TRANSPOSE(F3:I62-TRANSPOSE(L3:L6)),F3:I62-TRANSPOSE(L3:L6))/
(F3:F62)
Variance of P1 0.003427
=MMULT(TRANSPOSE(O3:O6),MMULT(S3:V6,O3:O6)
)
Variance of P2 0.002993
=MMULT(TRANSPOSE(P3:P6),MMULT(S3:V6,P3:P6)
)
=MMULT(TRANSPOSE(O3:O6),MMULT(S3:V6,P3:P6)
)
Adjusted close price Simple return
Date IBM GE DIS KO IBM GE DIS KO
2/1/2007 98.58 35.71 33.92 47.92 -0.27% 8.74% -3.55% 0.08%
1/3/2007 98.85 32.84 35.17 47.88 2.05% 6.90% 2.63% -0.77%
12/1/2006 96.86 30.72 34.27 48.25 5.70% 5.10% 4.64% 3.03%
11/1/2006 91.64 29.23 32.75 46.83 -0.12% -15.69% 5.04% 0.90%
10/2/2006 91.75 34.67 31.18 46.41 12.67% 4.97% 1.80% 4.57%
9/1/2006 81.43 33.03 30.63 44.38 1.19% 14.01% 4.25% 0.41%
8/1/2006 80.47 28.97 29.38 44.2 5.02% -8.76% -0.14% 0.68%
7/3/2006 76.62 31.75 29.42 43.9 0.76% 8.21% -1.04% 3.44%
6/1/2006 76.04 29.34 29.73 42.44 -3.86% 10.59% -1.65% -1.58%
5/1/2006 79.09 26.53 30.23 43.12 -2.61% 18.86% 9.09% 4.91%
4/3/2006 81.21 22.32 27.71 41.1 -0.16% 7.57% 0.25% 0.22%
3/1/2006 81.34 20.75 27.64 41.01 2.78% 4.75% -0.36% 0.49%
2/1/2006 79.14 19.81 27.74 40.81 -1.05% -14.61% 10.61% 1.44%
1/3/2006 79.98 23.2 25.08 40.23 -1.10% 23.87% 5.60% 2.65%
12/1/2005 80.87 18.73 23.75 39.19 -7.53% -11.32% -2.86% -5.59%
11/1/2005 87.46 21.12 24.45 41.51 8.84% -18.58% 2.30% 0.46%
10/3/2005 80.36 25.94 23.9 41.32 2.07% -10.49% 1.01% -0.96%
9/1/2005 78.73 28.98 23.66 41.72 -0.49% -10.47% -4.21% -1.21%
8/1/2005 79.12 32.37 24.7 42.23 -3.17% -5.79% -1.75% 0.55%
7/1/2005 81.71 34.36 25.14 42 12.47% 8.29% 1.82% 4.82%
6/1/2005 72.65 31.73 24.69 40.07 -1.78% 7.82% -8.25% -5.87%
5/2/2005 73.97 29.43 26.91 42.57 -0.82% 20.12% 3.94% 2.75%
4/1/2005 74.58 24.5 25.89 41.43 -16.42% -9.23% -8.09% 4.25%
3/1/2005 89.23 26.99 28.17 39.74 -1.29% -17.56% 2.81% -2.00%
2/1/2005 90.4 32.74 27.4 40.55 -0.71% -1.83% -2.39% 3.15%
1/3/2005 91.05 33.35 28.07 39.31 -5.24% -8.10% 2.97% -0.38%
12/1/2004 96.08 36.29 27.26 39.46 4.61% 3.80% 4.32% 5.93%
11/1/2004 91.85 34.96 26.13 37.25 5.21% 1.39% 6.61% -2.69%
10/1/2004 87.3 34.48 24.51 38.28 4.68% -9.24% 11.82% 1.51%
9/1/2004 83.4 37.99 21.92 37.71 1.24% 2.84% 0.46% -9.89%
8/2/2004 82.38 36.94 21.82 41.85 -2.53% -3.10% -2.76% 1.92%
7/1/2004 84.52 38.12 22.44 41.06 -1.23% -7.41% -9.41% -13.10%
6/1/2004 85.57 41.17 24.77 47.25 -0.49% 2.64% 8.59% -1.23%
5/3/2004 85.99 40.11 22.81 47.84 0.68% -3.21% 1.92% 1.55%
4/1/2004 85.41 41.44 22.38 47.11 -4.00% 0.36% -7.86% 0.53%
3/1/2004 88.97 41.29 24.29 46.86 -4.82% -1.81% -5.78% 1.19%
2/2/2004 93.48 42.05 25.78 46.31 -2.59% -2.14% 10.50% 1.47%
1/2/2004 95.97 42.97 23.33 45.64 7.06% -6.97% 2.91% -2.98%
12/1/2003 89.64 46.19 22.67 47.04 2.36% 24.84% 1.98% 9.14%
11/3/2003 87.57 37 22.23 43.1 1.38% 1.43% 1.97% 0.68%
10/1/2003 86.38 36.48 21.8 42.81 1.30% 4.26% 12.26% 8.02%
9/2/2003 85.27 34.99 19.42 39.63 7.70% -0.40% -1.62% -0.80%
8/1/2003 79.17 35.13 19.74 39.95 1.14% 11.28% -6.45% -3.22%
7/1/2003 78.28 31.57 21.1 41.28 -1.52% 3.95% 10.99% -3.12%
6/2/2003 79.49 30.37 19.01 42.61 -6.28% 1.91% 0.48% 2.33%
5/1/2003 84.82 29.8 18.92 41.64 3.88% -0.63% 5.29% 12.81%
4/1/2003 81.65 29.99 17.97 36.91 8.25% 7.22% 9.64% -0.22%
3/3/2003 75.43 27.97 16.39 36.99 0.61% -0.43% -0.18% 1.26%
2/3/2003 74.97 28.09 16.42 36.53 -0.12% -5.74% -2.55% -0.60%
1/2/2003 75.06 29.8 16.85 36.75 0.90% -1.46% 7.32% -7.71%
12/2/2002 74.39 30.24 15.7 39.82 -10.84% -7.15% -16.71% -3.96%
11/1/2002 83.43 32.57 18.85 41.46 10.31% 21.17% 18.70% -1.36%
10/1/2002 75.63 26.88 15.88 42.03 35.37% -14.53% 10.28% -3.09%
9/3/2002 55.87 31.45 14.4 43.37 -22.64% -18.71% -3.42% -5.59%
8/1/2002 72.22 38.69 14.91 45.94 7.31% 4.01% -11.57% 2.13%
7/1/2002 67.3 37.2 16.86 44.98 -2.22% -12.92% -6.18% -10.82%
6/3/2002 68.83 42.72 17.97 50.44 -10.51% -13.99% -17.53% 1.16%
5/1/2002 76.91 49.67 21.79 49.86 -3.75% -2.40% -1.13% 0.08%
4/1/2002 79.91 50.89 22.04 49.82 -19.47% 6.11% 0.41% 6.23%
3/1/2002 99.23 47.96 21.95 46.9 5.99% 14.11% 0.37% 10.74%
2/13/2002 93.62 42.03 21.87 42.35
Variance-covariance matrix
Mean/ E R P1 P2 IBM GE
IBM 0.40% 23.8% -36.2% IBM 0.006353 0.001107
GE 0.27% 2.2% -18.7% GM 0.001107 0.011021
DIS 0.97% -5.0% 164.3% DIS 0.002328 0.001703
KO 0.31% 79.0% -9.4% KO 0.000278 0.00175
1 1
Return of P1 0.30%
=SUM(D3:D6
Return of P2 1.37% )
Variance of P1
=MMULT(TRANSPOSE(O3:O6),L3:L6 Variance of P2
) Covariance of P1 and P2
Superportfolio of P1 and P2
Weight of P1 0
=M13*L8+(1-M13)*L9
Expected return 1.37%
=M13^2*T9+(1-M13)^2*T10+2*M13*(1-M13)*T11
Variance 0.01
=SQRT(M15)
Standard deviation 10.00%
Standard Expected
Weight Deviation Return
=M16 =M14
10.00% 1.37%
-0.4 13.94% 1.79%
-0.2 11.95% 1.58%
0.0 10.00% 1.37%
0.2 8.12% 1.15%
0.4 6.39% 0.94%
0.6 4.93% 0.73%
0.8 4.08% 0.51%
1 4.20% 0.30%
1.2 5.24% 0.09%
Minimum variance fronti
1.4 6.79% -0.13%
Expected return
2.00%
1.50%
1.00%
0.50%
0.00%
3.60% 5.60% 7.60% 9.60%
-0.50%
Standard deviation
0.00%
3.60% 5.60% 7.60% 9.60%
-0.50%
Standard deviation
DIS KO
0.002328 0.000278
0.001703 0.00175
0.004656 0.000703
0.000703 0.002127
0.001766 4.20%
0.01 10.00%
0.000408
Standard deviation
7.60% 9.60% 11.60% 13.60% 15.60%
Standard deviation
Adjusted close price Simple return
Date IBM GE DIS KO IBM GE DIS KO
2/1/2007 98.58 35.71 33.92 47.92 -0.27% 8.74% -3.55% 0.08%
1/3/2007 98.85 32.84 35.17 47.88 2.05% 6.90% 2.63% -0.77%
12/1/2006 96.86 30.72 34.27 48.25 5.70% 5.10% 4.64% 3.03%
11/1/2006 91.64 29.23 32.75 46.83 -0.12% -15.69% 5.04% 0.90%
10/2/2006 91.75 34.67 31.18 46.41 12.67% 4.97% 1.80% 4.57%
9/1/2006 81.43 33.03 30.63 44.38 1.19% 14.01% 4.25% 0.41%
8/1/2006 80.47 28.97 29.38 44.2 5.02% -8.76% -0.14% 0.68%
7/3/2006 76.62 31.75 29.42 43.9 0.76% 8.21% -1.04% 3.44%
6/1/2006 76.04 29.34 29.73 42.44 -3.86% 10.59% -1.65% -1.58%
5/1/2006 79.09 26.53 30.23 43.12 -2.61% 18.86% 9.09% 4.91%
4/3/2006 81.21 22.32 27.71 41.1 -0.16% 7.57% 0.25% 0.22%
3/1/2006 81.34 20.75 27.64 41.01 2.78% 4.75% -0.36% 0.49%
2/1/2006 79.14 19.81 27.74 40.81 -1.05% -14.61% 10.61% 1.44%
1/3/2006 79.98 23.2 25.08 40.23 -1.10% 23.87% 5.60% 2.65%
12/1/2005 80.87 18.73 23.75 39.19 -7.53% -11.32% -2.86% -5.59%
11/1/2005 87.46 21.12 24.45 41.51 8.84% -18.58% 2.30% 0.46%
10/3/2005 80.36 25.94 23.9 41.32 2.07% -10.49% 1.01% -0.96%
9/1/2005 78.73 28.98 23.66 41.72 -0.49% -10.47% -4.21% -1.21%
8/1/2005 79.12 32.37 24.7 42.23 -3.17% -5.79% -1.75% 0.55%
7/1/2005 81.71 34.36 25.14 42 12.47% 8.29% 1.82% 4.82%
6/1/2005 72.65 31.73 24.69 40.07 -1.78% 7.82% -8.25% -5.87%
5/2/2005 73.97 29.43 26.91 42.57 -0.82% 20.12% 3.94% 2.75%
4/1/2005 74.58 24.5 25.89 41.43 -16.42% -9.23% -8.09% 4.25%
3/1/2005 89.23 26.99 28.17 39.74 -1.29% -17.56% 2.81% -2.00%
2/1/2005 90.4 32.74 27.4 40.55 -0.71% -1.83% -2.39% 3.15%
1/3/2005 91.05 33.35 28.07 39.31 -5.24% -8.10% 2.97% -0.38%
12/1/2004 96.08 36.29 27.26 39.46 4.61% 3.80% 4.32% 5.93%
11/1/2004 91.85 34.96 26.13 37.25 5.21% 1.39% 6.61% -2.69%
10/1/2004 87.3 34.48 24.51 38.28 4.68% -9.24% 11.82% 1.51%
9/1/2004 83.4 37.99 21.92 37.71 1.24% 2.84% 0.46% -9.89%
8/2/2004 82.38 36.94 21.82 41.85 -2.53% -3.10% -2.76% 1.92%
7/1/2004 84.52 38.12 22.44 41.06 -1.23% -7.41% -9.41% -13.10%
6/1/2004 85.57 41.17 24.77 47.25 -0.49% 2.64% 8.59% -1.23%
5/3/2004 85.99 40.11 22.81 47.84 0.68% -3.21% 1.92% 1.55%
4/1/2004 85.41 41.44 22.38 47.11 -4.00% 0.36% -7.86% 0.53%
3/1/2004 88.97 41.29 24.29 46.86 -4.82% -1.81% -5.78% 1.19%
2/2/2004 93.48 42.05 25.78 46.31 -2.59% -2.14% 10.50% 1.47%
1/2/2004 95.97 42.97 23.33 45.64 7.06% -6.97% 2.91% -2.98%
12/1/2003 89.64 46.19 22.67 47.04 2.36% 24.84% 1.98% 9.14%
11/3/2003 87.57 37 22.23 43.1 1.38% 1.43% 1.97% 0.68%
10/1/2003 86.38 36.48 21.8 42.81 1.30% 4.26% 12.26% 8.02%
9/2/2003 85.27 34.99 19.42 39.63 7.70% -0.40% -1.62% -0.80%
8/1/2003 79.17 35.13 19.74 39.95 1.14% 11.28% -6.45% -3.22%
7/1/2003 78.28 31.57 21.1 41.28 -1.52% 3.95% 10.99% -3.12%
6/2/2003 79.49 30.37 19.01 42.61 -6.28% 1.91% 0.48% 2.33%
5/1/2003 84.82 29.8 18.92 41.64 3.88% -0.63% 5.29% 12.81%
4/1/2003 81.65 29.99 17.97 36.91 8.25% 7.22% 9.64% -0.22%
3/3/2003 75.43 27.97 16.39 36.99 0.61% -0.43% -0.18% 1.26%
2/3/2003 74.97 28.09 16.42 36.53 -0.12% -5.74% -2.55% -0.60%
1/2/2003 75.06 29.8 16.85 36.75 0.90% -1.46% 7.32% -7.71%
12/2/2002 74.39 30.24 15.7 39.82 -10.84% -7.15% -16.71% -3.96%
11/1/2002 83.43 32.57 18.85 41.46 10.31% 21.17% 18.70% -1.36%
10/1/2002 75.63 26.88 15.88 42.03 35.37% -14.53% 10.28% -3.09%
9/3/2002 55.87 31.45 14.4 43.37 -22.64% -18.71% -3.42% -5.59%
8/1/2002 72.22 38.69 14.91 45.94 7.31% 4.01% -11.57% 2.13%
7/1/2002 67.3 37.2 16.86 44.98 -2.22% -12.92% -6.18% -10.82%
6/3/2002 68.83 42.72 17.97 50.44 -10.51% -13.99% -17.53% 1.16%
5/1/2002 76.91 49.67 21.79 49.86 -3.75% -2.40% -1.13% 0.08%
4/1/2002 79.91 50.89 22.04 49.82 -19.47% 6.11% 0.41% 6.23%
3/1/2002 99.23 47.96 21.95 46.9 5.99% 14.11% 0.37% 10.74%
2/13/2002 93.62 42.03 21.87 42.35
Variance-covariance matrix
Mean P IBM GM
IBM 0.40% -0.003644 IBM 0.006353 0.001107
GE 0.27% -0.020232 GM 0.001107 0.011021
DIS 0.97% 0.203344 DIS 0.002328 0.001703
=SUM(N3:N6
KO 0.31% 0.130956 ) KO 0.000278 0.00175
0.310425
E® of P1 0.23%
Variance of P1
Standard Expected
Weight Deviation Return
=C16 =C14
1.56% 0.23%
-0.4 2.19% 0.28%
-0.2 1.88% 0.26%
0.0 1.56% 0.23%
0.2 1.25% 0.20%
0.4 0.94% 0.18%
0.6 0.63% 0.15%
0.8 0.31% 0.13%
1 0.00% 0.10%
1.2 0.31% 0.07%
1.4 0.63% 0.05%
DIS KO
0.002328 0.000278
0.001703 0.00175
0.004656 0.000703
0.000703 0.002127
0.000244 1.6%
1200.00%
1000.00%
800.00%
600.00%
400.00%
200.00%
0.00%
3.60% 4.10% 4.60% 5.10%
Standard5.60%
deviation 6.10% 6.60% 7.10% 7.60%
60% 7.10% 7.60%