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
How to plot a Kaplan-Meier Curve using multiple imputed data?Hello everyone, I am working on a project on maternal vaccination during pregnancy and acute respir…
Parametric survival analysisAs a result of survival analysis, the shape of the survival function graph analyzed by Kaplan-Meier …
Oddity (?) involving placement of (missing = ) in -recode-I've discovered, I believe, that if (missing = SomeValue) is included among the assignment rules for…
Heckman Correction Rho=1 and some other issuesDear Statalisters, I have several issues and questions concerning the use of the Heckman correction…
Combing Multiple VariablesHi, I am very new to Stata, so I apologize if this a basic question or has been answered elsewhere. …
Subscribe to:
Post Comments (Atom)
0 Response to cmissing(n) option not allowed with xtline overlay
Post a Comment