the question of Value at risk in Tsay (2005) p.313
Posted: Mon Oct 25, 2010 9:42 am
Hi, Tom
I use WinRats 6.35. As I refer the sample codes in the textbook of Tasy's Analysis of F.T. series.
in the sample code of p.313, it is calculating value at risk (VaR) based on extreme value theory. And it uses
the code as :
compute var01=%invgev((1-.01)**n,k,-beta,alpha)
From Tasy's book p.312-313, it seems calculating VaR with eq. (7.28), right ?
but, the code used " %invgev((1-.01)**n,k,-beta,alpha) " to computed VaR, it is eq. (7.26), right?
since " %invgev() " is just inverse the distribution of GEV, is it calculating VaR on original return level ?
however, it's interesting that as I can't obtain the number "-3.04939" but can get "-12.9342", calculating VaR based on eq. (7.26).
the question:
no.1, is " %invgev()" just only inverse the GEV distribution in extreme level or original return level ?
no.2, is this sample code calculating Var based on eq.(7.26) or (7.28) ?
thanks
Frank
I use WinRats 6.35. As I refer the sample codes in the textbook of Tasy's Analysis of F.T. series.
in the sample code of p.313, it is calculating value at risk (VaR) based on extreme value theory. And it uses
the code as :
compute var01=%invgev((1-.01)**n,k,-beta,alpha)
From Tasy's book p.312-313, it seems calculating VaR with eq. (7.28), right ?
but, the code used " %invgev((1-.01)**n,k,-beta,alpha) " to computed VaR, it is eq. (7.26), right?
since " %invgev() " is just inverse the distribution of GEV, is it calculating VaR on original return level ?
however, it's interesting that as I can't obtain the number "-3.04939" but can get "-12.9342", calculating VaR based on eq. (7.26).
the question:
no.1, is " %invgev()" just only inverse the GEV distribution in extreme level or original return level ?
no.2, is this sample code calculating Var based on eq.(7.26) or (7.28) ?
thanks
Frank