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)
All coefficients insignificantI am a bit of a beginner when it comes to stata, I am using the program to create a fixed effects mo…
Replicating xtabond2 results with xtdpdgmmHello, I am using the following two-step difference GMM model: Code: xtabond2 y l.y l.x1 l.x2 l.x3…
Removing variable completely changes regression outputHi all, I am investigating the impact of the degree of competitiveness of English football leagues …
xtsccI have 17 countries across 37 years. Can I use -xtscc depvar indepvars i.year, fe? Is it better to i…
Latent class analysis: marginal predicted probabilities vs marginal predicted posterior probabilities and estat vs predictI have a latent class model that I'm broadly happy with. I want to be able to say that x% of the sam…
Subscribe to:
Post Comments (Atom)
0 Response to graph of a dependent variable in specific years (panel data)
Post a Comment