Simulation study and Value at Risk
Posted: Tue Apr 07, 2009 2:07 am
Hi everybody,
Im working on a project about Value at Risk and need to do a monte carlo simulation of an AR(1)-GARCH(1,1) model.
I have estimated the AR(1) model with normal errors (I have the coeff etc) and need to simulate it over a 5 year period (daily observations - 252 pr year), outputting the simulated values in a new series so I can use the @quantile function to find the eg. 5% quantile (the VaR-estimat) of each day. I probably need to simulate the model with 1000 simulations pr. day.
Can anyone give me a hint as to where I should look? Have you tried to code something similar?
Thanks for your time,
Regards
Thomas
Im working on a project about Value at Risk and need to do a monte carlo simulation of an AR(1)-GARCH(1,1) model.
I have estimated the AR(1) model with normal errors (I have the coeff etc) and need to simulate it over a 5 year period (daily observations - 252 pr year), outputting the simulated values in a new series so I can use the @quantile function to find the eg. 5% quantile (the VaR-estimat) of each day. I probably need to simulate the model with 1000 simulations pr. day.
Can anyone give me a hint as to where I should look? Have you tried to code something similar?
Thanks for your time,
Regards
Thomas