MATLAB FINANCIAL DERIVATIVES TOOLBOX Uživatelský manuál Strana 117

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 119
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 116
116
=
=
150
100
050
.
.
.
r
r
r
Ee
C
B
A
=
=
280090170
090210150
170150250
2
2
2
...
...
...
sss
sss
sss
O
C
CBCA
BC
?
BA
ACAB
?
Write a script with the name: MeanVarMin.m that will do the following:
Saves in a column vector the weights for the solution of the above
mean-variance minimization problem given by:
00500050100
0380050620340
0220100340380
=++
=++
=++
.w.w.
.?.w.w.
.?.w.w.
BA
BA
BA
and
CAc
www = 1
Find its expected return and its standard deviation.
Create an m-file with the analytic expression of the function f with the
name: portFun.m with the following syntax:
“f=
p
p
o
o
r
r
t
t
F
F
u
u
n
n(x,r,V,R)”
with x to represent a three element vector, ]?,w,w[x
B
A
= , r to be
the vector of the assets expected return, V the variance covariance
matrix and R the desire portfolio expected return.
Assuming the inexistence of a risk-free rate, create a plot with the
minimum variance opportunity set (current efficient frontier) for
values of R that range between 1% and 40%. The figure should plot
the standard deviation against the portfolio expected return. To do so,
Zobrazit stránku 116
1 2 ... 112 113 114 115 116 117 118 119

Komentáře k této Příručce

Žádné komentáře