Profile

ys2310

Author:ys2310
2008年春にNew York Cityにあるふる〜い大学を卒業。


Categories


new postings


new comments


new trackbacks


monthly archeive


FC2ブログ 転職
DATE: CATEGORY:スポンサー広告
上記の広告は1ヶ月以上更新のないブログに表示されています。
新しい記事を書く事で広告が消せます。
| BLOG TOP |
DATE: CATEGORY:Portfolio management
Black and Litterman recommend to combine the investor's view with the market equilibrium, as follows.

The expected return vector μis assumed to have a probability distribution that is the product of two multivariate normal distributions. The first distribution represents the returns at market equilibrium, with meanπ and the covariance matrix τQ, where τ is a small constant ad Q = (σij) denotes the covariance matrix of asset returns (Note that the factor τ should be small since the variance τσi2 of the random variable μi is typically much smaller than the variance σi2 of the underlying asset returns). The second distribution represents the investor's view about the μi's. These views are expressed as

Pμ = q + ε

where P is a k×n matrix and q is a k-dimensional vector that are provided by the investor and ε is a normally distributed random vector with mean 0 and diagonal covariance matrix Ω (the stronger the investor's view, the smaller the corresponding ωi

The resulting distribution for μ is a multivariate normal distribution with mean
_
μ=[(τQ)-1+PTΩ-1P]-1[(τQ)-1π+PTΩ-1q].

                                             _
Black and Litterman use μ as the vector of expected returns in the Markowitz model.

Example: Let us illustrate the Black-Litterman approach on the same example used for Mean Variance method. The expected returns on Stocks, Bonds and Money Market were computed to be

 StocksBondsMM
Market Rate of Return10.73%7.37%6.27%


This is what we use for the vector π representing market equilibrium. We need to choose the value of the small constant τ. We take τ=0.1. We have two views that we would like to incorporate into the model. First, we hold on a strong view that the Money Market rate will be 2% next year. Second, we also hold the view that S&P500 will outperform 10-year Treasury Bonds by 5% but we are not as confident about this view. These two views are expressed as follows

μM = 0.02 strong view: ω1 = 0.00001
μS - μB = 0.05 weaker view: ω2 = 0.001

Thus P = 0 0 1 q = 0.02 and Ω = 0.00001 0
1 -1 0, 0.05 0 0.001
                                                    _
Applying the earlier formula to compute μ, we get
 StocksBondsMM
Mean Rate of Return11.77%7.51%2.34%

We solve the same QP except for the modified expected return constraint:

min 0.02778x2S + 2×0.00387xSxB + 2×0.00021xSxM + 0.01112x2B - 2×0.00020xBxM + 0.00115x2M + 0.1177xS + 0.0751xB + 0.0234xM
0.1177xS + 0.0751xB + 0.0234xM ≧ R
xS + xB + xM = 1
xS, xB, xM ≧ 0




Solving for R=4.0% to R =11.5% with increments of 0.5% we now get the optimal portfolios and the efficient frontier.

[Quote]:Optimization Methods in Finance


| BLOG TOP |
DATE: CATEGORY:Portfolio management
We apply Markowitz's MVO model to the problem of constructing a portfolio of US stocks, bonds and cash. We use historical data for the returns of these three asset classes: The S&P 500 index for the returns on stocks, the 10-year Treasury bond index for the returns on bonds, and we assume that the cash is invested in a money market account whose return is the 1-day federal fund rate. The times series for the "Total  Return" are given below for each asset between 1960 and 2003.

YearStocksBondsMM
196020.2553262.935100.00
196125.6860268.730102.33
196223.4297284.090105.33
196328.7463289.162108.89
196433.4484299.894113.08
196537.5813302.695117.97
196633.7839318.197124.34
196741.8725309.103129.94
196846.4795316.051137.77
196942.5448298.249150.12
197044.2212354.671157.48
197150.5451394.532164.00
197260.1461403.942172.74
197351.3114417.252189.93
197437.7306433.927206.13
197551.7772457.885216.85
197664.1659529.141226.93
197759.5739531.144241.82
197863.4884524.435266.07
197975.3032531.040302.74
198099.7795517.860359.96
198194.8671538.769404.48
1982115.308777.332440.68
1983141.316787.357482.42
1984150.181907.712522.84
1985197.8291200.63566.08
1986234.7551469.45605.20
1987247.7551424.91646.17
1988288.1161522.40702.77
1989379.4091804.63762.16
1990367.6361944.25817.87
1991479.6332320.64854.10
1992516.1782490.97879.04
1993568.2022816.40905.06
1994575.7052610.12954.39
1995792.0423287.271007.84
1996973.8973291.581061.15
19971298.823687.331119.51
19981670.014220.241171.91
19992021.403903.321234.02
20001837.364575,331313.00
20011618.984827.261336.89
20021261.185558.401353.47
20031622.945588.191366.73

Let Iit denote the above "Total Return" for asset i = 1,2,3 and t = 0, ... T, where t = 0 corresponds to
1960 and t = T to 2003. For each asset i, we can convert the raw data Iit, t=0,...,T, into rates of returns rit, t=1,...,T, using the formula.

                                                        rit = Ii,t - Ii, t-1 / Ii, t-1

YearStocksBondsMM
196126.812.202.33
1962-8.785.722.93
196322.691.793.38
196416.363.713.85
196512.360.934.32
1966-10.105.125.40
196723.94-2.864.51
196811.002.256.02
1969-8.47-5.638.97
19703.9418.924.90
197114.3011.244.14
197218.992.395.33
1973-14.693.299.95
1974-26.474.008.53
197537.235.525.20
197623.9315.564.65
1977-7.160.386.65
19786.57-1.2610.03
197918.61-1.2613.78
198032.50-2.4818.90
1981-4.924.0412.37
198221.5544.288.95
198322.561.299.47
19846.2715.298.38
198531.1732.278.27
198618.6722.396.91
19875.25-3.036.77
198816.616.848.76
198931.6918.548.45
1990-3.107.747.31
199130.4619.364.43
19927.627.342.92
199310.0813.062.96
19941.32-7.325.45
199537.5825.945.60
199622.960.135.29
199733.3612.025.50
199828.5814.454.68
199921.04-7.515.30
2000-9.1017.226.40
2001-11.895.511.82
2002-22.1015.151.24
200328.680.540.98


Let Ri denote the random rate of return of asset i. From the above historical data, we can compute the arithmetric mean rate of return for each asset:

_             T
ri = 1/T SUM rit
                t=1

which gives

 StocksBondsMM
Arithmetric mean12.06%7.85%6.32%


Because the rates of return are multiplicative over time, we prefer t use the geometric mean instead of the arithmetric mean. The geometric mean is the constant yearly rate of return that needs to be applied in years t = 0 through t = T-1 in order to get the compounded Total Return IiT
, starting from Ii0. The formula for the geometric mean is:
         
ui = ( Π  (1+rit) )1/T -1
       t=1...T

We get the following results.

 StocksBondsMM
Geometric mean10.73%7.37%6.27%

We also compute the covariance matrix:

                                                 _      _
cov(Ri, Rj) = (1/T)  SUM (rit - r)(rjt - r).
                              t=1...T

CovarianceStocksBondsMM
Stocks0.027780.003870.00021
Bonds0.003870.01112-0.00020
MM0.00021-0.000200.00115


Although not needed to slolve the Markowitz model, it is interesting to compute the volatility of the rate of return on each asset σi =sqrt(cov(Ri, R,)):

 StocksBondsMM
Volatility16.67%10.55%3.40%

and the correlation matrix pij = cov(Ri, Rj) / σiσj

CorrelationStocksBondsMM
Stocks10.21990.0366
Bonds0.21991-0.0545
MM0.0366-0.05451

Setting up the QP for portfolio optimization

min 0.02778x2 S + 2×0.00387xSxB + 2×0.00387xSxM + 0.01112x2B - 2×0.00020xBxM + 0.00115x2M + 0.1073xS + 0.0737xB + 0.0627xM
0.1073xS + 0.0737xB + 0.0627xM ≧ R
xS + xB + xM = 1
xS, xB, xM ≧ 0

and solving it for R=6.5% to R=10.5% with increments of 0.5% we get the optimal portfolios shown below and the corresponding variance. The optimal allocations on the efficient frontier are also depicted in the graph below.

Rate of Return RVarianceStocksBondsMM
0.0650.00100.030.100.87
0.0700.00140.130.120.75
0.0750.00260.240.140.62
0.0800.00440.350.160.49
0.0850.00700.450.180.37
0.0900.01020.560.200.24
0.0950.01420.670.220.11
0.1000.01890.780.220
0.1050.02460.930.070

Efficient Frontier


Based on the first two columns of table above, the graph plots the maximum expected rate of return R of a portfolio as a function of its volatility (standard deviation). This curve is called the effecient frontier. Every possible portfolio of Stocks/Bonds/MM is represented by a point lying on or below the efficient frontier in the expected return/standard deviation plane.

[Quote]:Optimization Methods in Finance

| BLOG TOP |
DATE: CATEGORY:Portfolio management
In Part 1 of this series we show three methods for calculating the value at risk (VAR or VaR) of a single stock investment. Here in part 2 we explain how to convert one VAR of one time period into the equivalent VAR for a different time period and show you how to use VAR to estimate the downside risk of a single stock investment.
 
Converting One Time Period to Another
In Part 1, we calculate VAR for the Nasdaq 100 index (ticker: QQQ) and establish that VAR answers a three-part question: "What is the worst loss that I can expect during a specified time period with a certain confidence level?"

Since the time period is a variable, different calculations may specify different time periods - there is no "correct" time period. Commercial banks, for example, typically calculate a daily VAR, asking themselves how much they can lose in a day; pension funds, on the other hand, often calculate a monthly VAR.

To recap briefly, let's look again at our calculations of three VARs in part 1 using three different methods for the same "QQQ" investment:



* We do not need a standard deviation for neither the historical method (because it just re-orders returns lowest-to-highest) or the Monte Carlo simulation (because it produces the final results for us).

Because of the time variable, users of VAR need to know how to convert one time period to another, and they can do so by relying on a classic idea in finance: the standard deviation of stock returns tends to increase with the square root of time. If the standard deviation of daily returns is 2.64% and there are 20 trading days in a month (T = 20), then the monthly standard deviation is represented by the following:


To "scale" the daily standard deviation to a monthly standard deviation, we multiply it not by 20 but by the square root of 20. Similarly, if we want to scale the daily standard deviation to an annual standard deviation, we multiply the daily standard deviation by the square root of 250 (assuming 250 trading days in a year). Had we calculated a monthly standard deviation (which would be done by using month-to-month returns), we could convert to an annual standard deviation by multiplying the monthly standard deviation by the square root of 12.

Applying a VAR Method to a Single Stock
Both the historical and Monte Carlo simulation methods have their advocates; but the historical method requires crunching historical data, and the Monte Carlo simulation method is complex. The easiest method is variance-covariance.

Below we incorporate the time-conversion element into the variance-covariance method for a single stock (or single investment):


Now let's apply these formulas to the QQQ. Recall that the daily standard deviation for the QQQ since inception is 2.64%. But we want to calculate a monthly VAR, and assuming 20 trading days in a month, we multiply by the square root of 20:


* Important Note: These worst losses (-19.5% and -27.5%) are losses below the expected or average return. In this case, we keep it simple by assuming the daily expected return is zero. We rounded down, so the worst loss is also the net loss.

So, with the variance-covariance method, we can say with 95% confidence that we will not lose more than 19.5% in any given month. The QQQ clearly is not the most conservative investment! You may note, however, that the above result is different from the one we got under the Monte Carlo simulation, which said our maximum monthly loss would be 15% (under the same 95% confidence level).

Conclusion
Value at risk is a special type of downside risk measure. Rather than produce a single statistic or express absolute certainty, it makes a probabilistic estimate. With a given confidence level, it asks, "What is our maximum expected loss over a specified time period?" There are three methods by which VAR can be calculated: the historical simulation, the variance-covariance method and the Monte Carlo simulation.

The variance-covariance method is easiest because you need to estimate only two factors: average return and standard deviation. However, it assumes returns are well-behaved according to the symmetrical normal curve and that historical patterns will repeat into the future.

The historical simulation improves on the accuracy of the VAR calculation, but requires more computational data; it also assumes that "past is prologue". The Monte Carlo simulation is complex, but has the advantage of allowing users to tailor ideas about future patterns that depart from historical patterns.

[Quote]:http://www.investopedia.com/articles/04/101304.asp

| BLOG TOP |
DATE: CATEGORY:Portfolio management
Value at risk (VAR or sometimes VaR) has been called the "new science of risk management", but you do not need to be a scientist to use VAR. Here, in part 1 of this series, we look at the idea behind VAR and the three basic methods of calculating it. In Part 2, we apply these methods to calculating VAR for a single stock or investment.

The Idea behind VAR
The most popular and traditional measure of risk is volatility. The main problem with volatility, however, is that it does not care about the direction of an investment's movement: a stock can be volatile because it suddenly jumps higher. Of course, investors are not distressed by gains!  (See The Limits and Uses of Volatility.)

For investors, risk is about the odds of losing money, and VAR is based on that common-sense fact. By assuming investors care about the odds of a really big loss, VAR answers the question, "What is my worst-case scenario?" or "How much could I lose in a really bad month?"

Now let's get specific. A VAR statistic has three components: a time period, a confidence level and a loss amount (or loss percentage). Keep these three parts in mind as we give some examples of variations of the question that VAR answers:
  • What is the most I can - with a 95% or 99% level of confidence -  expect to lose in dollars over the next month?
  • What is the maximum percentage I can - with 95% or 99% confidence - expect to lose over the next year?
You can see how the "VAR question" has three elements: a relatively high level of confidence (typically either 95% or 99%), a time period (a day, a month or a year) and an estimate of investment loss (expressed either in dollar or percentage terms).

Methods of Calculating VAR
Institutional investors use VAR to evaluate portfolio risk, but in this introduction we will use it to evaluate the risk of a single index that trades like a stock: the Nasdaq 100 Index, which trades under the ticker QQQQ. The QQQQ is a very popular index of the largest non-financial stocks that trade on the Nasdaq exchange.

There are three methods of calculating VAR: the historical method, the variance-covariance method and the Monte Carlo simulation.

1. Historical Method
The historical method simply re-organizes actual historical returns, putting them in order from worst to best. It then assumes that history will repeat itself, from a risk perspective.

The QQQ started trading in Mar 1999, and if we calculate each daily return, we produce a rich data set of almost 1,400 points. Let's put them in a histogram that compares the frequency of return "buckets". For example, at the highest point of the histogram (the highest bar), there were more than 250 days when the daily return was between 0% and 1%. At the far right, you can barely see a tiny bar at 13%; it represents the one single day (in Jan 2000) within a period of five-plus years when the daily return for the QQQ was a stunning 12.4%!


Notice the red bars that compose the "left tail" of the histogram. These are the lowest 5% of daily returns (since the returns are ordered from left to right, the worst are always the "left tail"). The red bars run from daily losses of 4% to 8%. Because these are the worst 5% of all daily returns, we can say with 95% confidence that the worst daily loss will not exceed 4%. Put another way, we expect with 95% confidence that our gain will exceed -4%. That is VAR in a nutshell. Let's re-phrase the statistic into both percentage and dollar terms:
  • With 95% confidence, we expect that our worst daily loss will not exceed 4%.
  • If we invest $100, we are 95% confident that our worst daily loss will not exceed $4 ($100 x -4%).
You can see that VAR indeed allows for an outcome that is worse than a return of -4%. It does not express absolute certainty but instead makes a probabilistic estimate. If we want to increase our confidence, we need only to "move to the left" on the same histogram, to where the first two red bars, at -8% and -7% represent the worst 1% of daily returns:
  • With 99% confidence, we expect that the worst daily loss will not exceed 7%.
  • Or, if we invest $100, we are 99% confident that our worst daily loss will not exceed $7.
2. The Variance-Covariance Method
This method assumes that stock returns are normally distributed. In other words, it requires that we estimate only two factors - an expected (or average) return and a standard deviation - which allow us to plot a normal distribution curve. Here we plot the normal curve against the same actual return data:


The idea behind the variance-covariance is similar to the ideas behind the historical method - except that we use the familiar curve instead of actual data. The advantage of the normal curve is that we automatically know where the worst 5% and 1% lie on the curve. They are a function of our desired confidence and the standard deviation ():


The blue curve above is based on the actual daily standard deviation of the QQQ, which is 2.64%. The average daily return happened to be fairly close to zero, so we will assume an average return of zero for illustrative purposes. Here are the results of plugging the actual standard deviation into the formulas above:


3. Monte Carlo Simulation
The third method involves developing a model for future stock price returns and running multiple hypothetical trials through the model. A Monte Carlo simulation refers to any method that randomly generates trials, but by itself does not tell us anything about the underlying methodology.

For most users, a Monte Carlo simulation amounts to a "black box" generator of random outcomes. Without going into further details, we ran a Monte Carlo simulation on the QQQ based on its historical trading pattern. In our simulation, 100 trials were conducted. If we ran it again, we would get a different result--although it is highly likely that the differences would be narrow. Here is the result arranged into a histogram (please note that while the previous graphs have shown daily returns, this graph displays monthly returns):


To summarize, we ran 100 hypothetical trials of monthly returns for the QQQ. Among them, two outcomes were between -15% and -20%; and three were between -20% and 25%. That means the worst five outcomes (that is, the worst 5%) were less than -15%. The Monte Carlo simulation therefore leads to the following VAR-type conclusion: with 95% confidence, we do not expect to lose more than 15% during any given month.

Summary
Value at Risk (VAR) calculates the maximum loss expected (or worst case scenario) on an investment, over a given time period and given a specified degree of confidence. We looked at three methods commonly used to calculate VAR. But keep in mind that two of our methods calculated a daily VAR and the third method calculated monthly VAR. In Part 2 of this series we show you how to compare these different time horizons.

[Quote]:http://www.investopedia.com/articles/04/092904.asp

| BLOG TOP |

copyright © Manhattan life all rights reserved.Powered by FC2ブログ