Covariance matrix of coefficients with GARCH models

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

strypste
Posts: 53
Joined: Tue Jan 24, 2012 8:54 am

Covariance matrix of coefficients with GARCH models

Postby strypste » Sat Jul 04, 2015 7:07 am

HI there

I estimated a GARCH model and now I want to calculate the variance covariance matrix of the coefficients (I can obtain this by View -> Covariance matrix). HoBut how is this calculated in Eviews?

As there is a constant in the mean and variance equation, X'X is not invertible, where X is a matrix of all the regressors in the model. So how can we possible do this?

Best
S

startz
Non-normality and collinearity are NOT problems!
Posts: 3796
Joined: Wed Sep 17, 2008 2:25 pm

Re: Covariance matrix of coefficients with GARCH models

Postby startz » Sat Jul 04, 2015 9:15 am

A thoughtful question, but why do you think X'X is not invertible? The variables in the mean and variance equations don't enter linearly.

strypste
Posts: 53
Joined: Tue Jan 24, 2012 8:54 am

Re: Covariance matrix of coefficients with GARCH models

Postby strypste » Mon Jul 06, 2015 2:58 am

Hi Startz

Thanks for your answer. So how can I calculate it then? I looked online and textbooks, but was unsuccessful in finding an answer. Any references?

Best
s

startz
Non-normality and collinearity are NOT problems!
Posts: 3796
Joined: Wed Sep 17, 2008 2:25 pm

Re: Covariance matrix of coefficients with GARCH models

Postby startz » Mon Jul 06, 2015 6:26 am

I believe the GARCH variance is just the usual maximum likelihood variance estimator, but maybe one of the EViews folks or Trubador could chime in.

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: Covariance matrix of coefficients with GARCH models

Postby trubador » Mon Jul 06, 2015 1:19 pm

Startz is right. You can try the following and see it for yourself:

Code: Select all

'Create a workfile wfcreate u 1000 'Generate an exogenous series series x = nrnd 'Generate a y series that follows a GARCH-X(1,1) dynamic (use TSDGP add-in) tsdgp(meanconst="5",meanexog="2*x",varconst="1", arch = "0.08", garch="0.91") y 'Estimate the model equation eq.arch(backcast=1) y c x 'Save the gradients and store as a matrix eq.makegrads(n=grads) stom(grads,gradmat) 'Compute the covariance matrix (OPG) sym varcov=@inverse(@transpose(gradmat)*gradmat) 'Save the covariance matrix from the estimated equation for comparison sym eqcov = eq.@coefcov

strypste
Posts: 53
Joined: Tue Jan 24, 2012 8:54 am

Re: Covariance matrix of coefficients with GARCH models

Postby strypste » Mon Jul 06, 2015 2:43 pm

Brilliant! Thanks you so much for this. Very much appreciated!

Best
s


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests