Dear all,
I have 2 variables x and y. y is the dependent variable.
I found that they are cointegrated. So I need to define the Error correction model (ECM).
So I run the simples ECM
reg d.y l.resid_1 d.x
But I find that the residuals from this regression are correlated. How can I eliminate serial residual correlation? I know that I have to add lags of d.y and d.x to the ECM, but is there any stata procedure that that allows me to end up with a final augmented ECM?
Best,
John
Related Posts with Building Error Correction models
Bootstrapping timeHello I drew a SEM with SEM builder in STATA v.16. After that, I run Bootstrapping 5,000 but it too…
Loop to copy all filesHi, i tried to do a loop to copy all my databases in the same file but i've got a problem. So i wan…
Referring to dates using business calendarsDear Stata list, I am using time series data with a business calendar as I only look at trading dat…
How to specify variable labels for the x-axis in several linesHello I would like to specify the variable names in several lines of a graph, because they are very …
tobit with vce (cluster clustervar) or xttobitDear all, I'm working with a unbalanced panel data set with 208500 observations from 3371 firms in …
Subscribe to:
Post Comments (Atom)
0 Response to Building Error Correction models
Post a Comment