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
Balanced vs. Unbalanced Panel Data for pooled time series cross sectionDear Stata Community, I need to decide whether I want to use an unbalanced or a balanced panel data…
Can we apply mswitch command when the time series data is stores in a panel format? Hi... Hello, I use Stata 15. I have a panel dataset. I want to estimate for each id/country. The…
AIC and BIC what is a low value ?A reviewer of my paper ask me the following question . The paper is about a model to predict complic…
Average of sales of x's which have average K/R ratioDear All, I am trying to calculate the average value of sales of firms which have their Capital/Rev…
quadratic growth model in gsem: estimation problemsI am trying to estimate a quadratic growth model using gsem, and am encountering convergence difficu…
Subscribe to:
Post Comments (Atom)
0 Response to cmissing(n) option not allowed with xtline overlay
Post a Comment