Wednesday, January 22, 2020

backtesting - Back-testing Value at Risk with a WML investment strategy


I'm currently taking a course in Financial Econometrics and there is a question in the lecture notes regarding back-testing of VaR which I'm have difficulty with.



First of all the procedure for back-testing of VaR using a rolling scheme is described as follows:


assume we have returns data rt,t=1,...,T for some large enough T. We take the first 60 observations and calculate their sample mean μ160 and variance σ2160 and then calculate: VaR160(α)=μ160+Φ1(α)σ160

Where α is our confidence parameter (usually α=0.05) and Φ1 is the inverse standard normal CDF. If r61<VaR160(α) we mark 1 and otherwise 0. We proceed doing the same thing for observations 2...62 compared to 63 and so on and in the end we count the number of times in which the result was 1. while under the null hypothesis we expect that the proportion of times we got 1 to be at most α. In particular it's important to notice we had an assumption here that the returns are all normally distributed, rtN(μt,σ2t).


Now for the actual question, suppose rt,t=1,...,T are the returns using a WML investment strategy (momentum trading strategy). Is the procedure described above suitable for testing the VaR in such a case and if not why?


Usually the phrasing of the question would hint towards there being some sort of problem with using the procedure in such a case but I don't see why that would be the case... Help would very much be appreciated!



Answer



What you could do is to apply the methods of portfolio risk analysis. If you buy n stocks with percentages wi,i=1,,n then your portfolio return is r=ni=1wiri.


Dealing with investment strategies I would not include an expected profit in the VaR calculation and put μ=0 for this reason.


To calculate the volatility of your portfolio you can do the following:



  • calculate the covariance matrix of your assets on the past N (e.g. 60) days, Σ


  • caclulate portfolio ex-ante volatility by σ=wΣwT.


You ca plug this σ into your formula and proceed. This is the basis set-up, assumptions about the dependence of the assets or the distributions of asset returns can improve the risk analysis.


IMPORTANT addon:



  • the formulae above are valid for negative weigths too. All you have to do is to determine a cash basis from which you calculate the weights. Say you have 50000 cash, buy a stock for 25000 and sell one for 25000 then you have 100% cash and weights of +50% and 50%.


No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...