Skip to content
Prev 11602 / 15274 Next

Question rugarch VaR plot

Hi,

1. If you provide a proper xts based data object as an input, then you 
will get a nice chart.
2. If you provide instead a numeric or undated series, then this is 
coerced to xts and assigned an artificial date sequence using :
as.POSIXct(as.Date(seq_along(data), origin="1970-01-01"))
which is probably why you get 1978 in your x-axis.

If you want to customize a VaR plot, you can use/edit the VaRplot 
function which takes as inputs xts based objects. If you do not want to 
use xts, then you are left to code your own plot. rugarch 
documentation/examples provide enough details to show how to extract the 
forecast VaR from the rolling estimation object, and has been discussed 
on this forum numerous times in the past.

Finally, I urge you to follow mailing list etiquette and sign your 
emails with your real name rather than "Private Private". It is only 
polite given that you are asking for help on this forum.

Regards,

Alexios
On 15/05/2013 11:30, Private Private wrote: