CVmodel

Questions and discussions on Vector Autoregressions
MC128
Posts: 33
Joined: Tue Jun 16, 2009 5:55 am

CVmodel

Unread post by MC128 »

Hi Tom,

With the standard A*u_t = B*e_t and E(e_t*e_t') = D; D diagonal,

after estimating this model by the command cvmodel, how can we access the elements of the matrix D?

Many thanks!

MC
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: CVmodel

Unread post by TomDoan »

This will do it:

Code: Select all

compute ab=inv(bfrml(1))*afrml(1)
compute d  =%mqformdiag(%sigma,tr(ab))
It will produce a vector with the diagonal elements.
Post Reply