Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: var decomposition issues

From   Alban Pinz <>
Subject   st: var decomposition issues
Date   Sat, 10 Jul 2010 01:03:10 +0200

> Hi guys,
> I'm running univariate VARs for each cross-sectional unit in a panel
> dataset ie. [by x, sort : var x, lags(1/2)]. I then want to get
> predicted and residual variables for each regression, however I think
> whats happening is the program is taking the values from the very last
> regression and using them to predict values for the whole sample,
> which is screwing up my analysis of variance.
> How can I make stata use the estimates from each individual country
> VAR to give me a predicted value for ONLY that country? Preferably
> some way thats not going to take hours and hours to do. I have no idea
> about programming but I dont think it would be too hard, any help
> would be much appreciated!
> Many thanks!
*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index