Professional Documents
Culture Documents
statistical significance o
Month Stock Price (USD) 5 Factor Returns
Apple Exxon
Inc Mobil Rm-Rf SMB HML RMW CMA
201301 65.07 89.97 0.0557 0.0055 0.0095 -0.0166 0.0149
201302 63.06 89.55 0.0129 -0.0037 0.0003 -0.0069 0.0047
201303 63.24 90.11 0.0403 0.0077 -0.0029 0.0008 0.0137
201304 63.25 88.99 0.0155 -0.0229 0.0063 0.0008 0.0049
201305 64.25 90.47 0.028 0.0207 0.026 -0.0164 -0.008
201306 56.65 90.35 -0.012 0.0141 -0.0018 -0.0033 -0.0007
201307 64.65 93.75 0.0565 0.0181 0.0056 -0.0149 0.0058
201308 69.6 87.16 -0.0271 -0.0001 -0.0278 0.0057 -0.0217
201309 68.11 86.04 0.0377 0.0267 -0.0119 -0.0068 -0.0129
201310 74.67 89.62 0.0418 -0.015 0.0114 0.0267 0.0089
201311 79.44 93.48 0.0312 0.0136 0.0024 0.0007 0.0007
201312 80.15 101.2 0.0281 -0.0053 -0.0031 -0.0052 0.0007
201401 71.51 92.16 -0.0332 0.0059 -0.0209 -0.0403 -0.0138
201402 75.18 96.27 0.0465 0.0014 -0.004 -0.0026 -0.0044
201403 76.68 97.68 0.0043 -0.0118 0.0508 0.0217 0.0189
201404 84.3 102.41 -0.0019 -0.0417 0.0114 0.0351 0.0105
201405 90.43 100.53 0.0206 -0.019 -0.0027 0.0013 -0.0106
201406 92.93 100.68 0.0261 0.0309 -0.0074 -0.0201 -0.0194
201407 95.6 98.94 -0.0204 -0.0426 0.0001 0.0095 0.0048
201408 102.5 99.46 0.0424 0.0028 -0.0058 -0.0064 -0.0068
201409 100.75 94.05 -0.0197 -0.0379 -0.0123 0.0118 -0.0053
201410 108 96.71 0.0252 0.0378 -0.0168 -0.0047 -0.0014
201411 118.93 90.54 0.0255 -0.0229 -0.0299 0.0128 0.002
201412 110.38 92.45 -0.0006 0.0287 0.0206 -0.0117 0.0088
201501 117.16 87.42 -0.0311 -0.0087 -0.0347 0.0171 -0.0171
201502 128.46 88.54 0.0613 0.0021 -0.0179 -0.0111 -0.0171
201503 124.43 85 -0.0112 0.0305 -0.0046 -0.0001 -0.0052
201504 125.15 87.37 0.0059 -0.0304 0.0186 -0.0006 -0.005
201505 130.28 85.2 0.0136 0.0076 -0.0137 -0.017 -0.0075
201506 125.42 83.2 -0.0153 0.0285 -0.0079 0.0058 -0.0149
201507 121.3 79.21 0.0154 -0.0457 -0.0412 0.0002 -0.0257
201508 112.76 75.24 -0.0604 0.0041 0.0268 0.0066 0.0122
201509 110.3 74.35 -0.0308 -0.0279 0.0052 0.0183 -0.0052
201510 119.5 82.74 0.0775 -0.0215 -0.0008 0.0081 0.0046
201511 118.3 81.66 0.0056 0.0333 -0.0052 -0.0258 -0.0113
201512 105.26 77.95 -0.0217 -0.0298 -0.0258 0.0032 0.0008
201601 97.34 77.85 -0.0577 -0.0347 0.021 0.0269 0.03
201602 96.69 80.15 -0.0007 0.0095 -0.0048 0.0323 0.021
201603 108.99 83.59 0.0696 0.011 0.0112 0.0093 -0.0006
201604 93.74 88.4 0.0092 0.0117 0.0326 -0.0287 0.0196
201605 99.86 89.02 0.0178 -0.0069 -0.0181 -0.0102 -0.026
201606 95.6 93.74 -0.0005 0.0048 -0.0149 0.0119 0.0192
201607 104.21 88.95 0.0395 0.0269 -0.0113 0.0146 -0.0127
201608 106.1 87.14 0.005 0.0167 0.0331 -0.0154 -0.0036
201609 113.05 87.28 0.0025 0.0171 -0.0148 -0.024 -0.0003
201610 113.54 83.32 -0.0202 -0.04 0.0418 0.0114 0.002
201611 110.52 87.3 0.0486 0.0693 0.0827 0.0008 0.0367
201612 115.82 90.26 0.0182 0.0037 0.036 0.0106 -0.0026
201701 121.35 83.89 0.0194 -0.0131 -0.0278 -0.0016 -0.0099
201702 136.99 81.32 0.0357 -0.0212 -0.018 0.0084 -0.0175
201703 143.66 82.01 0.0017 0.0073 -0.0318 0.0053 -0.01
201704 143.65 81.65 0.0109 0.0048 -0.019 0.0183 -0.0155
201705 152.76 80.5 0.0106 -0.031 -0.0378 0.0116 -0.0184
201706 144.02 80.73 0.0078 0.0249 0.0132 -0.0204 -0.0006
201707 148.73 80.04 0.0187 -0.0157 -0.0028 -0.0069 -0.0015
201708 164 76.33 0.0016 -0.0188 -0.0224 0.003 -0.0244
201709 154.12 81.98 0.0251 0.0484 0.0303 -0.0126 0.0164
201710 169.04 83.35 0.0225 -0.0195 -0.0006 0.0093 -0.0334
201711 171.85 83.29 0.0312 -0.0039 -0.0005 0.0323 0
201712 169.23 83.64 0.0106 -0.0101 0.0014 0.0073 0.0165
201801 167.43 87.3 0.0558 -0.0316 -0.0137 -0.0058 -0.0089
201802 178.12 75.74 -0.0365 0.0036 -0.0119 0.0053 -0.0225
201803 167.78 74.61 -0.0235 0.0352 -0.0011 -0.0045 0
201804 165.26 77.75 0.0029 0.0098 0.0053 -0.0217 0.012
201805 186.87 81.24 0.0265 0.0474 -0.0316 -0.0182 -0.0139
201806 185.11 82.73 0.0048 0.0083 -0.0239 0.0073 0.0033
201807 190.29 81.51 0.0319 -0.019 0.0039 0.0169 0.0054
201808 227.63 80.17 0.0344 0.0074 -0.0412 -0.0034 -0.026
ANOVA
df SS MS F Significance F
Regressio 3 0.11250655 0.037502182 12.2116927 2.1369E-06
Residual 63 0.19347338 0.003071006
Total 66 0.30597993
Coefficients
Standard Error t Stat P-value
Intercept 0.00396 0.00739301 0.535585954 0.59413052 <---3 factor alpha
Mkt-RF 1.268843 0.24492562 1.097649983 0.27653499 <---modified null hyp: mkt be
SMB -0.39048 0.28695192 -1.3607765 0.17843267 ** denotes p val <0.01,
HML -0.85519 0.30516992 -2.80233489 0.00673275 ** * denotes p val <0.05)
Interpretation: The stock of Apple Inc has a statistically significant negative factor exposure based on
Fama-French 3 factor model only in case of value (HML) factor.
ANOVA
df SS MS F Significance F
Regressio 5 0.16069117 0.032138234 13.4933514 7.2843E-09
Residual 61 0.14528876 0.002381783
Total 66 0.30597993
Coefficients
Standard Error t Stat P-value
Intercept -0.0014 0.00661891 -0.21114384 0.83347884
Mkt-RF 1.236914 0.2163396 1.095102238 0.27777696
SMB 0.093422 0.29007373 0.322063629 0.74850564
HML -0.1479 0.35159396 -0.4206536 0.67548635
RMW 1.595652 0.46663848 3.419461797 0.00112394 **
CMA -2.11562 0.57957545 -3.6502973 0.00054502 **
Interpretation: The stock of Apple Inc has a statistically significant positive factor exposure based on
Fama-French 5 factor model in case of profitability (RMW) factor, and statistically significant negative
factor exposure in case of investment (CMA) factor.
t the statistical significance of their factor exposures
RF
Regression Statistics
Multiple R 0.654644
R Square 0.428559
Adjusted R S 0.401348
Standard Erro 0.033173
Observations 67
ANOVA
df SS MS F Significance F
Regression 3 0.051994 0.017331 15.74922 9.46189E-08
Residual 63 0.069329 0.0011
Total 66 0.121323
Coefficients
Standard Error t Stat P-value
<---3 factor alpha Intercept -0.009297 0.004426 -2.1007 0.039675
<---modified null hyp: mkt beta=1 Mkt-RF 0.807796 0.146616 -1.310941 0.194636
** denotes p val <0.01, SMB 0.072362 0.171773 0.421263 0.674997
* denotes p val <0.05) HML 0.661978 0.182679 3.623729 0.000581 **
tive factor exposure based on Interpretation: The stock of Exxon Mobil has a statistically significant positive factor exp
Fama-French 3 factor model only in case of value (HML) factor.
Regression Statistics
Multiple R 0.730491
R Square 0.533617
Adjusted R S 0.495389
Standard Erro 0.030456
Observations 67
ANOVA
df SS MS F Significance F
Regression 5 0.06474 0.012948 13.95874 4.30914E-09
Residual 61 0.056583 0.000928
Total 66 0.121323
Coefficients
Standard Error t Stat P-value
Intercept -0.00724 0.004131 -1.75288 0.084647
Mkt-RF 0.843705 0.135009 -1.157662 0.251515
SMB 0.040505 0.181024 0.223756 0.823695
HML 0.138088 0.219416 0.629346 0.531473
RMW -0.11228 0.291211 -0.385564 0.701161
CMA 1.328442 0.36169 3.672874 0.000507 **
ve factor exposure based on Interpretation: The stock of Exxon Mobil has a statistically significant positive factor exp
atistically significant negative Fama-French 3 factor model only in case of investment (CMA) factor.
ary/f-f_5_factors_2x3.html
gnificance F
gnificance F
y significant positive factor exposure based on
MA) factor.
You are provided with historical excess returns (Ri-Rf), the four factor beta and variance-covariance matrix of 30 stocks.
1. Set up portfolio optimisation objectives in terms of portfolio variance and tracking error and constraints in terms of we
stock-wise) and factor tilt.
2. Form a buy-only portfolio which minimises the tracking error vis-à-vis the market index with factor tilt of -0.2 on mark
value/growth (HML) factor, but is neutral on size and momentum factors. Additional constraints include max weight for a
weight for a stock of 0.15.
3. Construct a 130/30 extension strategy with objective to minimise the portfolio variance.
A1 Optimisation
Weights
Stock Sector Weights
Energy Materials Industrials
ADANIPORTS Industrials -0.028 0.000 0.000 -0.028
ASIANPAINT Materials 0.026 0.000 0.026 0.000
AXISBANK Financials -0.036 0.000 0.000 0.000
BAJAJAUTO Con Disc 0.050 0.000 0.000 0.000
BHARTIARTL Telecom -0.017 0.000 0.000 0.000
CIPLA Health Care 0.046 0.000 0.000 0.000
COALINDIA Energy 0.033 0.033 0.000 0.000
DRREDDY Health Care 0.047 0.000 0.000 0.000
HDFCBANK Financials 0.153 0.000 0.000 0.000
HEROMOTOCO Cons Disc 0.030 0.000 0.000 0.000
HINDUNILVR Cons Staples 0.093 0.000 0.000 0.000
HDFC Financials 0.099 0.000 0.000 0.000
ICICIBANK Financials -0.025 0.000 0.000 0.000
INFY Info Tech -0.004 0.000 0.000 0.000
ITC Cons Staples 0.187 0.000 0.000 0.000
KOTAKBANK Financials 0.099 0.000 0.000 0.000
LT Industrials -0.025 0.000 0.000 -0.025
LUPIN Health Care 0.030 0.000 0.000 0.000
MAHM Cons Disc 0.057 0.000 0.000 0.000
MARUTI Cons Disc -0.033 0.000 0.000 0.000
NTPC Utilities 0.019 0.000 0.000 0.000
ONGC Energy -0.006 -0.006 0.000 0.000
POWERGRID Utilities 0.124 0.000 0.000 0.000
RELIANCE Energy 0.068 0.068 0.000 0.000
SBIN Financials -0.040 0.000 0.000 0.000
SUNPHARMA Health Care 0.028 0.000 0.000 0.000
TCS Info Tech 0.086 0.000 0.000 0.000
TATAMOTORS Cons Disc -0.042 0.000 0.000 0.000
TATASTEEL Materials -0.045 0.000 -0.045 0.000
WIPRO Info Tech 0.025 0.000 0.000 0.000
Total weight 1.000 0.094 -0.019 -0.053
Total positive weight
Total negative weight
Max stock wt
Max sector wt
Weights Transposed
Variance
Optimised Portfolios
Stock Sector Weights
Value & low be 130/30 min var
ADANIPORTS Industrials
ASIANPAINT Materials
AXISBANK Financials
BAJAJAUTO Con Disc
BHARTIARTL Telecom
CIPLA Health Care
COALINDIA Energy
DRREDDY Health Care
HDFCBANK Financials
HEROMOTOCO Cons Disc
HINDUNILVR Cons Staples
HDFC Financials
ICICIBANK Financials
INFY Info Tech
ITC Cons Staples
KOTAKBANK Financials
LT Industrials
LUPIN Health Care
MAHM Cons Disc
MARUTI Cons Disc
NTPC Utilities
ONGC Energy
POWERGRID Utilities
RELIANCE Energy
SBIN Financials
SUNPHARMA Health Care
TCS Info Tech
TATAMOTORS Cons Disc
TATASTEEL Materials
WIPRO Info Tech
ovariance matrix of 30 stocks.
r and constraints in terms of weights (total, sector-wise,
Sector Weights
Cons Disc Cons Staples Health Care Financials Info Tech Telecom Utilities
0.000 0.000 0.000 0.000 0.000 0.000 0.000
0.000 0.000 0.000 0.000 0.000 0.000 0.000
0.000 0.000 0.000 -0.036 0.000 0.000 0.000
0.000 0.000 0.000 0.000 0.000 0.000 0.000
0.000 0.000 0.000 0.000 0.000 -0.017 0.000
0.000 0.000 0.046 0.000 0.000 0.000 0.000
0.000 0.000 0.000 0.000 0.000 0.000 0.000
0.000 0.000 0.047 0.000 0.000 0.000 0.000
0.000 0.000 0.000 0.153 0.000 0.000 0.000
0.030 0.000 0.000 0.000 0.000 0.000 0.000
0.000 0.093 0.000 0.000 0.000 0.000 0.000
0.000 0.000 0.000 0.099 0.000 0.000 0.000
0.000 0.000 0.000 -0.025 0.000 0.000 0.000
0.000 0.000 0.000 0.000 -0.004 0.000 0.000
0.000 0.187 0.000 0.000 0.000 0.000 0.000
0.000 0.000 0.000 0.099 0.000 0.000 0.000
0.000 0.000 0.000 0.000 0.000 0.000 0.000
0.000 0.000 0.030 0.000 0.000 0.000 0.000
0.057 0.000 0.000 0.000 0.000 0.000 0.000
-0.033 0.000 0.000 0.000 0.000 0.000 0.000
0.000 0.000 0.000 0.000 0.000 0.000 0.019
0.000 0.000 0.000 0.000 0.000 0.000 0.000
0.000 0.000 0.000 0.000 0.000 0.000 0.124
0.000 0.000 0.000 0.000 0.000 0.000 0.000
0.000 0.000 0.000 -0.040 0.000 0.000 0.000
0.000 0.000 0.028 0.000 0.000 0.000 0.000
0.000 0.000 0.000 0.000 0.086 0.000 0.000
-0.042 0.000 0.000 0.000 0.000 0.000 0.000
0.000 0.000 0.000 0.000 0.000 0.000 0.000
0.000 0.000 0.000 0.000 0.025 0.000 0.000
0.012 0.280 0.152 0.250 0.107 -0.017 0.142
CIPLA COALINDIA DRREDDY HDFCBANK HEROMOTOCO HINDUNILVR HDFC
ariance portfolio 1. Set up portfolio optimisation objectives in terms of portfolio variance and tracking error and
Link for solver stock-wise) and factor tilt.
2. Form a buy-only portfolio which minimises the tracking error vis-à-vis the index with factor ti
value/growth (HML) factor, but is neutral on size and momentum factors. Additional constraints
weight for a stock of 0.15.
3. Construct a 130/30 extension strategy with objective to minimise the portfolio variance.
ICICIBANK INFY ITC KOTAKBANK LT LUPIN MAHM
-0.013 -0.147 0.076 0.068 -0.068 0.035 0.012
-0.024 0.002 -0.069 -0.043 -0.051 -0.030 -0.089
0.140 0.019 0.139 0.047 0.185 -0.007 0.078
0.061 -0.117 -0.012 -0.102 -0.027 0.115 0.001
-0.060 0.059 0.032 0.076 -0.011 -0.020 0.086
0.156 0.061 0.010 0.111 0.184 -0.001 0.124
-0.013 -0.062 0.034 -0.074 0.011 -0.056 0.016
0.040 0.025 0.048 0.101 0.020 0.036 0.062
0.029 -0.055 -0.045 -0.035 -0.043 0.032 -0.022
0.040 0.196 0.065 0.037 -0.046 -0.022 -0.050
-0.133 0.036 -0.046 -0.036 -0.121 -0.038 -0.028
-0.001 -0.011 0.042 -0.016 -0.007 0.069 -0.017
0.107 -0.233 0.058 0.077 0.102 0.109 0.066
0.070 0.096 0.043 0.103 -0.080 0.048 0.039
-0.079 0.030 -0.051 -0.084 -0.004 0.048 -0.004
-0.157 0.183 0.046 -0.104 -0.103 0.116 -0.050
-0.124 0.036 -0.107 0.004 -0.142 -0.090 -0.152
0.092 -0.036 0.097 0.020 0.084 0.060 0.052
0.259 0.103 -0.025 0.101 0.226 0.031 0.066
-0.054 0.007 -0.049 0.001 0.066 -0.042 0.058
0.022 0.032 -0.003 -0.043 0.018 0.055 -0.009
-0.108 0.054 0.003 -0.107 -0.087 -0.037 -0.064
0.049 0.026 0.001 0.033 0.118 0.123 0.087
0.186 -0.149 0.070 0.131 0.141 -0.065 0.000
-0.007 -0.037 -0.041 0.026 0.012 0.052 0.087
0.132 -0.054 -0.005 0.073 0.188 -0.061 0.141
0.072 0.097 -0.038 0.013 0.092 0.113 -0.074
0.031 0.029 0.089 0.071 -0.123 0.123 0.054
0.050 0.062 -0.009 0.080 0.019 0.082 0.162
-0.085 0.035 0.037 -0.029 -0.053 0.077 -0.039
0.127 0.092 -0.048 0.098 0.130 -0.024 -0.049
0.074 0.070 0.016 0.069 -0.015 0.076 0.010
-0.001 -0.103 0.008 0.044 -0.095 -0.043 -0.074
0.016 0.080 -0.006 0.039 0.129 0.103 0.016
-0.050 0.065 -0.026 0.052 0.033 0.096 0.016
-0.094 -0.041 -0.106 -0.067 -0.034 0.142 -0.088
0.045 -0.130 -0.016 0.010 -0.056 -0.123 -0.041
-0.048 0.035 0.008 0.044 0.008 0.027 0.094
-0.019 0.028 -0.013 -0.014 0.070 0.023 0.010
-0.025 0.087 0.029 -0.004 -0.003 -0.104 0.066
-0.087 0.010 -0.009 -0.070 -0.100 0.132 -0.108
-0.034 0.054 0.005 -0.009 -0.083 0.048 0.025
0.019 -0.018 0.012 0.056 -0.043 -0.058 -0.068
-0.016 -0.047 0.020 0.000 -0.032 -0.075 0.151
-0.052 0.009 -0.052 0.032 -0.078 0.020 -0.076
-0.125 0.050 -0.030 -0.055 -0.141 -0.074 -0.036
-0.179 -0.074 -0.078 -0.081 -0.025 0.020 -0.009
0.240 0.119 0.104 0.075 0.122 -0.160 -0.019
-0.005 -0.011 -0.015 0.046 0.026 0.082 0.096
0.031 0.026 0.107 0.038 0.170 -0.088 -0.011
-0.004 -0.058 0.041 0.016 0.009 0.038 0.073
0.089 -0.088 0.024 -0.006 0.036 0.130 0.030
-0.025 -0.040 0.024 0.053 -0.016 -0.154 -0.025
-0.026 -0.004 -0.076 -0.040 -0.059 -0.002 -0.027
0.094 -0.034 -0.001 0.044 0.028 -0.003 -0.072
-0.049 -0.027 -0.045 -0.079 -0.070 0.006 -0.100
-0.042 0.031 0.029 -0.054 -0.029 -0.017 -0.006
0.049 -0.086 0.066 0.069 0.066 -0.016 0.041
0.023 0.085 0.011 0.032 0.013 -0.002 0.050
-0.003 0.003 0.065 0.084 0.068 -0.025 -0.022
ICICIBANK INFY ITC KOTAKBANK LT LUPIN MAHM
0.023 0.020 0.013 0.016 0.023 0.019 0.017
0.019 0.017 0.011 0.013 0.019 0.016 0.014
0.025 0.022 0.015 0.017 0.025 0.021 0.019
0.017 0.015 0.010 0.012 0.017 0.014 0.013
0.021 0.019 0.012 0.014 0.021 0.018 0.016
0.018 0.016 0.010 0.012 0.018 0.015 0.013
0.018 0.016 0.011 0.013 0.018 0.015 0.014
0.018 0.015 0.010 0.012 0.017 0.015 0.013
0.014 0.012 0.008 0.009 0.014 0.011 0.011
0.019 0.016 0.011 0.013 0.018 0.015 0.014
0.015 0.014 0.009 0.011 0.015 0.013 0.012
0.015 0.013 0.009 0.010 0.015 0.013 0.012
0.096 0.020 0.013 0.015 0.022 0.019 0.017
0.020 0.075 0.011 0.013 0.020 0.016 0.015
0.013 0.011 0.033 0.009 0.013 0.011 0.010
0.015 0.013 0.009 0.045 0.015 0.013 0.012
0.022 0.020 0.013 0.015 0.095 0.018 0.017
0.019 0.016 0.011 0.013 0.018 0.066 0.014
0.017 0.015 0.010 0.012 0.017 0.014 0.056
0.024 0.021 0.014 0.016 0.024 0.020 0.018
0.019 0.017 0.011 0.013 0.019 0.016 0.015
0.020 0.018 0.012 0.014 0.020 0.017 0.015
0.015 0.013 0.008 0.010 0.014 0.012 0.011
0.017 0.015 0.010 0.011 0.016 0.014 0.013
0.026 0.023 0.015 0.018 0.026 0.022 0.020
0.019 0.016 0.011 0.013 0.019 0.016 0.014
0.016 0.014 0.009 0.011 0.016 0.013 0.012
0.027 0.024 0.016 0.018 0.027 0.022 0.020
0.028 0.025 0.016 0.019 0.028 0.023 0.021
0.019 0.017 0.011 0.013 0.019 0.016 0.014
Real estate
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
ICICIBANK INFY ITC KOTAKBANK LT LUPIN MAHM
ance and tracking error and constraints in terms of weights (total, sector-wise,
-à-vis the index with factor tilt of -0.2 on market factor (Rm-Rf) and +0.2 on
actors. Additional constraints include max weight for a sector of 0.25 and max
Err:504
You are provided with historical excess returns (Ri-Rf), the four factor beta and variance-covariance matrix of 30 stocks.
1. Set up portfolio optimisation objectives in terms of portfolio variance and tracking error and constraints in terms of we
stock-wise) and factor tilt.
2. Form a buy-only portfolio which minimises the tracking error vis-à-vis the market index with factor tilt of -0.2 on mark
value/growth (HML) factor, but is neutral on size and momentum factors. Additional constraints include max weight for a
weight for a stock of 0.15.
3. Construct a 130/30 extension strategy with objective to minimise the portfolio variance.
Optimised Portfolios
Stock Sector Weights
Value & low be 130/30 min var
ADANIPORTS Industrials 0.000 -0.029
ASIANPAINT Materials 0.002 0.025
AXISBANK Financials 0.017 -0.037
BAJAJAUTO Con Disc 0.031 0.049
BHARTIARTL Telecom 0.089 -0.019
CIPLA Health Care 0.070 0.044
COALINDIA Energy 0.000 0.031
DRREDDY Health Care 0.077 0.046
HDFCBANK Financials 0.000 0.151
HEROMOTOCO Cons Disc 0.000 0.029
HINDUNILVR Cons Staples 0.028 0.092
HDFC Financials 0.000 0.097
ICICIBANK Financials 0.058 -0.026
INFY Info Tech 0.000 0.014
ITC Cons Staples 0.003 0.185
KOTAKBANK Financials 0.000 0.098
LT Industrials 0.015 -0.026
LUPIN Health Care 0.000 0.029
MAHM Cons Disc 0.049 0.055
MARUTI Cons Disc 0.000 -0.034
NTPC Utilities 0.077 0.018
ONGC Energy 0.008 0.012
POWERGRID Utilities 0.150 0.122
RELIANCE Energy 0.059 0.066
SBIN Financials 0.089 -0.041
SUNPHARMA Health Care 0.044 0.027
TCS Info Tech 0.000 0.085
TATAMOTORS Cons Disc 0.034 -0.043
TATASTEEL Materials 0.011 -0.045
WIPRO Info Tech 0.088 0.024
ovariance matrix of 30 stocks.
r and constraints in terms of weights (total, sector-wise,
ariance portfolio 1. Set up portfolio optimisation objectives in terms of portfolio variance and tracking error and
Link for solver stock-wise) and factor tilt.
0.013 2. Form a buy-only portfolio which minimises the tracking error vis-à-vis the index with factor ti
value/growth (HML) factor, but is neutral on size and momentum factors. Additional constraints
1.000 weight for a stock of 0.15.
1.300 3. Construct a 130/30 extension strategy with objective to minimise the portfolio variance.
*Solver is not very robust when working with negative weights, esp with multiple constraints
ICICIBANK INFY ITC KOTAKBANK LT LUPIN MAHM
-0.013 -0.147 0.076 0.068 -0.068 0.035 0.012
-0.024 0.002 -0.069 -0.043 -0.051 -0.030 -0.089
0.140 0.019 0.139 0.047 0.185 -0.007 0.078
0.061 -0.117 -0.012 -0.102 -0.027 0.115 0.001
-0.060 0.059 0.032 0.076 -0.011 -0.020 0.086
0.156 0.061 0.010 0.111 0.184 -0.001 0.124
-0.013 -0.062 0.034 -0.074 0.011 -0.056 0.016
0.040 0.025 0.048 0.101 0.020 0.036 0.062
0.029 -0.055 -0.045 -0.035 -0.043 0.032 -0.022
0.040 0.196 0.065 0.037 -0.046 -0.022 -0.050
-0.133 0.036 -0.046 -0.036 -0.121 -0.038 -0.028
-0.001 -0.011 0.042 -0.016 -0.007 0.069 -0.017
0.107 -0.233 0.058 0.077 0.102 0.109 0.066
0.070 0.096 0.043 0.103 -0.080 0.048 0.039
-0.079 0.030 -0.051 -0.084 -0.004 0.048 -0.004
-0.157 0.183 0.046 -0.104 -0.103 0.116 -0.050
-0.124 0.036 -0.107 0.004 -0.142 -0.090 -0.152
0.092 -0.036 0.097 0.020 0.084 0.060 0.052
0.259 0.103 -0.025 0.101 0.226 0.031 0.066
-0.054 0.007 -0.049 0.001 0.066 -0.042 0.058
0.022 0.032 -0.003 -0.043 0.018 0.055 -0.009
-0.108 0.054 0.003 -0.107 -0.087 -0.037 -0.064
0.049 0.026 0.001 0.033 0.118 0.123 0.087
0.186 -0.149 0.070 0.131 0.141 -0.065 0.000
-0.007 -0.037 -0.041 0.026 0.012 0.052 0.087
0.132 -0.054 -0.005 0.073 0.188 -0.061 0.141
0.072 0.097 -0.038 0.013 0.092 0.113 -0.074
0.031 0.029 0.089 0.071 -0.123 0.123 0.054
0.050 0.062 -0.009 0.080 0.019 0.082 0.162
-0.085 0.035 0.037 -0.029 -0.053 0.077 -0.039
0.127 0.092 -0.048 0.098 0.130 -0.024 -0.049
0.074 0.070 0.016 0.069 -0.015 0.076 0.010
-0.001 -0.103 0.008 0.044 -0.095 -0.043 -0.074
0.016 0.080 -0.006 0.039 0.129 0.103 0.016
-0.050 0.065 -0.026 0.052 0.033 0.096 0.016
-0.094 -0.041 -0.106 -0.067 -0.034 0.142 -0.088
0.045 -0.130 -0.016 0.010 -0.056 -0.123 -0.041
-0.048 0.035 0.008 0.044 0.008 0.027 0.094
-0.019 0.028 -0.013 -0.014 0.070 0.023 0.010
-0.025 0.087 0.029 -0.004 -0.003 -0.104 0.066
-0.087 0.010 -0.009 -0.070 -0.100 0.132 -0.108
-0.034 0.054 0.005 -0.009 -0.083 0.048 0.025
0.019 -0.018 0.012 0.056 -0.043 -0.058 -0.068
-0.016 -0.047 0.020 0.000 -0.032 -0.075 0.151
-0.052 0.009 -0.052 0.032 -0.078 0.020 -0.076
-0.125 0.050 -0.030 -0.055 -0.141 -0.074 -0.036
-0.179 -0.074 -0.078 -0.081 -0.025 0.020 -0.009
0.240 0.119 0.104 0.075 0.122 -0.160 -0.019
-0.005 -0.011 -0.015 0.046 0.026 0.082 0.096
0.031 0.026 0.107 0.038 0.170 -0.088 -0.011
-0.004 -0.058 0.041 0.016 0.009 0.038 0.073
0.089 -0.088 0.024 -0.006 0.036 0.130 0.030
-0.025 -0.040 0.024 0.053 -0.016 -0.154 -0.025
-0.026 -0.004 -0.076 -0.040 -0.059 -0.002 -0.027
0.094 -0.034 -0.001 0.044 0.028 -0.003 -0.072
-0.049 -0.027 -0.045 -0.079 -0.070 0.006 -0.100
-0.042 0.031 0.029 -0.054 -0.029 -0.017 -0.006
0.049 -0.086 0.066 0.069 0.066 -0.016 0.041
0.023 0.085 0.011 0.032 0.013 -0.002 0.050
-0.003 0.003 0.065 0.084 0.068 -0.025 -0.022
ICICIBANK INFY ITC KOTAKBANK LT LUPIN MAHM
0.023 0.020 0.013 0.016 0.023 0.019 0.017
0.019 0.017 0.011 0.013 0.019 0.016 0.014
0.025 0.022 0.015 0.017 0.025 0.021 0.019
0.017 0.015 0.010 0.012 0.017 0.014 0.013
0.021 0.019 0.012 0.014 0.021 0.018 0.016
0.018 0.016 0.010 0.012 0.018 0.015 0.013
0.018 0.016 0.011 0.013 0.018 0.015 0.014
0.018 0.015 0.010 0.012 0.017 0.015 0.013
0.014 0.012 0.008 0.009 0.014 0.011 0.011
0.019 0.016 0.011 0.013 0.018 0.015 0.014
0.015 0.014 0.009 0.011 0.015 0.013 0.012
0.015 0.013 0.009 0.010 0.015 0.013 0.012
0.096 0.020 0.013 0.015 0.022 0.019 0.017
0.020 0.075 0.011 0.013 0.020 0.016 0.015
0.013 0.011 0.033 0.009 0.013 0.011 0.010
0.015 0.013 0.009 0.045 0.015 0.013 0.012
0.022 0.020 0.013 0.015 0.095 0.018 0.017
0.019 0.016 0.011 0.013 0.018 0.066 0.014
0.017 0.015 0.010 0.012 0.017 0.014 0.056
0.024 0.021 0.014 0.016 0.024 0.020 0.018
0.019 0.017 0.011 0.013 0.019 0.016 0.015
0.020 0.018 0.012 0.014 0.020 0.017 0.015
0.015 0.013 0.008 0.010 0.014 0.012 0.011
0.017 0.015 0.010 0.011 0.016 0.014 0.013
0.026 0.023 0.015 0.018 0.026 0.022 0.020
0.019 0.016 0.011 0.013 0.019 0.016 0.014
0.016 0.014 0.009 0.011 0.016 0.013 0.012
0.027 0.024 0.016 0.018 0.027 0.022 0.020
0.028 0.025 0.016 0.019 0.028 0.023 0.021
0.019 0.017 0.011 0.013 0.019 0.016 0.014
Real estate
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
-à-vis the index with factor tilt of -0.2 on market factor (Rm-Rf) and +0.2 on
actors. Additional constraints include max weight for a sector of 0.25 and max
Covariance Matrix
A B C D E F
A 0.0687 0.0178 0.0189 0.0188 0.0164 0.0238
B 0.0178 0.0859 0.0211 0.0210 0.0183 0.0266
C 0.0189 0.0211 0.0963 0.0223 0.0194 0.0282
D 0.0188 0.0210 0.0223 0.0955 0.0193 0.0281
E 0.0164 0.0183 0.0194 0.0193 0.0727 0.0245
F 0.0238 0.0266 0.0282 0.0281 0.0245 0.1530
Solution
Setting optimisation objectives and constraints
Transposed 0.42990661 0.015819 0.047981 0 0.489219 0.017073
Weights
A 0.42990661
B 0.01581922
C 0.04798143
D 0
E 0.48921932
F 0.01707342
Tracking Error
Month Rp-Rf Rm-Rf Rp-Rm
1 0.035 0.006 0.029
2 0.068 0.036 0.032
3 0.050 0.007 0.043
4 0.055 0.034 0.022
5 0.013 0.009 0.004
6 -0.034 -0.026 -0.008
7 -0.020 -0.002 -0.018
8 -0.011 -0.051 0.040
9 -0.039 -0.006 -0.033
10 0.065 0.034 0.031
11 0.002 0.035 -0.033
12 0.023 0.025 -0.003
Optimal portfolio
Stock Weights
A 0.43
B 0.02
C 0.05
D 0.00
E 0.49
F 0.02
riance matrix of six stocks.
factor tilt of -0.15 on market factor (Rm-Rf) and +0.2 on
a single stock should be 0.50.