Likelihood with Time-Varying Variances

Use this forum to post questions about syntax problems or general programming issues. Questions on implementing a particular aspect of econometrics should go in "Econometrics Issues" below.

Likelihood with Time-Varying Variances

Postby luching » Wed Oct 13, 2010 3:11 pm

I have VAR with stochastic volatility of the form

Y_t=X_t*beta + u_t; where V(u_t)=Sigma_t

Is there an inbuilt way to compute the following likelihood?

L(Y^T|beta,Sigma^T);

where Sigma^T is the entire history of Sigma's. Say, Sigma_t is multivariate normal.
luching
 
Posts: 31
Joined: Mon Jun 07, 2010 4:05 pm

Re: Likelihood?

Postby TomDoan » Thu Oct 14, 2010 9:43 am

Something like:

sstats start end %logdensity(sigma(t),u(t))>>logl

That would have SIGMA as a SERIES[SYMM] and U as a SERIES[VECT]. If it's more convenient to organize the residuals as a VECT[SERIES], you would do

sstats start end %logdensity(sigma(t),%xt(u,t))>>logl
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm


Return to Help With Programming

Who is online

Users browsing this forum: No registered users and 1 guest