Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: panel VAR


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: panel VAR
Date   Tue, 15 Nov 2005 19:09:48 -0500

Tang writes

Anybody has comments? I am a dummy at this stuff.
Thanks

> . webuse grunfeld
> . mvreg invest mvalue kstock = L(1/2).invest L(1/2).mvalue L (1/2).kstock
>
> Smells like a panel; VAR to me... remember that VAR is just regression on the
> same set of lagged regressors for each of the dependent variables. This
> implmentation imposes the constraints that the coefficients do not differ
> across panels, but isn't that what a panel VAR implies?


A VAR Is merely the regression of y1,y2,..yn on P lags of y1,y2,..,yn. Since each regression has the same regressors the estimation is efficiently performed by OLS on each equation. mvreg takes account of the fact that (X'X)^{-1} need only be computed once in this case. If y1,...yn are organized as a panel, then the VAR says that y1(i) is regressed on y1(i),y2(i),..yn(i) and so on for each i. That is what the command above is doing: OLS of invest, mvalue, kstock on two lags of each of those variables. That is a VAR on panel data as far as I understand it.

Kit

Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html


*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index