Hi guys, i'm not very able to use stata. For my thesis, I have a panel data(1970-2017) for different countries and a lot of variables.
In this dataset, there is a dummy (dhairendH) that is equal to one in the years where a country end a debt restructuration.
i would like to graph 3 different dependents variables (it is better if they are overlapped) depending on the 7 years after the restructuration, like the image attached.
Of course i can create lags of this dummy, but how can I create a graph where, on the y we have the dependent variable and on the x axis ONLY the 7 years after the restructuration? (and not all the years i.e. 1970-2017). The image attached maybe could give you an idea.
PS
The name of the the dependent variables are gini_disp, gini_cons and ginipretax. Obviously, I have variables years and CountryName. The name of the dummy is dhairendH
Array
Related Posts with graph of a dependent variable in specific years (panel data)
specification error in panel dataHello, I am running a panel regression (xtreg) on an unbalanced dataset with large N, small T. I wa…
esttab different number formatting within same columnDear experts, I am currently exporting my stata table to Overleaf (LaTeX) using estpost and esttab.…
Panel Data :Cross-Sectional Dependence and Driscoll-Kraay robust errors.Greetings, I'm facing some doubts regarding the solution of Driscoll-Kraay to account for the standa…
Interpreting coefficients - change in minutes vs change in hoursHi I am new to Stata and conducting research using UKHLS panel data on effects of commuting time on…
Which types of analysis? (continuous DV ranging from 0 to 1)Hi, My dependent variable is score, continuous variable ranging from 0 to 1 (e.g., 0.1, 0.23, 0.34)…
Subscribe to:
Post Comments (Atom)
0 Response to graph of a dependent variable in specific years (panel data)
Post a Comment