Skip to content
Prev 11577 / 15274 Next

rugarch VaR calculation "manually"

Please TRY to send one question, wait for a reply and then ask another 
rather than sending 3 emails in a row.

1. The only reason that you would not get an xts returned object in the 
example below is that you are using an old version of rugarch. Make sure 
you download the latest version (which requires R>=3.0.0) and update 
your packages. It is also good practice to send the output of
sessionInfo() in such cases.

2. I'm not sure what you mean by "one step ahead in sample predictions".
- If you want the 1-ahead forecast use ugarchforecast(alvnomodelgarch, 
n.ahead = 1)
- If you want the in-sample estimated values use 'fitted' and 'sigma'
(in which case the terminology you used in not 'standard').

3. There are enough examples in 'rugarch.tests' folder in the source 
distribution, online blog examples, previous mailing list posts, other 
online resources, for you to be able to do what you need.

Finally, I am more likely to respond to future requests for help if you 
provide minimally reproducible examples without sending zip files of 
your data (this is rarely needed), showed that you made an effort to 
read the documentation, and have signed your emails with your real name.

Regards,
Alexios
On 08/05/2013 11:28, Neuman Co wrote: