Dear R-Users and Contributors,

I`m using the rugarch package for a project at university and I must say this is a really fine package!
There are, however, two questions that I could not answer reading the documentation and browsing the internet:

The first regards the VaRTest function:
When plugging my own numeric data vectors into this function, the test seems not to work well.
No matter how bad the VaR-estimates are (clustered VaR breaches, many VaR breaches, both combined),
the H0 of both tests (conditional coverage and unconditional coverage) is not rejected.

For instance I get the following:

$expected.exceed
[1] 489

$actual.exceed
[1] 2807

$uc.H0
[1] "Correct Exceedances"

$uc.LRstat
[1] 0

$uc.critical
[1] 3.841459

$uc.LRp
[1] 1

$uc.Decision
[1] "Fail to Reject H0"

$cc.H0
[1] "Correct Exceedances & Independent"

$cc.LRstat
[1] 0

$cc.critical
[1] 5.991465

$cc.LRp
[1] 1

$cc.Decision
[1] "Fail to Reject H0"

The documentation says, that the function takes two numeric vectors.

However, the example from the documentation (? VaRTest) uses a different object:
class(VaR)
[1] "xts" "zoo"

*Does the VaR-function need an xts formatted object?
If so, which of the arguments (actual or VaR) or just any?*

When transforming the xts-VaR-object from the example to a simple numeric vector,
the test result of the CC-test changes!
E.g. run this after running the example to see the differences:
print(VaRTest(0.05, actual, as.numeric(VaR[,1]) ))




My second question refers to the range of the shape parameter using ugarchfit
with (eGARCH and) a skewed student t distribution.
I`ve created a series of vola forecasts the following way:

I reestimated an eGARCH-model every 5 working days, starting with a
increasing sample of 500 obs at the beginning (then 505, 510 etc.).
After each estimation step, I generated 5 rolling 1-step-ahead forcasts (n.roll=4)
from each of the estimated models, thereby creating a continuous stream
of forecasts. (I can provide the code if this is of any help)

The maximum value for the estimated shape parameter is 60 and in 2058 estimates
it reaches this bound only 3 times, but the plot still looks kind of truncated:

http://www.file-upload.net/download-8420593/mod4_para8.pdf.html

Does this point to a programming error of mine? Or*is there a upper limit in**the**
**ugarchfit function wrt the range of the shape parameter*  (in the spirit of "a shape of
60 is close to a normal distribution and therefore the modelling of the student t is not
supported any more"?)

By the way, is the shape parameter in this case the degrees of freedom or something else?
Is the skew parameter of the skewed t distribution the same thing as in Fernandez_Steel_1998?
I heared that some people have reparametrized the skewed t distribution once more so that
the parameters actually correspond to the moments (which is not the case in F.&S.).
I have looked for these questions in the documentation without finding an answer.
Hopefully I have not overseen anything?

This is my first posting to this list and I hope that I have met the etiquette.

Thanks in advance for your effort to help me!
Best,
Johannes





















	[[alternative HTML version deleted]]

