Dear Statalist members,
I am using Stata 14. I have an unbalanced panel and I want to represent a variable in a single graph. It seems that cmissing(n) is not an allowed option with xtline overlay option. How can I superimpose line graphs of a variable and show the gaps in the data?
The most logical option would be to use twoway line, but in this case the legend reads the the variable name, while I would like it to read not the name of the plotted variable, but the name of the corresponding panel member.
I could do it manually from the graph editor, but how can I write the instructions in the do file?
How can I solve the issue?
Related Posts with cmissing(n) option not allowed with xtline overlay
PCA over the panel datasetI am a undergraduate student working on a econometrics research. The problem is here. I have gotta p…
EPU- Index(Economic Policy Uncertainty Index) and its transformationDear all In one of my study, I am using, Economic Policy Uncertainty Index (epu) as my independent v…
Setting about putdocx 2 column layoutHi, everyone. I am making an automation converting tool from excel text article to word file with p…
wrapping up using foreach vHi using the below loop, I could nicely generate a maximum value of my variables of interest. I was …
How to include different numbers of variables in a loop function of regressionI am running logistic regressions storing each of the estimates in order to run multiple likelihood-…
Subscribe to:
Post Comments (Atom)
0 Response to cmissing(n) option not allowed with xtline overlay
Post a Comment