官术网_书友最值得收藏!

Chapter 2. Portfolio Optimization

By now we are familiar with the basics of the R language. We know how to analyze data, call its built-in functions, and apply them to the selected problems in a time series analysis. In this chapter we will use and extend this knowledge to discuss an important practical application: portfolio optimization, or in other words, security selection. This section covers the idea behind portfolio optimization: the mathematical models and theoretical solutions. To improve programming skills, we will implement an algorithm line by line using real data to solve a real-world example. We will also use the pre-written R packages on the same data set.

Imagine that we live in a tropical island and have only USD 100 to invest. Investment possibilities on the island are very limited; we can invest our entire fund into either ice creams or umbrellas. The payoffs that depend on the weather are as follows:

Suppose the probability of the weather being rainy or sunny is the same. If we cannot foresee or change the weather, the two options are clearly equivalent and we have an expected return of 5% [(0.5×120+0.5×90)/100-1=0.05] by investing in any of them.

What if we can split our funds between ice creams and umbrellas? Then we should invest USD 50 in both the options. This portfolio is riskless because whatever happens, we earn USD 45 with one asset and USD 60 with the other one. The expected return is still 5%, but now it is guaranteed since (45+60)/100-1=0.05.

The main concept of portfolio optimization (which won the Nobel Prize for Harry Markowitz in 1990) is captured in this example. Based on the correlation between investment products, we can reduce the risk (which in this case is measured by variance) of the portfolio and still get the desired expected return.

To be mathematically more precise, let X and Y be the random variables with the finite variances Portfolio Optimization and Portfolio Optimization. The variance of their convex or affine combination is shown in the following quadratic function:

Portfolio Optimization

For different values of their correlation, this quadratic function looks like the following diagram:

Portfolio Optimization

The variance (as a measure of risk) can completely be eliminated if and only if the correlation between X and Y is -1 or +1, and the variance of X and Y are not the same. Otherwise, the variance of the portfolio with optimal weights depends (in an absolutely non-trivial way) on all the three parameters (Portfolio Optimization, Portfolio Optimization, and Portfolio Optimization), as we will see later in the Theorem (Lagrange) section.

主站蜘蛛池模板: 贵溪市| 习水县| 吴旗县| 新郑市| 内黄县| 深圳市| 禹城市| 陆川县| 湘阴县| 沁阳市| 濉溪县| 太湖县| 彩票| 曲麻莱县| 习水县| 淄博市| 道真| 泾源县| 耒阳市| 南丰县| 长治市| 徐闻县| 天长市| 田阳县| 竹北市| 虹口区| 平南县| 沾益县| 兰溪市| 昌邑市| 长汀县| 东山县| 临朐县| 开封县| 大兴区| 东港市| 张家港市| 恩平市| 原阳县| 江阴市| 河曲县|