Testing Standardized residuals
Posted: Thu Dec 12, 2013 11:59 am
Hi,
I am new to working with ARCH/GARCH and have recently purchased the course notes you are selling. After going over the univariate models, I have a couple of questions about testing the standardized residuals from a GARCH(1,1) and EGARCH(1,1).
First, in the notes from the ARCH/Garch course, it seems that that for the standard GARCH(1,1) the notes have the test as being:
So the first test we have dfc=1 because of one lag, and in the test for the squared residuals McLeod-Li is 2 (the # of GARCH parameters (lagged variance/residual squared terms) for this case – in general I think this is just p+q)
I have four questions about the example/extensions:
1) How do we know that number=10 is the right value for the tests? Other examples use other values, e.g., Tsay’s example on page 131 seems to use number=24)
2) I am also not completely certain about degrees of freedom correction in the Tsay example above, and the one in the notes:
In the Tsay example, it appears that there are no degrees of freedom correction for the ARCH(3), but for the case in the workbook, there is a dfc=2 (since we are in an ARCH(2) case)? Should there be a correction in the Tsay example or am I missing something?
3) For extensions. When using an asymmetric Garch/Egarch, do we need to adjust the degrees of freedom? I think that Example 10.3 in the book would suggest that the answer is yes and that a EGARCH(1,1) with asymmetry would be have a dfc=3?
4) Finally a question about adding in the regressors and xregressors. Do we need any additional degrees of corrections for these?
Thanks for your help.
I am new to working with ARCH/GARCH and have recently purchased the course notes you are selling. After going over the univariate models, I have a couple of questions about testing the standardized residuals from a GARCH(1,1) and EGARCH(1,1).
First, in the notes from the ARCH/Garch course, it seems that that for the standard GARCH(1,1) the notes have the test as being:
Code: Select all
* GARCH(1,1) with Gaussian errors
*
garch(p=1,q=1,regressors,hseries=h) / y
# constant y{1}
set ustd = %resids/sqrt(h)
graph(footer="GARCH(1,1) Standardized Residuals")
# ustd
*
* Diagnostics
*
stats ustd
@regcorrs(number=10,dfc=1,nocrits,qstat,$
title="Standardized Residuals") ustd
disp "Q for Residual Serial Correlation" %qstat $
"significance level" %qsignif
set ustd2 = ustdˆ2
@regcorrs(number=10,dfc=2,nocrits,qstat,$
title="Standardized Squared Residuals") ustd2
disp "McLeod-Li for Residual ARCH=" %qstat $
"significance level" %qsignif
I have four questions about the example/extensions:
1) How do we know that number=10 is the right value for the tests? Other examples use other values, e.g., Tsay’s example on page 131 seems to use number=24)
Code: Select all
----------------------------------
* Tsay, Analysis of Financial Time Series, 3rd edition
* ARCH example on exchange rate, page 131
*
open data exch-perc.txt
data(format=free,org=columns) 1 2487 exchperc
garch(p=0,q=3,resids=at,hseries=hvar) / exchperc
set resi = at/sqrt(hvar)
set resisq = resi^2
@RegCorrs(number=24) resi
@RegCorrs(number=24) resisq
Code: Select all
* ARCH(2) with Gaussian errors
*
garch(p=0,q=2,regressors,hseries=h) / y
# constant y{1}
graph(footer="ARCH(2) Residuals")
# %resids
set ustd = %resids/sqrt(h)
graph(footer="ARCH(2) Standardized Residuals")
# ustd
*
* Diagnostics
*
stats ustd
@regcorrs(number=10,dfc=1,nocrits,qstat,$
title="Standardized Residuals") ustd
disp "Q for Residual Serial Correlation" %qstat $
"significance level" %qsignif
set ustd2 = ustdˆ2
@regcorrs(number=10,dfc=2,nocrits,qstat,$
title="Standardized Squared Residuals") ustd2
disp "McLeod-Li for Residual ARCH=" %qstat $
"significance level" %qsignif
In the Tsay example, it appears that there are no degrees of freedom correction for the ARCH(3), but for the case in the workbook, there is a dfc=2 (since we are in an ARCH(2) case)? Should there be a correction in the Tsay example or am I missing something?
3) For extensions. When using an asymmetric Garch/Egarch, do we need to adjust the degrees of freedom? I think that Example 10.3 in the book would suggest that the answer is yes and that a EGARCH(1,1) with asymmetry would be have a dfc=3?
4) Finally a question about adding in the regressors and xregressors. Do we need any additional degrees of corrections for these?
Thanks for your help.