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
Problem with Survey data analysis, non-response, selection bias, use of paradataHi Statalisters, Greetings from Inddi I am analysing a survey data and I am relatively new to this …
Merge Panel Data with multiple same year datasetHi All, I am trying to merge two datasets. One is a firm ID -year (panel master data). The other da…
Cross section Panel data for exam - elections across 23 countriesHi all. I appear to be in deep, so hoping anyone can help. Im doing an exam in quantative methods. …
Lee bounds with multiple treatment groupHi, I'm working with a dataset with high attrition rate and am considering using Lee bounds to esti…
Interpretation of a linear (percentage) - log regression modelTo provide context, I am running a fixed effects regression model, assessing the relationship betwee…
Subscribe to:
Post Comments (Atom)
0 Response to cmissing(n) option not allowed with xtline overlay
Post a Comment