I'm actually writing my Master's thesis right now and got stuck on a (I think not too complicated problem) which I just can't figure out.
What I want to do is to estimate the Value-At-Risk, given a time series of the German Stock Index DAX for a time horizon of 10 years.
With the Variance-Covariane-Method it already worked and I just this formula:
Code: Select all
series var
var = @mean(log_returns) + @qnorm(0.05)*@stdev(log_returns)
I tried this:
Code: Select all
series vargarch
equation eq1.arch(1,1) log_returns c
eq1.makegarch cvar_log_returns
vargarch = @mean(log_returns) + @qnorm(0.05)* @sqrt(cvar_log_returns)
I would really appreciate your help! Thanks in advance!
Sonja
