System Proc Make Loglikelihoods returns zeros for CCC-GARCH

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

JimS
Posts: 8
Joined: Sun Apr 27, 2014 11:51 pm

System Proc Make Loglikelihoods returns zeros for CCC-GARCH

Postby JimS » Wed Jul 02, 2014 5:06 am

Eviews 8

I have a 3 x 3 garch(1,1) model (no threshold term), with four exogenous variables in the variance equation, and some dummy variables and AR terms in the mean equation. I can estimate it fine (Marquardt / Normal) using both the in-built DVECH (rank 1) and CCC system ARCH routines. For the DVECH I can get the loglikelihood contributions, when I access Proc / Make Loglikelihoods, but for the CCC model, I get a sequence of zeros. When I drop all but the constant in the mean equation and the garch(1,1) terms in the variance /covariances, and estimate both specifications, I get loglikelihoods produced in both cases. Is this a bug, or is there something about the production of the loglikelihoods in the CCC model that can't be done when there's exogenous variables in the variance, or more than a constant in the mean equation? Thanks.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: System Proc Make Loglikelihoods returns zeros for CCC-GA

Postby EViews Gareth » Wed Jul 02, 2014 7:26 am

Could you post the workfile?

JimS
Posts: 8
Joined: Sun Apr 27, 2014 11:51 pm

Re: System Proc Make Loglikelihoods returns zeros for CCC-GA

Postby JimS » Wed Jul 02, 2014 7:56 am

Thanks for the prompt response. Workfile attached, but it doesn't have the system spec saved within it, so I have included the two "stats" output files (.csv) that were saved out from the results of the two ARCH system estimations.

In both cases, I used the default Marquardt algorithm with Normal errors and all other estimation "options" at the default values.

The 3 dependent variables are rsh, rlg and rft. The mean equation has c, Tues, Wed, Thur, Fri, Indexchg and 5 lags of each of rsh, rlh and rft, so 21 coefficients in each mean equation.

The variance is GARCH(1,1), with nrock, d1, d2 and d3 as "individual" added regressors.

The two correlation specs are CCC (no variance targeting), and DVECH (rank one restriction on all matrices).

Thanks.
Attachments
ev2_dbekk.csv
(10.9 KiB) Downloaded 209 times
ev2_ccc.csv
(9.89 KiB) Downloaded 199 times
book2_j.wf1
(975.6 KiB) Downloaded 163 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: System Proc Make Loglikelihoods returns zeros for CCC-GA

Postby EViews Gareth » Wed Jul 02, 2014 7:59 am

Could you save a copy of the workfile with the system in it? I want to be 100% certain I match your specification.

JimS
Posts: 8
Joined: Sun Apr 27, 2014 11:51 pm

Re: System Proc Make Loglikelihoods returns zeros for CCC-GA

Postby JimS » Wed Jul 02, 2014 8:57 am

Workfile with the two systems included, as you can see there's just zeros for the loglikelihoods in the CCC case.

Thanks.
Attachments
book2_j.wf1
(1.06 MiB) Downloaded 164 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: System Proc Make Loglikelihoods returns zeros for CCC-GA

Postby EViews Gareth » Wed Jul 02, 2014 9:02 am

Thanks. We'll take a look. I'm reasonably confident it is a bug. Note that if you change the order of the variance regressors to be D1 D2 D3 NROCK, it appears to work properly.

JimS
Posts: 8
Joined: Sun Apr 27, 2014 11:51 pm

Re: System Proc Make Loglikelihoods returns zeros for CCC-GA

Postby JimS » Wed Jul 02, 2014 9:19 am

Thanks so much, that's a simple fix for me, I hope that you are able to find the "bug".

JimS
Posts: 8
Joined: Sun Apr 27, 2014 11:51 pm

Re: System Proc Make Loglikelihoods returns zeros for CCC-GA

Postby JimS » Wed Jul 02, 2014 9:47 am

Actually the loglikelihoods for the CCC model (when the variable ordering is changed) appear rather too variable to be believable. Changing the variable ordering for the DVECH does not change the loglikelihoods to any real noticeable degree. For the CCC model, there are massive negative outlying values on somedays. I got nothing like this instability, when the model did not include all the extra variables in the mean and variance specifications. So, while there are now loglikelihoods produced for the CCC model when the variable ordering in the variance spec is changed, I'm not sure they're going to be useful for comparison to the DVECH. I will try other orderings to see if they are more stable.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: System Proc Make Loglikelihoods returns zeros for CCC-GA

Postby EViews Gareth » Wed Jul 02, 2014 2:37 pm

The latest patch has a fix.

JimS
Posts: 8
Joined: Sun Apr 27, 2014 11:51 pm

Re: System Proc Make Loglikelihoods returns zeros for CCC-GA

Postby JimS » Thu Jul 03, 2014 1:12 am

Thanks. Patch installed; problem solved. Apologies if this patch has been available a while and I had you revisiting a problem you'd solved some time ago.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: System Proc Make Loglikelihoods returns zeros for CCC-GA

Postby EViews Gareth » Thu Jul 03, 2014 6:31 am

Nope, we found the big and fixed it just because of your post - thanks.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests